開放街圖標誌 OpenStreetMap 開放街圖

Here is my blog post :
http://fmtyewtk.blogspot.com/2009/09/checked-in-first-version-of-gjakova.html

http://fmtyewtk.blogspot.com/2009/09/jmsolerfreefr-pyimportkml-kmzen-is-back.html
The server is back online

http://fmtyewtk.blogspot.com/2009/09/get-plugin-kmzimportwithmeshz019kpy.html
get the plugin script here:
wget http://jmsoler.free.fr/util/blenderfile/py/kmz_ImportWithMesh_Z019k.py

http://fmtyewtk.blogspot.com/2009/09/copy-plug-in-to-blenderscripts.html
Just put the plugin here :
/home/mdupont/.blender/scripts/kmz_ImportWithMesh_Z019k.py

Convert the osm to kml
gpsbabel -i osm -f gjakova.osm -o kml -F gjakova.kml

Import into blender,
note : you have to tell it the number of edges to import, how stupid.
See the number 198, well just double click on it and add them in.

There you are!

see the screenshots here.
http://fmtyewtk.blogspot.com/2009/09/screenshots.html

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

datalogg2009年09月27日 15時14分 發表的評論

Cool! What's the primary application at the moment? Automatic generation of terrain?

Things could get really interesting if you could export from Blender to OSM. Imagine being able to use Blender's complex spline editing tools. Or being able to draw a Bezier curve to describe a smooth road, then convert to straight segments, and then convert back to OSM. Come to think of it, perhaps it could be possible to integrate a large part of JOSM's functionality into Blender as a plugin? After all, Blender solves a lot of the same problems...

h4ck3rm1k32009年09月27日 17時30分 發表的評論

My original goal is an old idea I had to make openarena/quake games with my home town street.

We could make a movie with the changes as they happen.
We could replace josm with blender and python.
We could add in a later for inkscape.
we could render photorealistic maps.

I have moved the code http://bazaar.launchpad.net/%7Ekosova/%2Bjunk/openstreetmapkosova/annotate/head%3A/kmz_ImportWithMesh.py?sort=date
into bazzar to get rid of the frankophone names so I can start to understand it.

Hopefullly when I have reversed engineered this code we can start integrating the python plugins into blender.

with blender you can create movies etc.

!i!2009年11月15日 19時40分 發表的評論

Nice work! How about 3D Buildings/SRTM heights similar to www.osm-3d.org?

!i!2010年08月17日 17時50分 發表的評論

Hi Mike, you still working on the blender thing? Well Jerome from the BlendedCities Blender City generator engine plays around with it and might need some help :)
http://forum.openstreetmap.org/viewtopic.php?id=8778

登入 來留下評論