kartaview / upload-scripts

Uploader tools for KartaView
MIT License
59 stars 30 forks source link

360 Panoramic Viewer on OpenStreetMap iD Editor #120

Open valeriodeluca opened 2 years ago

valeriodeluca commented 2 years ago

Thanks to the updates of @salabogdan I can upload 360 photos to KV very well by Python, creating EXIFs from custom geojson:

Sample KV metadata file to generate of Exif info #117 https://github.com/kartaview/upload-scripts/issues/117

In KV I can dynamically and interactively see each 360 photo of the sequence: https://kartaview.org/details/3936361/0/track-info

I can also see the sequence in OpenStreetMap's iD Editor, but in the photo viewer I only see the plan photo mode: https://github.com/openstreetmap/iD

360 photos on OpenStreetMap iD Editor: 360_Panoramic_Viewer_in_OpenStreetMap_iD_Editor https://www.openstreetmap.org/edit?editor=id#map=19/41.91031/12.50307

Wonder if there is a way to view the KartaView viewer in interactive 360 degree panoramic mode with the angle pointer dynamically moving with the 360 photo in OpenStreetMap iD Editor, very usefull for mapping in OSM with own 360 photos.

I have seen that some Mapillary 360 photo sequences are displayed interactively on the OpenStreetMap iD Editor.

Thanks a lot

salabogdan commented 2 years ago

@valeriodeluca this is nice but it seems to be a feature of the iD plugin. I checked and it seams that there is a bug in the API that OpenStreetMap iD Editor is using to get the images. More precisely the "heading" = null and is returned as "headers"