Using rhino.python, a script has been written, that imports a static map from OpenStreetMap as background bitmap to Rhino, based on an address and zoom level entered by the user. In a first step, the geographical location of the address is identified using the Nominatim API. The location coordinates are used as input parameter for the MapOf service. Finally, the map image obtained from the web service is placed as background bitmap, in the right scale according to the zoom level.

Additionally, an appropriate EarthAnchorPoint is set based on the geographical location and scale. This allows for the export of geometry in relation to the imported static map to Google Earth using the KML format. The units of the Rhino file are automatically changed to meters, in order to obtain the right scale of the map.

Download the script here.
11 comments:
Hello, i am getting this error when i try to search for a locations within rhino
"http://osm-tah-cache.firefishy.com produced an error"
what might i be doing wrong?
Sometimes the tiles-server is not responding. Just try it later. If it is still not working, let me know.
Looks interesting, I added you on
http://wiki.openstreetmap.org/wiki/3D_Development
Feel free to join the 3D team :)
really nice work!
I think would be cool, be able to import directly the vector map (eps/or pdf) into Rhino from openstreemap.
I am already working on it ... :-)
great!
Unable to download the file.
Hello, Thank you for your tutorial.
Can you please upload the script to Dropbox, Google Drive or others? The attachment link was expired.
Thank you.
I would strongly love to recommend the services of the best team of dark web hackers. They are professional and very discreet in carrying out their jobs, they have the best customer service agents and satisfaction at heart. If you have any services you wish to contact them for, go on (contact@wizardcharlesgrouphackers.com) WhatsApp +1 (519) 398-1460, They help track and monitor your cheating partner's phone without his idea, clear or erase criminal records as well as repair a bad credit score, all social media hacks, Recovery Funds / Cryptocurrency / Binary / Forex / Recovery of Stolen Bitcoin and many others. website : https://wizardcharlesgrouphackers.com/.n/
Congratulations, Donation Benefits Giveaways
I am Mrs. Christina Ong, a Singaporean businesswoman and Europe, Asia investor a owner of the Como Group, 25% of my personal wealth is spent on charity work around the world. I also promised the remaining 25% to private individuals this year. I have decided to donate 1,500,000 Euros to you. This is part of my promises to the charity project this year. If you are interested in my donation, contact me for more information.
Let’s spread some positivity. We truly believe that small acts of kindness can create big waves of change. Your participation, in any form, helps build a stronger, more compassionate community. We are here, we care, and we’re ready to help. With respect and encouragement.
You can also read more about me using the link below
https://en.wikipedia.org/wiki/Christina_Ong
Greetings
Christina Ong
With respect and encouragement. Kindly write to my official Email: contact@christinaong.org christinaong723@gmail.com
Managing Director Christina Ong Family Foundation Group Organizations (NGO)
Post a Comment