Skip to content

OpenStreetMap Georeferencing

Vladimir Elistratov edited this page Nov 13, 2016 · 1 revision

Introduction

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.

Installation

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

Preparation

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.

Usage

  • 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.

Clone this wiki locally