Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
411 views
in Technique[技术] by (71.8m points)

python - Bing Maps API BirdsEye Off Centre

I have recently been looking at using Bing Maps API to return images of properties and was very interested in the oblique imagery provided by Bing.

It seems that the API does offer this imagery and there are examples of this working. However, when I go to implement it myself, I find that the birdseye view does not return the building of interest. It returns a view off centre of the point put into the url.

An example of this is the place below, which shows the URL for looking at the Leadenhall building in City of London:

aerial_url = http://dev.virtualearth.net/REST/V1/Imagery/Map/Aerial/51.5138,-0.0821/18?&key={api_key}

birdseye_url = http://dev.virtualearth.net/REST/V1/Imagery/Map/BirdsEyeV2/51.5138,-0.0821/18?&key={api_key}

You will notice that the build is top right of the second image, rather than centre as in the first image.

Is anyone able to help me resolve this, as ideally I would want it to be centre of the image?

Thanks

question from:https://stackoverflow.com/questions/66063665/bing-maps-api-birdseye-off-centre

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I took a look at it, and it looks to be centered correctly. It's hard to tell comparing at the same zoom level. Setting the aerial image to zoom level 17 helps provide a better overview so you can better match the images. Note that the coordinates are based on the ground, not building heights. Aerial images are captured looking straight down while birdseye are captured at approximately 45 degree angle.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...