OpenStreetMap import: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Use a table for the models)
m (Number of objects)
Line 11: Line 11:
! Tag
! Tag
! Model
! Model
! Number of objects
|-
|-
! Chimneys
! Chimneys
Line 16: Line 17:
* <tt>man_made=chimney</tt>
* <tt>man_made=chimney</tt>
| Models/Industrial/generic_chimney_01.xml
| Models/Industrial/generic_chimney_01.xml
| 6,486
|-
|-
! Lighthouse
! Lighthouse
Line 21: Line 23:
* <tt>man_made=lighthouse</tt>
* <tt>man_made=lighthouse</tt>
| Models/Misc/generic-lighthouse.xml
| Models/Misc/generic-lighthouse.xml
| 5,148
|-
|-
! Power pylons
! Power pylons
Line 26: Line 29:
* <tt>power=tower</tt>
* <tt>power=tower</tt>
| Models/Power/generic_pylon_*.ac
| Models/Power/generic_pylon_*.ac
| 2,760,804
|-
|-
! Water towers
! Water towers
Line 31: Line 35:
* <tt>man_made=water_tower</tt>
* <tt>man_made=water_tower</tt>
| Models/Industrial/water-tower.ac
| Models/Industrial/water-tower.ac
| 17,132
|-
|-
! rowspan="2" | Windturbines
! rowspan="2" | Windturbines
Line 37: Line 42:
*<tt>power_source=wind</tt>
*<tt>power_source=wind</tt>
| Models/Power/windturbine.xml
| Models/Power/windturbine.xml
| 79,636
|-
|-
|
|
*<tt>manufacturer=Vestas</tt>
*<tt>manufacturer=Vestas</tt>
*<tt>manufacturer:type=V80-2.0</tt>
*<tt>manufacturer:type=V 80</tt>
| Models/Power/vestas-v80-sea.xml
| Models/Power/vestas-v80-sea.xml
| 39
|}
|}
http://taginfo.openstreetmap.org/keys/ lists all tags.


== Questions/problems ==
== Questions/problems ==

Revision as of 16:49, 30 August 2012

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

This table lists models from the FlightGear scenery database, together with a corresponding OSM tag.

Tag Model Number of objects
Chimneys
  • man_made=chimney
Models/Industrial/generic_chimney_01.xml 6,486
Lighthouse
  • man_made=lighthouse
Models/Misc/generic-lighthouse.xml 5,148
Power pylons
  • power=tower
Models/Power/generic_pylon_*.ac 2,760,804
Water towers
  • man_made=water_tower
Models/Industrial/water-tower.ac 17,132
Windturbines
  • generator:source=wind
  • power_source=wind
Models/Power/windturbine.xml 79,636
  • manufacturer=Vestas
  • manufacturer:type=V 80
Models/Power/vestas-v80-sea.xml 39

http://taginfo.openstreetmap.org/keys/ lists all tags.

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