Street view google map URL and coordinate request

I am currently converting some simple Google Map Street View links into URL requests for static street images. Most conversions work, with the exception of a few odd instances, which I'm struggling to explain.

First, in normal mode, I get access to Google Maps as a regular user and find a position on the road in London. I want to see the London Wall called, and I point up and east. This is the resulting link: (please test it and you will see a prominent building called Winchester House with a smooth curved appearance in the Street View flash used by Google consumers):

http://maps.google.com/maps?q=Winchester+House,+London+Wall,+London,+United+Kingdom&hl=en&ll=51.516287,-0.083299&spn=0.007838,0.018196&sll=51.522309,-0.080509&sspn= 0.06227,0.145569 & oq = winchester + house, + london + wall & hq = Winchester + House, & hnear = Wall, + 1 + Denbigh + Rd, + London + W11 + 2SJ, + United + Kingdom & t = m & z = 16 & layer = c & cbll = 51.516305, - 0.083422 & panoid = U6g4EoZt5cM4e2WFiDLoxA & cbp = 12,268.2,, 0, -16.66

Secondly, if I take the same coordinates from the link above to get a static street photo using the following URL request, I get a different result:

http://maps.googleapis.com/maps/api/streetview?size=800x600&location=51.516305,%20-0.083422&fov=110&heading=268.2&pitch=16.66&sensor=false

This second view still looks west along the wall of London, but the Static Street View photo is set at about 50+ meters in the wrong global coordinate (please try the link above and you will see that the footbridge is opposite the Winchesterโ€™s house, which lies in the distance).

This is confusing when both of the above URLs use the same global coordinates. (I refer to the same coordinates for many other different links, and both URLs usually show the same kind).

I would be grateful for the help in this and understand if anyone had similar problems or inconsistencies with different Google coordinates.

Many thanks

Mike

+4
source share

All Articles