wiki:osm_3d_data
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:osm_3d_data [2017/11/26 14:14] – created felix_hardmood_beck | wiki:osm_3d_data [2024/06/28 19:11] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How to Extract 3D Models from OpenStreetMaps? | ||
+ | |||
+ | Sometimes it is necessary and useful to extract 3D models such as building from Google Earth, Google Maps, or even better: OpenStreetMaps. It is possible to draw buildings manually, but it will take a lot of time, especially if you are trying to model a part of a city which have an excessive number of buildings. So, with the help a few simple tools, you can save a lot of time while getting satisfying and neat results. | ||
+ | |||
+ | However, Google' | ||
+ | |||
+ | Here are the three easy steps: | ||
+ | |||
+ | ===== 1) Export a .map file from OpenStreetMap ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | For this example, I will focus on the city of São Paulo in Brazil. You can focus on the desired area by using the search bar or moving manually around the map, like in Google Earth/Maps: | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | After you are focused on the desired area, just click the green " | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | Then click on the blue " | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | ===== 2) Convert the OpenStreetMap .map file to an OBJ model with OSM2World ===== | ||
+ | |||
+ | OSM2World is a free Java program for converting OpenStreetMap data into 3D models. | ||
+ | |||
+ | After exporting the .map file from [[http:// | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | You should run " | ||
+ | |||
+ | If you succeed to run the program, you will a black screen like this: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Open the .map file in the OSM2World software with File > Open and you will see the 3D model in the program. You can zoom in/out and play with it in the OSM2World software: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Finally, export the whole 3D design from the program via File > Export OBJ File | ||
+ | |||
+ | ===== 3) Import the OBJ model into your favorite 3D modeling application and delete extraneous geometry ===== | ||
+ | |||
+ | Open your favorite 3D modeling application and import the OBJ file and that's it! | ||
+ | |||
+ | Autodesk Fusion 360 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Or Adobe Photoshop | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Or any other application you like! | ||
+ | |||
+ | After importing the OBJ file into the 3D modeling application and cleaning the unnecessary geometry, you can 3D print the city, create an animation based on the city model, or do anything that involves in the 3D city model. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | //**Note: **// For this tutorial, please make sure that your computer (yes, you need to be using a computer instead of a smartphone, tablet, etc.) have Java Runtime Environment in version 1.6 or higher. It is necessary to run the OSM2World software. | ||
+ | |||
+ | If your computer doesn' | ||
+ | |||
+ | For Windows: [[https:// | ||
+ | |||
+ | For Mac: [[https:// | ||
+ | |||
+ | For Linux: [[https:// | ||
+ | |||
+ | Original source for the tutorial: [[https:// | ||