User:AlexPleiner

From OpenStreetMap Wiki
Jump to navigation Jump to search

Mapping Areas

I support the license
upgrade to ODbL v 1.0

ODbL-Supporter.png

TUD Gebäudenummern

AlexPleiner-tud.png

I guess the best approach for mapping building numbers is to use the ref=*-attribute with building=yes and area=yes. To display building numbers in mapnik i added to osm.xml

<Style name="area-text">
  [-- skip --]
  <Rule>
    <Filter>[building] = 'yes' or [area] = 'yes'</Filter>
    <MaxScaleDenominator>25000</MaxScaleDenominator>
    <TextSymbolizer name="ref" face_name="DejaVu Sans Book" size="8" fill="#000033" dy="-12" 
           halo_radius="2" wrap_width="12" halo_fill="#d1ffb6" min_distance="0"/>
  </Rule>
</Style>
<Style name="text">
  [-- skip --]
  <Rule>
    <Filter>[amenity] = 'school' or [amenity] = 'college' or [amenity] = 'university'</Filter>
    <MaxScaleDenominator>25000</MaxScaleDenominator>
    <TextSymbolizer name="ref" face_name="DejaVu Sans Book" size="8" fill="#000033" dy="-12" 
           halo_radius="2" wrap_width="12" halo_fill="#d1ffb6" min_distance="0"/>
  </Rule>
</Style>

JOSM Tagging Presets

power-presets.xml for power=*

<presets>
 <group name="Power" icon="presets/power.png">
   <item name="Tower" icon="presets/power_tower.png" type="node">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dtower" />
     <label text="Edit Tower" />
     <space />
     <text key="ref" text="Ref" />
     <text key="operator" text="Operator" />
     <key key="power" value="tower" />
   </item>
   <item name="Pole" icon="presets/power_tower.png" type="node">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dpole" />
     <label text="Edit Pole" />
     <space />
     <text key="ref" text="Ref" />
     <text key="operator" text="Operator" />
     <key key="power" value="pole" />
   </item>
   <item name="Line" icon="presets/power.png" type="way">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dline" />
     <label text="Edit Line" />
     <space />
     <text key="voltage" text="Voltage" />
     <text key="operator" text="Operator" />
     <text key="cables" text="Cables" />
     <combo key="wires" text="Wires" 
       values="single,double,triple,quad" 
       delete_if_empty="true" />
     <key key="power" value="line" />
   </item>
   <item name="Minor Line" icon="presets/power.png" type="way">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dminor_line" />
     <label text="Edit Minor Line" />
     <space />
     <text key="voltage" text="Voltage" />
     <text key="operator" text="Operator" />
     <text key="cables" text="Cables" />
     <combo key="wires" text="Wires" 
       values="single,double,triple,quad" 
       delete_if_empty="true" />
     <key key="power" value="minor_line" />
   </item>
   <item name="Station" icon="presets/power.png" type="node,closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dstation" />
     <label text="Edit Station" />
     <space />
     <text key="ref" text="Ref" />
     <text key="operator" text="Operator" />
     <key key="power" value="station" />
   </item>
   <item name="Sub-Station" icon="presets/power.png" type="node,closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dsub_station" />
     <label text="Edit Sub-Station" />
     <space />
     <text key="ref" text="Ref" />
     <text key="operator" text="Operator" />
     <key key="power" value="sub_station" />
   </item>
   <item name="Generator" icon="presets/works.png" type="node,closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:power%3Dgenerator" />
     <label text="Edit Generator" />
     <space />
     <text key="name" text="Name" />
     <combo key="power_source" text="Power Source" 
       values="biofuel,oil,coal,gas,waste,hydro,tidal,wave,geothermal,nuclear,fusion,wind,photovoltaic,solar-thermal" 
       delete_if_empty="true" />
     <text key="operator" text="Operator" />
     <key key="power" value="generator" />
   </item>
 </group>
</presets>

aeroway-presets.xml for aeroway=*

<presets>
 <group name="Aeroway" icon="presets/plane.png">
   <item name="Aerodrome/Airport" icon="presets/plane.png" type="node,closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome" />
     <label text="Edit Aerodrome" />
     <space />
     <text key="name" text="Name" />
     <text key="iata" text="IATA" />
     <text key="icao" text="ICAO" />
     <key key="aeroway" value="aerodrome" />
   </item>
   <item name="Terminal" icon="styles/standard/transport/airport/terminal.png" type="node,closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Dterminal" />
     <label text="Edit Terminal" />
     <space />
     <text key="name" text="Name" />
     <text key="ref" text="Ref" />
     <check key="building" text="Building" default="off" />
     <key key="aeroway" value="terminal" />
   </item>
   <item name="Helipad" icon="styles/standard/transport/airport/helipad.png" type="node,closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Dhelipad" />
     <label text="Edit Helipad" />
     <space />
     <text key="name" text="Name" />
     <text key="ref" text="Ref" />
     <key key="aeroway" value="helipad" />
   </item>
   <item name="Runway" type="way">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Drunway" />
     <label text="Edit Runway" />
     <space />
     <text key="name" text="Name" />
     <text key="ref" text="Ref" />
     <key key="aeroway" value="runway" />
   </item>
   <item name="Taxiway" type="way">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Dtaxiway" />
     <label text="Edit Taxiway" />
     <space />
     <text key="name" text="Name" />
     <text key="ref" text="Ref" />
     <key key="aeroway" value="taxiway" />
   </item>
   <item name="Apron" type="closedway">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Dapron" />
     <key key="aeroway" value="apron" />
   </item>
   <item name="Gate" type="node">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Dgate" />
     <label text="Edit Gate" />
     <space />
     <text key="ref" text="Ref" />
     <key key="aeroway" value="gate" />
   </item>
   <item name="Windsock" type="node">
     <link href="http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Dwindsock" />
     <key key="aeroway" value="windsock" />
   </item>
 </group>
</presets>

See TaggingPrests in JOSM-Wiki

Hardware

  • Garmin Edge 605 (since Aug 2008)
  • Blumax Bluetooth GPS 4044 (since Aug 2009)

Contact

  • email: alex-osm (at) zeitform.de