OpenStreetMap import

From FlightGear wiki
Revision as of 12:05, 30 August 2012 by Gijs (talk | contribs) (Created page with "{{WIP}} With the upcoming license change, we'll be able to use OpenStreetMap data in the official FlightGear scenery. Some of the most interesting things to '''im...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

With the upcoming license change, we'll be able to use OpenStreetMap data in the official FlightGear scenery. Some of the most interesting things to import from OpenStreetMap are shared objects (generic models like windturbines, power lines, water towers).

This article lists open questions, ideas and planes related to the import process.

Object types

Power pylons

Tagged with:

Tag Model
  • power=tower
Models/Power/generic_pylon_*.ac

Windturbines

Tagged with:

Tag Model
  • generator:source=wind
  • power_source=wind
Models/Power/windturbine.xml
  • generator:source=wind
  • manufacturer=Vestas
  • manufacturer:type=V80-2.0
Models/Power/vestas-v80-sea.xml

Questions/problems

  • Should we remove shared objects that are currently in the database, if they are not present in OpenStreetMap?
  • In order to prevent us from adding duplicates, a certain radius around the (OSM) object location should be checked for the presence of objects. What would be a good radius?

Import process

  1. ...
  2. Check for duplicates.
  3. ...
  4. Run pylon-headings.pl to properly allign power pylons with their cables.
  5. ...
  6. Push to object database