OpenStreetMap import: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(→‎Object types: Antennas added, those are important landmarks!)
(Add gasometer and winmill, total number of objects)
Line 1: Line 1:
{{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 '''import from OpenStreetMap''' are shared objects (generic models like windturbines, power lines, water towers).  
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).  


Line 18: Line 16:
* <tt>man_made=antenna</tt>
* <tt>man_made=antenna</tt>
| Models/Communications/radio-*.xml
| Models/Communications/radio-*.xml
|
| align="right" |  
36,126<br/>
36,126<br/>
946
946
Line 25: Line 23:
* <tt>man_made=communications_tower</tt>
* <tt>man_made=communications_tower</tt>
| Models/Communications/fernmeldeturm_gruenwettersbach.xml
| Models/Communications/fernmeldeturm_gruenwettersbach.xml
| 1 584
| align="right" | 1 584
|-
|-
! Chimneys
! Chimneys
Line 31: Line 29:
* <tt>man_made=chimney</tt>
* <tt>man_made=chimney</tt>
| Models/Industrial/generic_chimney_01.xml
| Models/Industrial/generic_chimney_01.xml
| 6,486
| align="right" | 6,486
|-
|-
! Cooling towers
! Cooling towers
Line 37: Line 35:
* <tt>man_made=cooling_tower</tt>
* <tt>man_made=cooling_tower</tt>
| Models/Power/coolingtower.xml
| Models/Power/coolingtower.xml
| 251
| align="right" | 251
|-
|-
! Lighthouse
! Lighthouse
Line 43: Line 41:
* <tt>man_made=lighthouse</tt>
* <tt>man_made=lighthouse</tt>
| Models/Misc/generic-lighthouse.xml
| Models/Misc/generic-lighthouse.xml
| 5,148
| align="right" | 5,148
|-
|-
! Obelisks
! Obelisks
Line 49: Line 47:
* <tt>man_made=obelisk</tt>
* <tt>man_made=obelisk</tt>
| Models/Misc/generic_monument_01.ac
| Models/Misc/generic_monument_01.ac
| 57
| align="right" | 57
|-
|-
! Power pylons
! Power pylons
Line 55: Line 53:
* <tt>power=tower</tt>
* <tt>power=tower</tt>
| Models/Power/generic_pylon_*.ac
| Models/Power/generic_pylon_*.ac
| 2,760,804
| align="right" | 2,760,804
|-
|-
! Tanks
! rowspan="2" | Tanks
|  
|  
* <tt>man_made=fuel_storage_tank</tt>
* <tt>man_made=fuel_storage_tank</tt>
Line 63: Line 61:
* <tt>man_made=tank</tt>
* <tt>man_made=tank</tt>
| Models/Industrial/GenericStorageTank*m.xml
| Models/Industrial/GenericStorageTank*m.xml
| 46,993
| align="right" | 46,993
|-
|
* <tt>man_made=gasometer</tt>
| Models/Industrial/Gasometer.xml
| align="right" | 4,423
|-
|-
! Survey points
! Survey points
Line 69: Line 72:
* <tt>man_made=survey_point</tt>
* <tt>man_made=survey_point</tt>
| Models/Misc/trigpoint.xml
| Models/Misc/trigpoint.xml
| 271,676
| align="right" | 271,676
|-
|-
! Water towers
! Water towers
Line 75: Line 78:
* <tt>man_made=water_tower</tt>
* <tt>man_made=water_tower</tt>
| Models/Industrial/water-tower.ac
| Models/Industrial/water-tower.ac
| 17,132
| align="right" | 17,132
|-
|-
! rowspan="2" | Windturbines
! rowspan="3" | Windturbines
|
|
*<tt>generator:source=wind</tt>
*<tt>generator:source=wind</tt>
*<tt>power_source=wind</tt>
*<tt>power_source=wind</tt>
| Models/Power/windturbine.xml
| Models/Power/windturbine.xml
| 79,636
| align="right" | 79,636
|-
|-
|
|
Line 88: Line 91:
*<tt>manufacturer:type=V 80</tt>
*<tt>manufacturer:type=V 80</tt>
| Models/Power/vestas-v80-sea.xml
| Models/Power/vestas-v80-sea.xml
| 39
| align="right" | 39
|-
|
* <tt>man_made=windmill</tt>
| -
| align="right" | 3,928
|-
! colspan="3" align="right" | Total
| align="right" | 3,233,645
|}
|}



Revision as of 12:42, 8 September 2012

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
Antennas
  • tower:type=communication
  • man_made=antenna
Models/Communications/radio-*.xml

36,126
946

  • man_made=communications_tower
Models/Communications/fernmeldeturm_gruenwettersbach.xml 1 584
Chimneys
  • man_made=chimney
Models/Industrial/generic_chimney_01.xml 6,486
Cooling towers
  • man_made=cooling_tower
Models/Power/coolingtower.xml 251
Lighthouse
  • man_made=lighthouse
Models/Misc/generic-lighthouse.xml 5,148
Obelisks
  • man_made=obelisk
Models/Misc/generic_monument_01.ac 57
Power pylons
  • power=tower
Models/Power/generic_pylon_*.ac 2,760,804
Tanks
  • man_made=fuel_storage_tank
  • man_made=storage_tank
  • man_made=tank
Models/Industrial/GenericStorageTank*m.xml 46,993
  • man_made=gasometer
Models/Industrial/Gasometer.xml 4,423
Survey points
  • man_made=survey_point
Models/Misc/trigpoint.xml 271,676
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
  • man_made=windmill
- 3,928
Total 3,233,645

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