It’s been a while since I wrote here on DG, but I’ve been busy writing on my own blog in Swedish. However, now it’s time to reveal something I’m pretty pleased with, that you maby can use as well.
I won’t go into to much detail, but to make a long story short, I have not been able to find a solution (free and simple to use) that lets me extract geographic locations from panoramas, even though the theory is quite simple. Now I got tired of waiting and gave it a try myself.
For more on the background you can try to read my posts on my blog (google translated article).
Create the panoramas
This can be done in a lot of ways. In my demo I’ve used Microsoft Photosynth for iPhone. The panorama should be geo-tagged and it must be 360 degree. The edge must also be oriented to the north (very important!). You fix the edge orientation in a graphics program like Gimp by simply cutting and pasting the panorama so that the left (and right) edge is as close to north as you can.
The more accurate geo-tagging and “north orientation”, the better the result. Better panorama stitching will also help.
Using the application
To test it “live” you need to download two panoramas to use in the demo (links on the page). When you have the application in your own system you can use any panorama you like.
You simply open one panorama in each of the two top Leaflet containers. The application will sense EXIF GPS data and convert it to UTM, but you can enter coordinates manually. The top panorama will dictate which UTM zone that will be used.
The map will pan to the location of the first panoram automatically (if it is geo tagged).
When you click in the panoramas you will set a bearing for each of them. When you have two bearings a location will be calculated and shown on the map.
You can give it a name and then “Collect” it to a list and as a cross in the map.
You can then copy and paste your list to a csv file and use it in QGIS, or any other GIS.
You can change panoramas and continue to add objects to your list (and map), but if you refresh your page, you risk loosing your data.
Or watch the demo on YouTube (version 0.6):
The application uses:
I just updated to Version 0.7 and it is significant!
Get the free download from the “Live” link in the post.
– Code is smaller, faster, compressed
– You can measure in panoramas (with limitations)
– Included help file
– Easier to translate the GUI (especially to Swedish)
The 0.7 package is small and do not include demo panoramas. If you want to try it out you can get the demo panoramas at the site.