How to create a 360 degree panoramic image with Bing Streetside?

I've read the docs and can request street side images at a given lat/lon. I'm interested in creating a 360 degree panoramic image from four images with 90 degree field of view.

Here is the API that I'm using (with Python formatting):

https://dev.virtualearth.net/REST/V1/Imagery/Map/Streetside/{lat:.6f},{lon:.6f}?fov={fov}&heading={heading:.2f}&pitch={pitch:.2f}&mapsize={size},{size}&key={key}

Here is an example panoramic image: https://i.sstatic.net/rUlA7ypk.png

Notice the shearing going on between frames, and contrast this to what the tiles API produces: https://i.sstatic.net/AJsSt0J8.png

The two panoramic images are roughly aligned because I've used the heading metadata of this location to request the same "front" tile image, with 90 degree offsets for the remaining left, right, and back images.

I'm not interested in the tiles API because I want to be able to specify the returned image resolution, which the first API allows. However the shearing produced by the first API is unacceptable for my application.

Does anyone know whats going on, and how I can create a 360 degree panoramic image using the first API?

This is a cross-post of my StackOverflow question for more visibility:

|

Hello, Paullllllllllllllll.

Welcome to the Microsoft Community

Thanks for your feedback, I read your description of the problem in detail.

I noticed that you are a professional developer, and I wish I could solve your current problem, but your question is beyond the scope of a community response, so it is more appropriate to post it in Microsoft Learn, where you can ask a question by clicking on "Ask a question", and there are experts in the field who can provide more specialized insights. You can ask a question by clicking on "Ask a question", where there are experts in the field who can provide more specialized insights. Please click on the link below.

https://learn.microsoft.com/en-us/answers/ tags/273/windows-maps

We hope that your issue can be properly resolved in the right department, thank you for your understanding.

Best regards

Brian - Microsoft Community Support Specialist

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Paul,

Thank you for asking this question in the APIs & SDK sections of this forum. It is the exact right place to ask! We do not have Pano imagery so I do not believe what you want will be possible. Our streetside imagery is like a set of boxes that you step from one box into the next as described here: Getting Streetside Tiles from Imagery Metadata - Bing Maps | Microsoft Learn. You could probably do some fancy stitching to make it a cylinder instead of a box but we don't offer that experience, so we do not have data like that available.

Sincerely,

IoTGirl

Microsoft Maps Team Member

Without ME it's just "AWESO" - Barney Stinson

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks for confirming! I think that documentation could benefit from elaborating on how to increase the resolution of the tiles.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Paul,

I am not sure how resolution is relevant, but I can confirm that these are not collected at a very high resolution due to the coverage needed. If you need higher resolution, I would talk to a company like Vexcel Imaging.

Sincerely,

IoTGirl

Without ME it's just "AWESO" - Barney Stinson

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

The resolution was relevant in the question because the API https://dev.virtualearth.net/REST/V1/Imagery/Map/Streetside/ exposed a mapsize parameter which could control the resolution, and my application benefits from higher resolution images.

The tile API documentation/tutorial

https://learn.microsoft.com/en-us/bingmaps/articles/getting-streetside-tiles-from-imagery-metadata doesn't mention that cube faces are quadkey'd and you can fetch higher resolution cube faces by increasing the resolution of the key, e.g. 256, 512, 1024, etc., sized tiles, depending on the available zoom. Of course the larger cube faces would need to be stitched together from individual 256x256 tiles.

So I was going about this the wrong way, i.e. trying to use the API with the mapsize parameter to get higher resolution images to build a pano, because it was not clear the tile API allowed fetching higher resolution tiles.

Also, an important detail is that tile requests are not considered billable transactions. This is also not documented anywhere, as far as I can tell.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 9, 2024 Views 49 Applies to: