I have two sets of latitude / longitude coordinates.
The first is the coordinates of a one-way panorama. The second point of view. So in the picture.
I need the x / y coordinate of the second point to draw it in the picture. In javascript.
An example of an equiangular panorama and application (using coordinates and distance instead of Lat / Lon coordinates):
http://www.diy-streetview.org/data/development/20100121/streetview-playerA.html?streetview=small/001sm.jpg
Hint: Horizon is half the height of the image.
The camera was 2 meters above the ground.
Image direction is the middle of the image. Where is he "looking."
This is in the Netherlands, so a negative height is not a mistake. They are really below the waterline.
Scan the height of the camera and GPSAltitude when it will be difficult.
Bit data:
001sm.jpg
GPSLatitude: 51.802104
GPSLongitude: 3.929393
GPSAltitude: 1.100000
Image GPS direction = 260 degrees
002sm.jpg
GPSLatitude: 51.802082
GPSLongitude: 3.929200
GPSAltitude: -2.270000
GPS image direction = 265 degrees
003sm.jpg
GPSLatitude: 51.802082
GPSLongitude: 3.928986
GPSAltitude: -3.710000
GPS image direction = 275 degrees
004sm.jpg
GPSLatitude: 51.802104
GPSLongitude: 3.928771
GPSAltitude: -3.710000
GPS image direction = 270 degrees
,
Jan
janmartin AT diy-streetview DOT org