-
Notifications
You must be signed in to change notification settings - Fork 13
OpenStreetMap Georeferencing
The addon provides functionality to assign latitude, longitude and rotation angle to a Blender model, in other words to georeference the Blender model. This is achieved by moving and rotating the Blender model over OpenStreetMap data imported with the Import OpenStreetMap (.osm) addon.
Download the latest version of the addon osm_georeferencing.py and install it via the usual Blender way:
- File → User Preferences... → Addons → Install from File...
- Find the file in your file system and press Install from File... button
- Enable the addon by checking the Enable an addon
Install the Import OpenStreetMap (.osm) addon and read how to use it.
Place all Blender objects related to your model under a parent Blender object.
It is recommended to center your model around the origin of the Blender global coordinate system.
- Import a .osm file that covers the area relevant to your model
- Set the ortographic top camera view by pressing 7 and 5 keys on the numpad
- Select the top parent object for your model
- Press the Set original position button at the Georeferencing panel on the Tool shelf:
- Move and rotate the top parent object for your model over the imported OSM objects until the model is placed at the appropriate location.
- Press Perform georeferencing button at the Georeferencing panel on the Tool shelf:
The model is brought to the original position set by pressing the Set original position button.
Finally, the following custom properties are set for the active Blender scene:
- latitude and longitude, that correspond to the the origin of the Blender global coordinate system
- heading (rotation angle)
If you would like to move your model after georeferencing, you will need to perform georeferencing again.