SPLIT map_features.xml into a dozen sub-files, following Richard Fairhurst's suggesti...
authorSteve Bennett <stevagewp@gmail.com>
Sat, 5 Feb 2011 06:13:56 +0000 (06:13 +0000)
committerSteve Bennett <stevagewp@gmail.com>
Sat, 5 Feb 2011 06:13:56 +0000 (06:13 +0000)
13 files changed:
resources/map_features.xml
resources/map_features/amenities.xml [new file with mode: 0644]
resources/map_features/barriers.xml [new file with mode: 0644]
resources/map_features/buildings.xml [new file with mode: 0644]
resources/map_features/landuse.xml [new file with mode: 0644]
resources/map_features/paths.xml [new file with mode: 0644]
resources/map_features/places.xml [new file with mode: 0644]
resources/map_features/power.xml [new file with mode: 0644]
resources/map_features/roads.xml [new file with mode: 0644]
resources/map_features/shopping.xml [new file with mode: 0644]
resources/map_features/tourism.xml [new file with mode: 0644]
resources/map_features/transport.xml [new file with mode: 0644]
resources/map_features/water.xml [new file with mode: 0644]

index 42d2728..c9efc5e 100644 (file)
@@ -42,6 +42,11 @@ Quick documentation:
     @k: key
     @v: value
   icon: see above
+</input>
+
+<include
+  @file="map_features/roads.xml": external file to drop into place here. Include files behave exactly as if written out in full.
+/>
 -->
 
 <mapFeatures>
@@ -593,3266 +598,58 @@ Quick documentation:
     <input type="checkbox" presence="onTagMatch" category="Misc" description="Does this thing also represent one, solid building?" name="Building" key="building"/>
   </inputSet>
 
-  <!-- ************************************************************************
-       Roads
-       ************************************************************************ -->
-
-  <feature name="Motorway">
-    <category>roads</category>
-    <icon image="features/highway__motorway.png">
-      <font size="16pt"><b>${ref}</b></font><br/>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>
-
-    <line/>
-    <tag k="highway" v="motorway"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Motorway link">
-    <category>roads</category>
-    <icon image="features/highway__motorway_link.png"/>
-    <line/>
-    <tag k="highway" v="motorway_link"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Trunk road">
-    <category>roads</category>
-    <icon image="features/highway__trunk.png">
-      <font size="16pt"><b>${ref}</b></font><br/>
-      <font size="10pt">${name}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>
-
-    <line/>
-    <tag k="highway" v="trunk"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Trunk link">
-    <category>roads</category>
-    <icon image="features/highway__trunk_link.png"/>
-    <line/>
-    <tag k="highway" v="trunk_link"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Primary road">
-    <category>roads</category>
-    <icon image="features/highway__primary.png">
-      <font size="16pt"><b>${ref}</b></font><br/>
-      <font size="10pt">${name}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>
-
-    <line/>
-    <tag k="highway" v="primary"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Primary link">
-    <category>roads</category>
-    <icon image="features/highway__primary_link.png">
-      <font size="16pt"><b>${ref}</b></font><br/>
-      <font size="10pt">${name}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary_link</help>
-
-    <line/>
-    <tag k="highway" v="primary_link"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Secondary road">
-    <category>roads</category>
-    <icon image="features/highway__secondary.png">
-      <font size="16pt"><b>${ref}</b></font><br/>
-      <font size="10pt">${name}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>
-
-    <line/>
-    <tag k="highway" v="secondary"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Secondary link">
-    <category>roads</category>
-    <icon image="features/highway__secondary_link.png">
-      <font size="16pt">
-        <b>${ref}</b>
-      </font>
-      <br/>
-      <font size="10pt">${name}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary_link</help>
-
-    <line/>
-    <tag k="highway" v="secondary_link"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <feature name="Tertiary road">
-    <category>roads</category>
-    <icon image="features/highway__tertiary.png">
-      <font size="14pt"><b>${name}</b></font><br/>
-      <font size="10pt">${ref}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>
-
-    <line/>
-    <tag k="highway" v="tertiary"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Tertiary link">
-    <category>roads</category>
-    <icon image="features/highway__tertiary_link.png">
-      <font size="14pt"><b>${name}</b></font><br/>
-      <font size="10pt">${ref}</font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary_link</help>
-
-    <line/>
-    <tag k="highway" v="tertiary_link"/>
-
-    <inputSet ref="majorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Minor road">
-    <category>roads</category>
-    <icon image="features/highway__unclassified.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>
-
-    <line/>
-    <tag k="highway" v="unclassified"/>
-
-    <inputSet ref="minorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Residential road">
-    <category>roads</category>
-    <icon image="features/highway__residential.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-      <br/>
-      <font size="8pt">${postal_code}</font>
-      <br/>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>
-
-    <line/>
-    <tag k="highway" v="residential"/>
-
-    <inputSet ref="minorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Service road">
-    <category>roads</category>
-    <icon image="features/highway__service.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>
-    <description>
-      Access roads
-    </description>
-
-    <line/>
-    <tag k="highway" v="service"/>
-
-    <inputSet ref="minorRoad"/>
-    <input type="choice" presence="always" name="Type of service road" key="service" category="">
-      <choice value="alley" text="Alleyway/laneway"/>
-      <choice value="parking_aisle" text="Parking aisle" description="The path that cars drive on through a parking lot."/>
-      <choice value="driveway" text="Driveway"/>
-      <choice value="drive-through" text="Drive-through" description="For drive-through restaurants, bottle shops etc."/>
-      <choice value="emergency_access" text="Emergency access" description="For firefighters and other emergency services."/>
+  <inputSet id="powerCables">
+    <input type="choice" name="Cables" key="cables" presence="always" category="Power">
+      <choice value="2" text="2"/>
+      <choice value="3" text="3"/>
+      <choice value="4" text="4"/>
+      <choice value="6" text="6"/>
+      <choice value="8" text="8"/>
+      <choice value="10" text="10"/>
+      <choice value="12" text="12"/>
     </input>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Unknown road">
-    <category>roads</category>
-    <icon image="features/highway__unknown.png">
-      <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>
-    </icon>
-
-    <line/>
-    <tag k="highway" v="road"/>
-
-    <inputSet ref="minorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Living Street">
-    <category>roads</category>
-    <icon image="features/highway__living_street.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street</help>
-
-    <line/>
-    <tag k="highway" v="living_street"/>
-
-    <inputSet ref="minorRoad"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Track">
-    <category>roads</category>
-    <icon image="features/highway__track.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <line/>
-    <tag k="highway" v="track"/>
-
-    <inputSet ref="path"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Raceway/racing track">
-    <category>roads</category>
-    <category>sport</category>
-    <icon>
-      <font size="10pt">A purpose built track for racing motor vehicles.</font>
-    </icon>
-
-    <line/>
-    <area/>
-    <tag k="highway" v="raceway"/>
-
-    <inputSet ref="simpleName"/>
-    <inputSet ref="roadPhysical"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Sports track">
-    <category>roads</category>
-    <category>sport</category>
-    <icon>
-      <font size="10pt">A purpose built track for running, cycling, greyhound racing, horse racing.</font>
-    </icon>
-
-    <line/>
-    <area/>
-    <tag k="leisure" v="track"/>
-
-    <inputSet ref="simpleName"/>
-    <inputSet ref="roadPhysical"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-
-  <!-- ************************************************************************
-       Paths
-       ************************************************************************ -->
-
-  <feature name="Footpath">
-    <category>paths</category>
-    <icon image="features/paths__footway.png">
-      ${name} <i>${ref}</i>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dfootway</help>
-    <line/>
-    <tag k="highway" v="footway"/>
-    <inputSet ref="path"/>
-    <inputSet ref="common"/>
-    <inputset ref="naming"/>
-  </feature>
-
-  <feature name="Cycle path">
-    <category>paths</category>
-    <icon image="features/paths__bike.png">
-      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dcycleway</help>
-    <line/>
-    <tag k="highway" v="cycleway"/>
-    <inputSet ref="path"/>
-    <inputSet ref="common"/>
-    <inputset ref="naming"/>
-  </feature>
-
-  <feature name="Generic path">
-    <category>paths</category>
-    <icon >
-      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath</help>
-
-    <line/>
-    <tag k="highway" v="path"/>
-    <inputSet ref="path"/>
-    <inputSet ref="common"/>
-    <inputset ref="naming"/>
-  </feature>
-
-
-  <feature name="Pedestrian street">
-    <category>paths</category>
-    <icon image="features/paths__pedestrian.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <tag k="highway" v="pedestrian"/>
-    <!-- pedestrian roads can be lines or areas, with different tags -->
-    <!-- TODO - implement this! -->
-    <line>
-      <tag k="highway" v="pedestrian"/>
-    </line>
-    <area>
-      <tag k="highway" v="pedestrian"/>
-      <tag k="area" v="yes"/>
-    </area>
-    <inputSet ref="minorRoad"/>
-    <inputSet ref="common"/>
-    <inputset ref="naming"/>
-  </feature>
-
-  <feature name="Bridleway">
-    <category>paths</category>
-    <icon image="features/paths__bridleway.png">
-    </icon>
-
-    <line/>
-    <tag k="highway" v="bridleway"/>
-    <inputSet ref="path"/>
-    <inputSet ref="common"/>
-    <inputset ref="naming"/>
-  </feature>
-
-  <feature name="Steps">
-    <category>paths</category>
-    <icon image="features/paths__steps.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsteps</help>
-
-    <line/>
-    <tag k="highway" v="steps"/>
-    <inputSet ref="path"/>
-    <input type="freetext" presence="always" category="Naming" name="Number of steps" key="step_count" description="The number of steps in the way" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- ************************************************************************
-       Natural
-       ************************************************************************ -->
-
-  <feature name="Park">
-    <category>natural</category>
-    <category>sport</category>
-    <icon image="icons/natural_blank.png">
-      <b>${name}</b>
-      <br/>
-    </icon>
-
-    <area/>
-    <tag k="leisure" v="park"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Forest">
-    <category>natural</category>
-    <icon image="/features/pois/landuse_coniferous.n.24.png"/>
+    <input type="choice" name="Voltage" key="voltage" presence="always" category="Power">
+      <!-- choices based on http://osmdoc.com/en/tag/voltage/#values-->
+      <choice value="400" text="400 V"/>
+      <choice value="600" text="600 V"/>
+      <choice value="750" text="750 V"/>
+      <choice value="1500" text="1500 V"/>
+      <choice value="3000" text="3000 V"/>
+      <choice value="15000" text="15 kV"/>
+      <choice value="20000" text="20 kV"/>
+      <choice value="35000" text="35 kV"/>
+      <choice value="110000" text="110 kV"/>
+      <choice value="132000" text="132 kV"/>
+      <choice value="138000" text="238 kV"/>
+      <choice value="220000" text="220 kV"/>
+      <choice value="380000" text="380 kV"/>
+    </input>
+  </inputSet>
 
-    <area/>
-    <tag k="landuse" v="forest"/>
-    <inputSet ref="common"/>
-  </feature>
 
-  <feature name="Meadow">
-    <category>natural</category>
-    <icon image="icons/natural_blank.png"/>
+<!-- Features -->
 
-    <area/>
-    <tag k="landuse" v="meadow"/>
-    <inputSet ref="common"/>
-  </feature>
+  <include file="map_features/roads.xml" />     <!-- includes traffic calming, roundabouts, race track -->
+  <include file="map_features/paths.xml" />     <!-- includes steps, highway=pedestrian, bike/hike routes -->
+  <include file="map_features/water.xml" />     <!-- includes coastline -->
+  <include file="map_features/transport.xml" /> <!-- includes rail, trams, bus, airports, car rental, bike parking... -->
+  <include file="map_features/power.xml" />     <!-- includes power lines, pylons, stations -->
+  <include file="map_features/places.xml" />    <!-- includes boundaries (inc. NP) -->
+  <include file="map_features/tourism.xml" />   <!-- includes accommodation -->
+  <include file="map_features/barriers.xml" /> 
+  <include file="map_features/shopping.xml" />  <!-- no clear distinction between this, amenities and buildings -->
+  <include file="map_features/amenities.xml" /> <!-- includes cafe, bar... --> 
+  <include file="map_features/landuse.xml" />   <!-- includes outdoor leisure/sporting stuff, agriculture, natural. --> 
+  <include file="map_features/buildings.xml" /> <!-- a bit of a dumping ground, includes sports centre, shopping centre, hospital... --> 
 
 
   
-
-
-  <!-- ************************************************************************
-       Waterways
-       ************************************************************************ -->
-
-  <feature name="Stream">
-    <category>water</category>
-    <description>A very narrow river.</description>
-    <icon image="features/waterway__stream.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="waterway" v="stream"/>
-    <inputSet ref="waterways"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="River">
-    <category>water</category>
-    <icon image="features/waterway__river.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <line/>
-    <tag k="waterway" v="river"/>
-    <inputSet ref="waterways"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Canal">
-    <category>water</category>
-    <icon image="features/waterway__canal.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="waterway" v="canal"/>
-    <inputSet ref="waterways"/>
-    <inputSet ref="tunnel"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Drain">
-    <category>water</category>
-    <icon image="features/waterway__drain.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <line/>
-    <tag k="waterway" v="drain"/>
-    <inputSet ref="tunnel"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Dam">
-    <!-- Moved to "barrier" because this describes the dam wall, not the water. -->
-    <category>barrier</category>
-    <icon image="features/waterway__dam.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <area/>
-    <tag k="waterway" v="dam"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Riverbank">
-    <category>water</category>
-    <icon image="features/pois/water_generic.24.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <area/>
-    <tag k="waterway" v="riverbank"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Reservoir">
-    <category>water</category>
-    <icon image="features/pois/water_generic.24.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <area/>
-    <tag k="landuse" v="reservoir"/>
-    <inputSet ref="boatPermissions"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Lake">
-    <category>water</category>
-    <icon image="features/pois/water_generic.24.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-    <area/>
-    <tag k="natural" v="water"/>
-    <inputSet ref="names"/>
-    <inputSet ref="boatPermissions"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Basin">
-    <category>water</category>
-    <icon image="features/pois/water_generic.24.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <area/>
-    <tag k="landuse" v="basin"/>
-    <inputSet ref="boatPermissions"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Weir">
-    <category>water</category>
-    <icon image="features/waterway__weir.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <point/>
-    <tag k="waterway" v="weir"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-
-  <feature name="Dock">
-    <category>water</category>
-    <icon image="features/pois/water_generic.24.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <area/>
-    <tag k="waterway" v="dock"/>
-    <inputSet ref="names"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Marina">
-    <category>water</category>
-    <icon image="features/pois/transport_marina.n.24.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <area/>
-    <point/>
-    <tag k="leisure" v="marina"/>
-    <inputSet ref="names"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Slipway">
-    <category>water</category>
-    <icon image="features/waterway__slipway.png" />
-    <line/>
-    <tag k="leisure" v="slipway"/>
-    <inputSet ref="names"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Slipway">
-    <category>water</category>
-    <!-- icon from http://www.clker.com/clipart-map-symbols-boat-launch-white.html, feel free to (re)move this notice -->
-    <icon image="features/pois/boat-launch-24.png"/>
-    <point />
-    <tag k="leisure" v="slipway"/>
-    <inputSet ref="names"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Coastline">
-    <category>water</category>
-    <line/>
-    <tag k="natural" v="coastline"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- ************************************************************************
-       Transport
-       ************************************************************************ -->
-
-  <feature name="Railway line">
-    <category>transport</category>
-    <icon image="features/transport__railway.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="rail"/>
-    <inputSet ref="bridge"/>
-    <inputSet ref="tunnel"/>
-    <inputSet ref="embankment-cutting"/>
-    <inputSet ref="rail-electrification"/>
-    <inputSet ref="rail-usage"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Railway spur">
-    <category>transport</category>
-    <icon image="features/transport__railway.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="rail"/>
-    <tag k="service" v="spur"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Railway siding">
-    <category>transport</category>
-    <icon image="features/transport__railway.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="rail"/>
-    <tag k="service" v="siding"/>
+  <!-- Relations -->
+  <feature name="Multipolygon">
+    <category>advanced</category>
+    <relation/>
+    <tag k="type" v="multipolygon"/>
     <inputSet ref="common"/>
   </feature>
-
-
-  <feature name="Preserved line">
-    <category>transport</category>
-    <icon image="features/transport__railway.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="preserved"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Disused tracks">
-    <category>transport</category>
-    <icon image="features/transport__railway_disused.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="disused"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Old trackbed">
-    <category>transport</category>
-    <icon image="features/transport__railway_abandoned.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="abandoned"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Light rail line">
-    <category>transport</category>
-    <icon image="features/transport__tram.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="light_rail"/>
-    <inputSet ref="bridge"/>
-    <inputSet ref="tunnel"/>
-    <inputset ref="embankment-cutting"/>
-    <inputSet ref="rail-electrification"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Tram line">
-    <category>transport</category>
-    <icon image="features/transport__tram.png">
-      <font size="14pt"><b>${name}</b></font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="tram"/>
-    <input ref="tram-route"/>
-    <inputSet ref="bridge"/>
-    <inputSet ref="tunnel"/>
-    <inputset ref="embankment-cutting"/>
-    <inputSet ref="rail-electrification"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Subway line">
-    <category>transport</category>
-    <icon image="features/transport__subway.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <line/>
-    <tag k="railway" v="subway"/>
-    <inputSet ref="bridge"/>
-    <inputSet ref="tunnel"/>
-    <inputset ref="embankment-cutting"/>
-    <inputSet ref="rail-electrification"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Railway platform">
-    <category>transport</category>
-    <icon image="features/transport__railway_platform.png"/>
-    <line/>
-    <area/>
-    <tag k="railway" v="platform"/>
-    <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The number of the platform" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bus station">
-    <category>transport</category>
-    <icon image="/features/pois/transport_bus_station.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="bus_station"/>
-    <inputSet ref="names"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Airport">
-    <category>transport</category>
-    <icon image="icons/transport_airport_48.png"/>
-    <tag k="aeroway" v="aerodrome"/>
-    <area/>
-    <point/>
-    <inputSet ref="names"/>
-    <input type="freetext" presence="always" category="Naming" name="International Air Transport Association (IATA) airport code" key="ref"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Airport terminal">
-    <category>transport</category>
-    <icon image="features/pois/transport_airport_terminal.n.24.png"/>
-    <tag k="aeroway" v="terminal"/>
-    <area/>
-    <point/>
-    <inputSet ref="names"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Helipad">
-    <category>transport</category>
-    <icon image="icons/transport_helipad_48.png"/>
-    <tag k="aeroway" v="helipad"/>
-    <area/>
-    <point/>
-    <inputSet ref="names"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Airport runway">
-    <category>transport</category>
-    <icon image="icons/transport_blank.png"/>
-    <tag k="aeroway" v="runway"/>
-    <line/>
-    <inputSet ref="names"/>
-    <input type="freetext" presence="always" category="Naming" name="Runway number (01-36)" key="ref"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Airport taxiway">
-    <category>transport</category>
-    <icon image="icons/transport_blank.png"/>
-    <tag k="aeroway" v="taxiway"/>
-    <line/>
-    <inputSet ref="names"/>
-    <input type="freetext" presence="always" category="Naming" name="Taxiway number" key="ref" />
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Airport apron">
-    <category>transport</category>
-    <icon image="icons/transport_blank.png"/>
-    <tag k="aeroway" v="apron"/>
-    <area/>
-    <inputSet ref="names"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Airport gate">
-    <category>transport</category>
-    <icon image="features/pois/transport_airport_gate.n.24.png"/>
-    <tag k="aeroway" v="gate"/>
-    <point/>
-    <input type="freetext" presence="always" category="Naming" name="Gate number" key="ref"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- ************************************************************************
-       Buildings
-       ************************************************************************ -->
-
-  <feature name="School">
-    <category>buildings</category>
-    <icon image="features/pois/education_school.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="school"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="College">
-    <category>buildings</category>
-    <icon image="features/pois/education_university.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="college"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="University">
-    <category>buildings</category>
-    <icon image="features/pois/education_university.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="university"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Supermarket">
-    <category>buildings</category>
-    <icon image="features/pois/shopping_supermarket.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="shop" v="supermarket"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Place of worship">
-    <category>buildings</category>
-    <icon image="icons/place_of_worship.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="place_of_worship"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <!-- sorted in reverse order of popularity in taginfo. -->
-    <input type="choice" category="Religion" name="Religion" key="religion" description="The religion to which this place of worship belongs." presence="always">
-      <choice value="christian" text="Christianity (church)"/>
-      <choice value="muslim" text="Islam (mosque)"/>
-      <choice value="buddhist" text="Buddhist (temple)"/>
-      <choice value="jewish" text="Judaism (synagogue)"/>
-      <choice value="hindu" text="Hindu (temple)"/>
-      <choice value="sikh" text="Sikh (gurdwara)"/>
-      <choice value="spiritualist" text="Spiritualism"/>
-      <choice value="unitarian" text="Unitarianism"/>
-      <choice value="taoist" text="Taoism"/>
-      <choice value="multifaith" text="Multi-faith"/>
-      <choice value="scientologist" text="Scientology"/>
-      <choice value="bahai" text="Bahai"/>
-    </input>
-    <!-- sorted in reverse order of popularity in taginfo. -->
-    <input type="choice" category="Religion" name="Denomination" key="denomination" description="The denomination, or sub-branch of the main religion." presence="always">
-      <choice value="catholic" text="Catholic"/>
-      <choice value="baptist" text="Baptist"/>
-      <choice value="methodist" text="Methodist"/>
-      <choice value="lutheran" text="Lutheran"/>
-      <choice value="protestant" text="Prostant"/>
-      <choice value="orthodox" text="Orthodox"/>
-      <choice value="presbyterian" text="Presbyterian"/>
-      <choice value="anglican" text="Anglican"/>
-      <choice value="roman_catholic" text="Roman Catholic"/>
-      <choice value="evangelical" text="Evangelical"/>
-      <choice value="pentecostal" text="Pentecostal"/>
-      <choice value="mormon" text="Mormon"/>
-      <choice value="sunni" text="Sunni"/>
-      <choice value="jehovahs_witness" text="Jehovah's Witness"/>
-      <!-- duplicate of Anglican? -->
-      <choice value="church_of_england" text="Church of England"/>
-      <choice value="greek_orthodox" text="Greek Orthodox"/>
-      <choice value="new_apostolic" text="New Apostolic"/>
-      <choice value="episcopal" text="Episcopal"/>
-      <choice value="russian_orthodox" text="Russian Orthodox"/>
-      <choice value="adventist" text="Adventist"/>
-      <choice value="seventh_day_adventist" text="Seventh Day Adventist"/>
-      <choice value="united_reformed" text="United Reformed"/>
-      <choice value="reformed" text="Reformed"/>
-      <choice value="iglesia_ni_cristo" text="Iglesia Ni Cristo"/>
-      <choice value="uniting" text="Uniting"/>
-      <choice value="salvation_army" text="Salvation Army"/>
-      <choice value="church_of_scotland" text="Church of Scotland"/>
-      <choice value="quaker" text="Quaker"/>
-      <choice value="scientist" text="Scientist"/>
-      <choice value="shia" text="Shia"/>
-      <choice value="congregational" text="Congregational"/>
-      <choice value="assembly_of_god" text="Assembly of God"/>
-      <choice value="united" text="United"/>
-      <choice value="mennonite" text="Mennonite"/>
-      <choice value="nazarene" text="Nazarene"/>
-      <!-- duplicate of Mormon? -->
-      <choice value="latter_day_saints" text="Latter Day Saints"/>
-      <choice value="dutch_reformed" text="Dutch Reformed"/>
-      <choice value="tibetan" text="Tibetan"/>
-      <choice value="shingon" text="Shingon"/>
-      <choice value="georgian_orthodox" text="Georgian Orthodox"/>
-      <choice value="unitarian" text="Unitarian"/>
-      <choice value="brethren" text="Brethren"/>
-      <choice value="armenian_apostolic" text="Armenian Apostolic"/>
-      <choice value="maronite" text="Maronite"/>
-    </input>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Public building">
-    <category>buildings</category>
-    <icon image="features/pois/building_generic.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="public_building"/>
-    <tag k="building" v="yes"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Hospital">
-    <category>buildings</category>
-    <icon image="features/pois/health_hospital.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="amenity" v="hospital"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <feature name="Museum">
-    <category>buildings</category>
-    <icon image="features/pois/tourist_museum.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="tourism" v="museum"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Shopping centre">
-    <category>buildings</category>
-    <category>shopping</category>
-    <node/>
-    <area/>
-    <tag k="shop" v="mall"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Zoo">
-    <category>buildings</category>
-    <icon image="features/pois/tourist_zoo.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="tourism" v="zoo"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Stadium">
-    <category>buildings</category>
-    <icon image="icons/tourist_blank.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="leisure" v="stadium"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Building">
-    <category>buildings</category>
-    <icon image="features/pois/building_generic.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <!-- This should catch all the "building=*" tags in use: yes, hut, house, residential, entrance, apartments, garage, industrial,  garages, service, manufacture, collapsed... 
-         Is this possible? -->
-    <!-- <tag k="building" v="*"/> -->
-    <tag k="building" v="yes"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Sports centre">
-    <category>buildings</category>
-    <icon image="features/pois/sport_leisure_centre.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <point/>
-    <tag k="leisure" v="sports_centre"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="pitchSport"/>
-    <inputSet ref="isBuilding"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <!-- ************************************************************************
-       Landuse
-       ************************************************************************ -->
-
-  <feature name="Industrial Area">
-    <category>landuse</category>
-    <area/>
-    <icon image="features/pois/building_generic.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="landuse" v="industrial"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Offices">
-    <category>landuse</category>
-    <area/>
-    <icon image="features/pois/building_generic.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="landuse" v="commercial"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Residential Area">
-    <category>landuse</category>
-    <area/>
-    <icon image="features/pois/building_generic.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="landuse" v="residential"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Retail Area">
-    <category>landuse</category>
-    <area/>
-    <icon image="features/pois/building_generic.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="landuse" v="retail"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Construction Site">
-    <category>landuse</category>
-    <area/>
-    <icon image="features/pois/building_generic.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="landuse" v="construction"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Marketplace">
-    <category>landuse</category>
-    <point />
-    <area/>
-    <icon image="features/pois/shopping_greengrocer.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="amenity" v="marketplace"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Cemetery">
-    <category>landuse</category>
-    <point />
-    <area/>
-    <icon image="features/pois/place_of_worship_unknown3.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="landuse" v="cemetery"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Graveyard">
-    <category>landuse</category>
-    <point />
-    <area/>
-    <icon image="features/pois/place_of_worship_unknown3.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="amenity" v="grave_yard"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Quarry">
-    <category>landuse</category>
-    <icon image="features/pois/poi_mine.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="quarry"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Military">
-    <category>landuse</category>
-    <icon image="features/pois/poi_military_bunker.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="military"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Conservation">
-    <category>natural</category>
-    <icon image="icons/natural_blank.png"/>
-    <area/>
-    <tag k="landuse" v="conservation"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-
-
-  <feature name="Playground">
-    <category>sport</category>
-    <area/>
-    <point/>
-    <icon image="features/pois/amenity_playground.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="leisure" v="playground"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Golf course">
-    <category>sport</category>
-    <area/>
-    <icon  image="features/pois/sport_golf.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="leisure" v="golf_course"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Recreation ground">
-    <category>landuse</category>
-    <category>sport</category>    
-    <area/>
-    <icon image="features/pois/sport_leisure_centre.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="leisure" v="recreation_ground"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Sports pitch">
-    <category>landuse</category>
-    <area/>
-    <icon image="features/pois/sport_leisure_centre.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="leisure" v="pitch"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="pitchSport"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <inputSet id="pitchSport">
-    <input name="Sport" presence="always" category="Sport" key="sport" type="choice" description="The sport that is predominantly played here.">
-      <choice value="9pin" text="9 pin bowling"/>
-      <choice value="10pin" text="10 pin bowling"/>
-      <choice value="american_football" text="American football"/>
-      <choice value="archery" text="Archery"/>
-      <choice value="athletics" text="Athletics"/>
-      <choice value="australian_football" text="Australian Rules Football"/>
-      <choice value="baseball" text="Baseball"/>
-      <choice value="basketball" text="Basketball"/>
-      <choice value="beachvolleyball" text="Beach volleyball"/>
-      <choice value="boules" text="Boules/petanque/bocci"/>
-      <choice value="bowls" text="Lawn bowls"/>
-      <choice value="canadian_football" text="Canadian football"/>
-      <choice value="chess" text="Chess"/>
-      <choice value="cricket" text="Cricket"/>
-      <choice value="cricket_nets" text="Cricket nets"/>
-      <choice value="croquet" text="Croquet"/>
-      <choice value="equestrian" text="Equestrian"/>
-      <choice value="gaelic_football" text="Gaelic football"/>
-      <choice value="gymnastics" text="Gymnastics"/>
-      <choice value="team_handball" text="(Team) handball"/>
-      <choice value="hockey" text="(Field) hockey"/>
-      <choice value="korfball" text="Korball"/>
-      <choice value="pelota" text="Pelota"/>
-      <choice value="rugby_league" text="Rugby league"/>
-      <choice value="rugby_union" text="Rugby union"/>
-      <choice value="shooting" text="Shooting"/>
-      <choice value="skating" text="Ice skating"/>
-      <choice value="skateboard" text="Skateboarding"/>
-      <choice value="soccer" text="Soccer/football"/>
-      <choice value="swimming" text="Swimming"/>
-      <choice value="table_tennis" text="Table tennis"/>
-      <choice value="tennis" text="Tennis"/>
-      <choice value="volleyball" text="Volleyball"/>
-    </input>
-  </inputSet>
-
-  <feature name="Sports track">
-    <category>landuse</category>
-    <category>sport</category>
-    <area/>
-    <icon image="features/pois/sport_leisure_centre.n.24.png">
-      <b>${name}</b>
-    </icon>
-    <tag k="leisure" v="track"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- ************************************************************************
-       Power
-       ************************************************************************ -->
-
-  <feature name="High-voltage line">
-    <category>power</category>
-    <icon image="features/power_high.png"/>
-    <line/>
-    <tag k="power" v="line"/>
-    <inputSet ref="powerCables"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Low-voltage line">
-    <category>power</category>
-    <icon image="features/power_low.png"/>
-    <line/>
-    <tag k="power" v="minor_line"/>
-    <inputSet ref="powerCables"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="High-voltage pylon">
-    <category>power</category>
-    <icon image="icons/power_tower_24.png"/>
-    <point/>
-    <tag k="power" v="tower"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Power pole">
-    <category>power</category>
-    <icon image="icons/power_pole_24.png"/>
-    <point/>
-    <tag k="power" v="pole"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Plant (station)">
-    <category>power</category>
-    <icon image="icons/power_blank.png"/>
-    <area/>
-    <point/>
-    <tag k="power" v="generator"/>
-    <inputSet ref="names"/>
-    <input type="choice" presence="always"  name="Energy source" key="power_source" category="Power">
-      <choice value="coal" text="Coal"/>
-      <choice value="gas" text="Gas"/>
-      <choice value="oil" text="Oil"/>
-      <choice value="fossil" text="Unspecified fossil fuel"/>
-      <choice value="hydro" text="Hydroelectric"/>
-      <choice value="geothermal" text="Geothermal"/>
-      <choice value="nuclear" text="Nuclear"/>
-      <choice value="wind" text="Wind"/>
-      <choice value="photovoltaic" text="Solar PV"/>
-      <choice value="solar_thermal" text="Solar thermal"/>
-      <choice value="biofuel" text="Biofuel"/>
-    </input>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Substation">
-    <category>power</category>
-    <icon image="icons/power_blank.png"/>"
-    <area/>
-    <point/>
-    <tag k="power" v="station"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Transformer">
-    <category>power</category>
-    <icon image="icons/power_blank.png"/>
-    <area/>
-    <point/>
-    <tag k="power" v="sub_station"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <inputSet id="powerCables">
-    <input type="choice" name="Cables" key="cables" presence="always" category="Power">
-      <choice value="2" text="2"/>
-      <choice value="3" text="3"/>
-      <choice value="4" text="4"/>
-      <choice value="6" text="6"/>
-      <choice value="8" text="8"/>
-      <choice value="10" text="10"/>
-      <choice value="12" text="12"/>
-    </input>
-    <input type="choice" name="Voltage" key="voltage" presence="always" category="Power">
-      <!-- choices based on http://osmdoc.com/en/tag/voltage/#values-->
-      <choice value="400" text="400 V"/>
-      <choice value="600" text="600 V"/>
-      <choice value="750" text="750 V"/>
-      <choice value="1500" text="1500 V"/>
-      <choice value="3000" text="3000 V"/>
-      <choice value="15000" text="15 kV"/>
-      <choice value="20000" text="20 kV"/>
-      <choice value="35000" text="35 kV"/>
-      <choice value="110000" text="110 kV"/>
-      <choice value="132000" text="132 kV"/>
-      <choice value="138000" text="238 kV"/>
-      <choice value="220000" text="220 kV"/>
-      <choice value="380000" text="380 kV"/>
-    </input>
-  </inputSet>
-
-  <!-- Places -->
-
-
-  <feature name="Hamlet">
-    <category>places</category>
-    <icon image="icons/place.png"/>
-    <point/>
-    <area/>
-    <tag k="place" v="hamlet" />
-    <inputSet ref="names"/>
-    <inputSet ref="places"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Village">
-    <category>places</category>
-    <icon image="icons/place.png"/>
-    <point/>
-    <area/>
-    <tag k="place" v="village" />
-    <inputSet ref="names"/>
-    <inputSet ref="places"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Suburb">
-    <category>places</category>
-    <icon image="icons/place.png"/>
-    <point/>
-    <area/>
-    <tag k="place" v="suburb" />
-    <inputSet ref="names"/>
-    <inputSet ref="places"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Town">
-    <category>places</category>
-    <icon image="icons/place.png"/>
-    <point/>
-    <area/>
-    <tag k="place" v="town" />
-    <inputSet ref="names"/>
-    <inputSet ref="places"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="City">
-    <category>places</category>
-    <icon image="icons/place.png"/>
-    <point/>
-    <area/>
-    <tag k="place" v="city" />
-    <inputSet ref="names"/>
-    <inputSet ref="places"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- ************************************************************************
-       POIs
-       ************************************************************************ -->
-
-  <!-- =========== Amenity ============ -->
-
-  <feature name="Fire station">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_firestation2.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>
-    <point/>
-    <tag k="amenity" v="fire_station"/>
-    <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Police Station">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_police2.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice</help>
-    <point/>
-    <area/>
-    <tag k="amenity" v="police"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Library">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_library.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dlibrary</help>
-    <point/>
-    <area/>
-    <tag k="amenity" v="library"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Hospital">
-    <category>amenity</category>
-    <icon image="features/pois/health_hospital.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</help>
-    <point/>
-    <area/>
-    <tag k="amenity" v="hospital"/>
-    <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
-    <input type="choice" presence="always" category="Hospital" name="Emergency treatment available" key="emergency" description="Are there accident and emergency facilities at this hospital?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Place of Worship">
-    <category>amenity</category>
-    <icon image="icons/place_of_worship.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>
-    <point/>
-    <tag k="amenity" v="place_of_worship"/>
-    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of it." priority="low"/>
-    <input type="choice" presence="always" category="" name="Religion" key="religion" description="The religion worshipped here.">
-      <choice value="christian" text="Christianity (church)"/>
-      <choice value="jewish" text="Judaism (synagogue)"/>
-      <choice value="muslim" text="Islam (mosque)"/>
-      <choice value="hindu" text="Hinduism (temple)"/>
-      <choice value="buddhist" text="Buddhism (temple)"/>
-      <choice value="sikh" text="Sikhism (gurdwara)"/>
-      <choice value="shinto" text="Shinto (shrine)"/>
-    </input>
-
-    <input type="freetext" presence="always" category="" name="denomination" key="denomination" description="The denomination of the religion worshiped here." priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="ATM">
-    <category>amenity</category>
-    <icon image="features/pois/money_atm.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Atm</help>
-    <point/>
-    <tag k="amenity" v="atm"/>
-    <input type="freetext" presence="always" category="Banking" name="Operator" key="operator" description="The organisation that provides this ATM" priority="low"/>
-    <input type="freetext" presence="always" category="Banking" name="Fee" key="fee" description="Is there a charge for using this ATM? If so how much?"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bank">
-    <category>amenity</category>
-    <icon image="features/pois/money_bank2.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbank</help>
-    <point/>
-    <tag k="amenity" v="bank"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <input type="choice" presence="always" category="Bank" name="Public ATM available" key="atm" description="Is there a public ATM available?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Recycling">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_recycling.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drecycling</help>
-    <point/>
-    <tag k="amenity" v="recycling"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="School">
-    <category>amenity</category>
-    <icon image="features/pois/education_school.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dschool</help>
-    <point/>
-    <tag k="amenity" v="school"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Kindergarten">
-    <category>amenity</category>
-    <category>buildings</category>
-    <icon image="features/pois/education_nursery3.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dkindergarten</help>
-    <point/>
-    <tag k="amenity" v="kindergarten"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Town hall">
-    <category>amenity</category>
-    <icon >
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dtownhall</help>
-    <point/>
-    <tag k="amenity" v="townhall"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Post Box">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_post_box.n.24.png">
-      ${ref}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Post_box</help>
-    <point/>
-    <tag k="amenity" v="post_box"/>
-    <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of the post box"/>
-    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Post Office">
-    <category>amenity</category>
-    <category>buildings</category>
-    <icon image="features/pois/amenity_post_office.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity=post_office</help>
-    <point/>
-    <area/>
-    <tag k="amenity" v="post_office"/>
-    <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of the post office"/>
-    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
-    <inputSet ref="common"/>
-    <inputset ref="simpleName"/>
-  </feature>
-
-  <feature name="Trash/rubbish bin">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_waste_bin.n.24.png">
-      ${ref}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity=waste_basket</help>
-    <point/>
-    <tag k="amenity" v="waste_basket"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Toilets">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_toilets.n.24.png">
-      ${ref}
-    </icon>
-    <point/>
-    <tag k="amenity" v="toilets"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Water fountain">
-    <category>amenity</category>
-    <category>water</category>
-    <category>foodanddrink</category>
-    <icon image="features/pois/food_drinkingtap.n.24.png">
-      ${ref}
-    </icon>
-    <point/>
-    <tag k="amenity" v="drinking_water"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Shelter">
-    <category>amenity</category>
-    <icon image="features/pois/accommodation_shelter2.n.24.png">
-      ${name}
-    </icon>    
-    <point/>
-    <area/>
-    <tag k="amenity" v="shelter"/>
-    <inputset ref="names"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Barbecue">
-    <category>amenity</category>
-    <icon image="features/pois/tourist_picnic.n.24.png"/>
-    <!-- specific icon needed -->
-    <point/>
-    <tag k="amenity" v="bbq"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Hunting stand">
-    <category>amenity</category>
-    <category>sport</category>
-    <!-- icon needed -->
-    <point/>
-    <tag k="amenity" v="hunting_stand"/>
-    <inputSet ref="common"/>
-    <inputSet ref="names"/>
-  </feature>
-
-
-  <feature name="Park bench">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_bench.n.24.png" />
-    <point/>
-    <tag k="amenity" v="bench"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Public telephone">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_telephone.n.24.png" />
-    <point/>
-    <tag k="amenity" v="telephone"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Emergency phone">
-    <category>amenity</category>
-    <icon image="features/pois/emergency-telephone-24.png" />
-    <!-- icon from http://www.clker.com/clipart-emergency-telephone-blue.html, feel free to (re)move this notice -->
-    <point/>
-    <tag k="amenity" v="emergency_phone"/>
-    <inputSet ref="common"/>
-    <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of emergency phone."/>    
-  </feature>
-
-
-  <feature name="Swimming pool">
-    <category>amenity</category>
-    <category>sport</category>
-    <icon image="features/pois/sport_swimming_outdoor.n.24.png">
-      ${name}
-    </icon>
-    <point/>
-    <area/>
-    <tag k="amenity" v="swimming_pool"/>
-    <inputSet ref="simpleName"/>    
-    <inputSet ref="common"/>
-
-  </feature>
-
-  <feature name="Fountain">
-    <category>amenity</category>
-    <icon image="features/pois/amenity_fountain2.n.24.png">
-    ${name}
-    </icon>
-    <point/>
-    <tag k="amenity" v="fountain"/>
-    <inputSet ref="common"/>
-    <inputSet ref="simpleName"/>
-  </feature>
-
-  <feature name="Vending machine">
-    <category>amenity</category>
-    <category>foodanddrink</category>
-    <icon>A vending machine.</icon>
-    <!-- icon needed -->
-    <point/>
-    <tag k="amenity" v="vending_machine"/>
-    <inputSet ref="common"/>
-    <inputSet ref="simpleName"/>
-    <input type="freetext" presence="always" name="Product" key="vending" description="What is being sold: tickets, food, maps..."/>
-    <input type="operator" presence="always" name="Operator" key="operator" description="Which company provides the service" />
-  </feature>
-
-
-  <!-- ========= Accommodation ========= -->
-  <!-- Split off from tourism by Steve Bennett, can be remerged if it doesn't work out. -->
-  <feature name="Hotel">
-    <category>accommodation</category>
-    <icon image="features/pois/accommodation_hotel.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dhotel</help>
-    <point/>
-    <area/>
-    <tag k="tourism" v="hotel"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Motel">
-    <category>accommodation</category>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmotel</help>
-    <point/>
-    <area/>
-    <icon image="features/pois/accommodation_motel.n.24.png"/>
-    <tag k="tourism" v="motel"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <feature name="Hostel">
-    <category>accommodation</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/accommodation_youth_hostel.n.24.png"/>
-    <tag k="tourism" v="hostel"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- Note that tourism=bed_and_breakfast also gets some use. -->
-  <feature name="Guesthouse (B&amp;B)">
-    <category>accommodation</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/accommodation_bed_and_breakfast.n.24.png"/>
-    <tag k="tourism" v="guest_house"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Campsite">
-    <category>accommodation</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/accommodation_camping.n.24.png"/>
-    <tag k="tourism" v="camp_site"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Caravan park">
-    <category>accommodation</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/accommodation_caravan_park.n.24.png"/>
-    <tag k="tourism" v="caravan_site"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Alpine hut">
-    <category>accommodation</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/accommodation_alpinehut.n.24.png"/>
-    <tag k="tourism" v="alpine_hut"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Chalet">
-    <category>accommodation</category>
-    <icon image="features/pois/accommodation_chalet.n.24.png"/>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <tag k="tourism" v="chalet"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <!-- ========= Tourism ========= -->
-  <feature name="Attraction">
-    <category>tourism</category>
-    <icon image="features/pois/tourist_attraction.n.24.png">
-      <b>${name} ${addr:housename}</b><br/>
-      ${addr:housenumber} ${addr:street} ${addr:postcode}
-    </icon>
-
-    <area/>
-    <tag k="tourism" v="attraction"/>
-    <inputSet ref="names"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Museum">
-    <category>tourism</category>
-    <icon image="features/pois/tourist_museum.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmuseum</help>
-    <point/>
-    <area/>
-    <tag k="tourism" v="museum"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Archaeological">
-    <category>tourism</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_archaeological.n.24.png"/>
-    <tag k="historic" v="archaeological_site"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Battlefield">
-    <category>tourism</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_battlefield.n.24.png"/>
-    <tag k="historic" v="battlefield"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Castle">
-    <category>tourism</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_castle.n.24.png"/>
-    <tag k="historic" v="castle"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Memorial">
-    <category>tourism</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_memorial.n.24.png"/>
-    <tag k="historic" v="memorial"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Monument">
-    <category>tourism</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_monument.n.24.png"/>
-    <tag k="historic" v="monument"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Picnic site">
-    <category>tourism</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_picnic.n.24.png"/>
-    <tag k="tourism" v="picnic_site"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Ruin">
-    <category>tourism</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_ruin.n.24.png"/>
-    <tag k="historic" v="ruin"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Cinema">
-    <category>tourism</category>
-    <icon image="features/pois/tourist_cinema.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcinema</help>
-    <point/>
-    <area/>
-    <tag k="amenity" v="cinema"/>
-    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the cinema" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Theatre">
-    <category>tourism</category>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_theatre.n.24.png"/>
-    <tag k="amenity" v="theatre"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Viewpoint">
-    <category>tourism</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/tourist_view_point.n.24.png"/>
-    <tag k="tourism" v="viewpoint"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Zoo">
-    <category>tourism</category>
-    <point/>
-    <area/>
-    <icon image="features/pois/tourist_zoo.n.24.png"/>
-    <tag k="tourism" v="zoo"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Information">
-    <category>tourism</category>
-    <icon image="features/pois/amenity_information.n.24.png"/>
-    <point/>
-    <tag k="tourism" v="information"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Artwork">
-    <category>tourism</category>
-    <icon image="features/pois/tourist_art_gallery2.n.24.png"/>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <tag k="tourism" v="artwork"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <feature name="Theme park">
-    <category>tourism</category>
-    <icon image="features/pois/tourist_theme_park.n.24.png"/>
-    <point/>
-    <area/>
-    <inputSet ref="simpleName"/>
-    <tag k="tourism" v="theme_park"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- ========= Transport ========= -->
-
-  <feature name="Aerodrome">
-    <category>aeroway</category>
-    <icon image="features/pois/transport_aerodrome.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>
-    <point/>
-    <tag k="aeroway" v="aerodrome"/>
-    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the aerodrome/airport" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bus Stop">
-    <category>transport</category>
-    <icon image="features/pois/transport_bus_stop2.n.24.png">
-      ${name} ${local_ref}
-    </icon>
-    <point/>
-    <tag k="highway" v="bus_stop"/>
-    <inputSet ref="buses"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Car Parking">
-    <category>transport</category>
-    <icon image="features/pois/transport_parking_car.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dparking</help>
-    <point/>
-    <area/>
-    <tag k="amenity" v="parking"/>
-    <inputSet ref="names"/>
-    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
-    <input type="number" minimum="0" maximum="99999" stepSize="1" presence="always" category="Parking" name="Capacity" key="capacity" description="The number of cars that can be parked in the car park"/>
-    <inputSet ref="fee"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bicycle Parking">
-    <category>transport</category>
-    <icon image="features/pois/transport_parking_bicycle.n.24.png">
-      ${name} ${capacity}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbicycle_parking</help>
-    <point/>
-    <tag k="amenity" v="bicycle_parking"/>
-    <inputSet ref="names"/>
-    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
-    <input type="number" minimum="0" maximum="99999" stepSize="1"
-        presence="always" category="Cycle" name="Capacity" key="capacity"
-        description="The number of bicycles that can be parked in the group of bicycle parking racks"/>
-    <inputSet ref="fee"/>
-    <input type="choice" presence="always" category="Cycle" name="Covered" key="covered" description="Is the cycle parking covered, so that the bikes are kept dry?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Railway station">
-    <category>transport</category>
-    <icon image="features/pois/transport_train_station.n.24.png">
-      <font size="14pt">
-        <b>${name}</b>
-      </font>
-    </icon>
-
-    <point/>
-    <tag k="railway" v="station"/>
-    <inputSet ref="names"/>
-    <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The shortcode/reference for the station" priority="low"/>
-    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the service" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Fuel">
-    <category>transport</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/transport_fuel.n.24.png"/>
-    <tag k="amenity" v="fuel"/>
-    <input type="freetext" category="Naming" name="Operator" key="operator" description="The provider of the service"/>
-    <input type="choice" category="Fuels" name="Diesel" key="diesel" description="Is diesel fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Octane 91" key="diesel" description="Is octane 91 unleaded fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Octane 95" key="octane_95" description="Is octane 95 unleaded fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Octane 98" key="octane_98" description="Is octane 98 unleaded fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Octane 100" key="octane_100" description="Is octane 100 unleaded fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Ethanol" key="ethanol" description="Is ethanol sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="LPG" key="lpg" description="Is LPG (liquid petroleum gas) sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Octane 91" key="diesel" description="Is octane 91 unleaded fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-    <input type="choice" category="Fuels" name="Bio-diesel" key="biodiesel" description="Is biodiesel unleaded fuel sold here?">
-      <choice value="yes" text="Yes"/>
-      <choice value="no" text="No"/>
-    </input>
-
-
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bus station">
-    <category>transport</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/transport_bus_station.n.24.png"/>
-    <tag k="amenity" v="bus_station"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Taxi rank">
-    <category>transport</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/transport_taxi_rank.n.24.png"/>
-    <tag k="amenity" v="taxi"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Tram stop">
-    <category>transport</category><point/><inputSet ref="simpleName" />
-    <icon image="features/pois/transport_tram_stop.n.24.png"/>
-    <tag k="railway" v="tram_stop"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bicycle rental">
-    <category>transport</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/transport_rental_bicycle.n.24.png"/>
-    <tag k="amenity" v="bicycle_rental"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Car rental">
-    <category>transport</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <icon image="features/pois/transport_rental_car.n.24.png"/>
-    <tag k="amenity" v="car_rental"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Ferry Terminal">
-    <category>transport</category>
-    <icon image="features/pois/transport_port.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>
-    <point/>
-    <tag k="amenity" v="ferry_terminal"/>
-    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the ferry terminal."/>
-    <input type="freetext" presence="always" category="" name="Operator" key="operator" description="The operator of the ferry terminal." priority="low"/>
-    <input type="freetext" presence="onTagMatch" category="Cargo" name="Cargo" key="cargo" description="The cargo shipped from here." priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- ========= Barriers ========= -->
-
-  <feature name="Wall">
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-    <icon>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall</help>
-
-    <line/>
-    <tag k="barrier" v="wall"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Ditch">
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-    <icon>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dditch</help>
-
-    <line/>
-    <tag k="barrier" v="ditch"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Retaining wall">
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-    <icon>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dretaining_wall</help>
-
-    <line/>
-    <tag k="barrier" v="retaining_wall"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="City wall">
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-    <icon>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcity_wall</help>
-
-    <line/>
-    <tag k="barrier" v="city_wall"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Fence">
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-    <icon>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dfence</help>
-
-    <line/>
-    <tag k="barrier" v="fence"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Hedge">
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-    <icon>
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dhedge</help>
-
-    <line/>
-    <tag k="barrier" v="hedge"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Bollard">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_bollard.n.24.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard</help>
-
-    <point/>
-    <tag k="barrier" v="bollard"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Gate">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_gate.n.24.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate</help>
-
-    <point/>
-    <tag k="barrier" v="gate"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Lift Gate">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_lift_gate.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dlift_gate</help>
-    <point/>
-    <tag k="barrier" v="lift_gate"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Kissing Gate">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_kissing_gate.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dkissing_gate</help>
-    <point/>
-    <tag k="barrier" v="kissing_gate"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <feature name="Cycle Barrier">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_cycle_barrier.24.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier</help>
-
-    <point/>
-    <tag k="barrier" v="cycle_barrier"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Big Concrete Blocks">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_blocks.24.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock</help>
-
-    <point/>
-    <tag k="barrier" v="block"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Cattle Grid">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_cattle_grid.24.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcattle_grid</help>
-
-    <point/>
-    <tag k="barrier" v="cattle_grid"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Toll Booth">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_toll_booth.n.24.png">
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dtoll_booth</help>
-
-    <point/>
-    <tag k="barrier" v="toll_booth"/>
-    <tagSet ref="fee"/>
-    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the toll" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Stile">
-    <category>barrier</category>
-    <icon image="features/pois/barrier_stile.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dstile</help>
-    <point/>
-    <tag k="barrier" v="stile"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Wire fence">
-    <!-- no idea, but taginfo says 2700 uses -->
-    <category>barrier</category>
-    <icon image="features/barrier_generic.png"/>
-   
-    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwire_fence</help>
-
-    <line/>
-    <tag k="barrier" v="wire_fence"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- **************************************************************** -->
-
-  <feature name="Turning circle">
-    <category>transport</category>
-    <icon image="features/pois/transport_turning_circle.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dturning_circle</help>
-    <point/>
-    <tag k="highway" v="turning_circle"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Mini Roundabout">
-    <category>transport</category>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmini_roundabout</help>
-    <point/>
-    <tag k="highway" v="mini_roundabout"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Traffic calming">
-
-    <category>transport</category>
-    <icon image="icons/speed_hump_16.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Key:traffic%3Dcalming</help>
-    <point/>
-    <!-- Warning: creates "traffic_calming=*" by default, but it's the best we can do. Steve Bennett-->
-    <!--<tag k="traffic_calming" v="*"/>-->
-    <tag k="traffic_calming" v="yes"/>
-    <input type="choice" key="traffic_calming" name="Obstacle type" category="Traffic calming" presence="onTagMatch">
-      <choice value="yes" text="Unspecified"/>
-      <choice value="bump" text="Short bump" description="A sharp speed bump, typically slowing cars to 15 kph or less."/>
-      <choice value="hump" text="Speed hump" description="A gentler, longer bump, typically slowing cars to 30 kph or less."/>
-      <choice value="cushion" text="Speed cushion" description="A narrow speed bump allowing emergency vehicles and buses to pass without slowing."/>
-      <choice value="table" text="Speed table" description="A very long speed hump allowing the whole wheelbase to rest on top."/>
-      <choice value="chicane" text="Chicane" description="A set of obstacles causing vehicles to weave through."/>
-      <choice value="rumble_strip" text="Rumble strip" description="A series of very small bumps causing vibration or noise."/>
-      <choice value="choker" text="Choker" description="An artificial narrowing of the road."/>
-    </input>
-
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <!-- ========= Entertainment ========= -->
-
-  <feature name="Pub">
-    <category>foodanddrink</category>
-    <icon image="features/pois/food_pub.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpub</help>
-    <point/>
-    <tag k="amenity" v="pub"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="wifi"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bar">
-    <category>foodanddrink</category>
-    <icon image="features/pois/food_bar.n.24.png">
-      ${name}
-    </icon>
-    <point/>
-    <tag k="amenity" v="bar"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="wifi"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Restaurant">
-    <category>foodanddrink</category>
-    <icon image="features/pois/food_restaurant.n.24.png">
-      ${name}
-    </icon>
-    <point/>
-    <tag k="amenity" v="restaurant"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="cuisine"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Cafe">
-    <category>foodanddrink</category>
-    <icon image="features/pois/food_cafe.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcafe</help>
-    <point/>
-    <tag k="amenity" v="cafe"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="cuisine"/>
-    <inputSet ref="wifi"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Fast Food">
-    <category>foodanddrink</category>
-    <icon image="features/pois/food_fastfood.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food</help>
-    <point/>
-    <tag k="amenity" v="fast_food"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="cuisine"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- ========= Shops ========= -->
-  <feature name="Supermarket">
-    <category>shopping</category>
-    <icon image="features/pois/shopping_supermarket.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket</help>
-    <point/>
-    <tag k="shop" v="supermarket"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Small Convenience Store">
-    <category>shopping</category>
-    <icon image="features/pois/shopping_convenience.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dconvenience</help>
-    <point/>
-    <tag k="shop" v="convenience"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Bakery">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_bakery.n.24.png"/>
-    <tag k="shop" v="bakery"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-
-  <feature name="Alcohol shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_alcohol.n.24.png"/>
-    <tag k="shop" v="alcohol"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <feature name="Bike shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_bicycle.n.24.png"/>
-    <tag k="shop" v="bicycle"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Bookshop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_book.n.24.png"/>
-    <tag k="shop" v="books"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Butcher">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_butcher.n.24.png"/>
-    <tag k="shop" v="butcher"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Car sales">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_car.n.24.png"/>
-    <tag k="shop" v="car"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Car repair">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_car_repair.n.24.png"/>
-    <tag k="shop" v="car_repair"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Clothes shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_clothes.n.24.png"/>
-    <tag k="shop" v="clothes"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Confectionery">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_confectionery.n.24.png"/>
-    <tag k="shop" v="confectionery"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="DIY">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_diy.n.24.png"/>
-    <tag k="shop" v="doityourself"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Fishmonger">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_fish.n.24.png"/>
-    <tag k="shop" v="fishmonger"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Florist">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/flowers.png"/>
-    <tag k="shop" v="florist"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Garden centre">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_garden_centre.n.24.png"/>
-    <tag k="shop" v="garden_centre"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Gift shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_gift.n.24.png"/>
-    <tag k="shop" v="gift"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Greengrocer">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_greengrocer.n.24.png"/>
-    <tag k="shop" v="greengrocer"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Hairdresser">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_hairdresser.n.24.png"/>
-    <tag k="shop" v="hairdresser"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Hifi shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_hifi.n.24.png"/>
-    <tag k="shop" v="hifi"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Jewellery">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_jewelry.n.24.png"/>
-    <tag k="shop" v="jewelry"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Kiosk">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_jewelry.n.24.png"/>
-    <tag k="shop" v="kiosk"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Laundrette">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_laundrette.n.24.png"/>
-    <tag k="shop" v="laundry"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Motorbike shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_motorcycle.n.24.png"/>
-    <tag k="shop" v="motorcycle"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Music shop">
-    <category>shopping</category>
-    <point/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <icon image="features/pois/shopping_music.n.24.png"/>
-    <tag k="shop" v="music"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Pharmacy">
-    <category>shopping</category>
-    <icon image="features/pois/health_pharmacy.n.24.png">
-      ${name}
-    </icon>
-    <help>http://wiki.openstreetmap.org/wiki/Pharmacy</help>
-    <point/>
-    <tag k="amenity" v="pharmacy"/>
-    <inputSet ref="names"/>
-    <inputSet ref="web"/>
-    <inputSet ref="buildingAddress"/>
-    <input type="checkbox" category="Amenity" presence="always" description="Does this pharmacy sell prescription drugs?" name="Dispensing" key="dispensing" layout="horizontal"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- **************** Agriculture *************** -->
-  <feature name="Farm">
-    <category>agriculture</category>
-    <icon image="features/pois/landuse_grass.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="farm"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Farmyard">
-    <category>agriculture</category>
-    <icon image="features/pois/landuse_grass.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="farmyard"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Farmland">
-    <category>agriculture</category>
-    <icon image="features/pois/landuse_grass.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="farmland"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Field">
-    <category>agriculture</category>
-    <icon image="features/pois/landuse_grass.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="meadow"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Orchard">
-    <category>agriculture</category>
-    <icon image="features/pois/landuse_grass.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="orchard"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Vineyard">
-    <category>agriculture</category>
-    <icon image="features/pois/landuse_grass.n.24.png"/>
-    <area/>
-    <tag k="landuse" v="vineyard"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- Top 10 boundaries in order of usage on taginfo.openstreetmap.de -->
-
-  <feature name="Admin Boundary">
-    <category>places</category>
-    <line/>
-    <icon image="features/pois/poi_boundary_administrative.n.24.png"/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=administrative</help>
-    <tag k="boundary" v="administrative"/>
-    <input type="number" minimum="2" maximum="10" presence="always" name="Admin Level" key="admin_level" description="The Administrative level" />
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="National Park">
-    <category>places</category>
-    <category>natural</category>
-    <line/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=national_park</help>
-    <tag k="boundary" v="national_park"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Post Code">
-    <category>places</category>
-    <line/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=postal_code</help>
-    <tag k="boundary" v="postal_code"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Protected Area">
-    <category>places</category>
-    <category>natural</category>
-    <line/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=protected_area</help>
-    <tag k="boundary" v="protected_area"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <feature name="Town boundary">
-    <category>places</category>
-    <line/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=town</help>
-    <tag k="boundary" v="town"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- boundary=landuse goes here. no idea what it is.-->
-
-  <feature name="Census boundary">
-    <category>places</category>
-    <line/>
-    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=census</help>
-    <tag k="boundary" v="census"/>
-    <inputSet ref="simpleName"/>
-    <inputSet ref="common"/>
-  </feature>
-
-  <!-- next three are marker, postcode_area, administrative. all seem dubious -->
-  
-
-  <!-- ************************************************************************
-       Relations
-       ************************************************************************ -->
-
-  <feature name="Turn restriction">
-    <category>advanced</category>
-    <help>http://wiki.openstreetmap.org/wiki/Turn_restrictions</help>
-    <relation/>
-    <tag k="type" v="restriction"/>
-    <input type="choice" category="Restrictions" presence="always" name="Type" key="restriction" description="What's the restriction?" layout="horizontal" priority="high">
-      <choice value="no_left_turn"      text="No left turn"/>
-      <choice value="no_right_turn"     text="No right turn"/>
-      <choice value="no_u_turn"         text="No U turns"/>
-      <choice value="no_straight_on"    text="No straight on"/>
-      <choice value="only_left_turn"    text="Left turn only"/>
-      <choice value="only_right_turn"   text="Right turn only"/>
-      <choice value="only_straight_on"  text="Straight on only"/>
-    </input>
-    <input type="choice" category="Restrictions" presence="always" name="Except" key="except" description="Are any vehicles exempt?" layout="horizontal">
-      <choice value="psv"      text="Bus"/>
-      <choice value="bicycle"  text="Bicycle"/>
-      <choice value="motorcar" text="Car"/>
-      <choice value="hgv"      text="HGV"/>
-    </input>
-    <input type="freetext" category="Restrictions" presence="always" name="Start day"  key="day_on"   description="What day of the week does it start?" layout="horizontal" priority="low"/>
-    <input type="freetext" category="Restrictions" presence="always" name="Start time" key="hour_on"  description="What time of day does it start?"     layout="horizontal" priority="low"/>
-    <input type="freetext" category="Restrictions" presence="always" name="End day"    key="day_off"  description="What day of the week does it end?"   layout="horizontal" priority="lowest"/>
-    <input type="freetext" category="Restrictions" presence="always" name="End time"   key="hour_off" description="What time of day does it end?"       layout="horizontal" priority="lowest"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Multipolygon">
-    <category>advanced</category>
-    <relation/>
-    <tag k="type" v="multipolygon"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <!-- cycle stuff -->
-  <feature name="National Cycle Network">
-    <category>paths</category>
-    <icon image="features/cycle__ncn.png" background="red" foreground="white">
-      <font size="14pt">
-        <b>${ref}</b>
-      </font>
-      <br/>
-      <font size="12pt">${name}</font>
-    </icon>
-
-    <relation/>
-    <tag k="type" v="route"/>
-    <tag k="network" v="ncn"/>
-
-    <inputSet ref="route"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Regional Cycle Network">
-    <category>paths</category>
-    <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
-      <font size="14pt"><b>${ref}</b></font><br/>
-      <font size="12pt">${name}</font>
-    </icon>
-
-    <relation/>
-    <tag k="type" v="route"/>
-    <tag k="network" v="rcn"/>
-
-    <inputSet ref="route"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Local Cycle Network">
-    <category>paths</category>
-    <icon image="features/cycle__lcn.png" background="blue" foreground="white">
-      <font size="14pt">
-        <b>${ref}</b>
-      </font>
-      <br/>
-      <font size="12pt">${name}</font>
-    </icon>
-
-    <relation/>
-    <tag k="type" v="route"/>
-    <tag k="network" v="lcn"/>
-
-    <inputSet ref="route"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <!-- paths -->
-  <feature name="Long Distance Path">
-    <category>paths</category>
-    <icon image="features/paths__footway.png" background="green" foreground="white">
-      <font size="14pt">
-        <b>${ref}</b>
-      </font>
-      <br/>
-      <font size="12pt">${name}</font>
-    </icon>
-
-    <relation/>
-    <tag k="type" v="route"/>
-    <tag k="route" v="foot"/>
-
-    <inputSet ref="route"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <!-- public transit routes -->
-  <feature name="Bus Route">
-    <category>transport</category>
-    <icon image="features/transport__bus.png">
-      <font size="12pt">
-        ${operator} <b>${ref}</b>
-      </font>
-    </icon>
-
-    <relation/>
-    <tag k="type" v="route"/>
-    <tag k="route" v="bus"/>
-
-    <inputSet ref="route"/>
-    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the bus service" priority="low"/>
-    <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the bus service" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-  <feature name="Tram Route">
-    <category>transport</category>
-    <icon image="features/transport__tram.png">
-      <font size="12pt">
-        ${operator} <b>${reg}</b>
-      </font>
-    </icon>
-
-    <relation/>
-    <tag k="type" v="route"/>
-    <tag k="route" v="tram"/>
-
-    <inputSet ref="route"/>
-    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the tram service" priority="low"/>
-    <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the tram service" priority="low"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
-
-  <!-- Junction nodes (for turn restrictions) -->
-
-  <feature>
-    <point/>
-    <within entity="way" k="highway" minimum="2"/>
-    <inputSet ref="junctionNode"/>
-    <inputSet ref="common"/>
-  </feature>
-
-
 </mapFeatures>
diff --git a/resources/map_features/amenities.xml b/resources/map_features/amenities.xml
new file mode 100644 (file)
index 0000000..6d9b801
--- /dev/null
@@ -0,0 +1,401 @@
+<featureGroup>\r
+  <!-- =========== Amenity ============ -->\r
+\r
+  <feature name="Fire station">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_firestation2.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>\r
+    <point/>\r
+    <tag k="amenity" v="fire_station"/>\r
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Police Station">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_police2.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="police"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Library">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_library.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dlibrary</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="library"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Hospital">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/health_hospital.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="hospital"/>\r
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>\r
+    <input type="choice" presence="always" category="Hospital" name="Emergency treatment available" key="emergency" description="Are there accident and emergency facilities at this hospital?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Place of Worship">\r
+    <category>amenity</category>\r
+    <icon image="icons/place_of_worship.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>\r
+    <point/>\r
+    <tag k="amenity" v="place_of_worship"/>\r
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of it." priority="low"/>\r
+    <input type="choice" presence="always" category="" name="Religion" key="religion" description="The religion worshipped here.">\r
+      <choice value="christian" text="Christianity (church)"/>\r
+      <choice value="jewish" text="Judaism (synagogue)"/>\r
+      <choice value="muslim" text="Islam (mosque)"/>\r
+      <choice value="hindu" text="Hinduism (temple)"/>\r
+      <choice value="buddhist" text="Buddhism (temple)"/>\r
+      <choice value="sikh" text="Sikhism (gurdwara)"/>\r
+      <choice value="shinto" text="Shinto (shrine)"/>\r
+    </input>\r
+\r
+    <input type="freetext" presence="always" category="" name="denomination" key="denomination" description="The denomination of the religion worshiped here." priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="ATM">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/money_atm.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Atm</help>\r
+    <point/>\r
+    <tag k="amenity" v="atm"/>\r
+    <input type="freetext" presence="always" category="Banking" name="Operator" key="operator" description="The organisation that provides this ATM" priority="low"/>\r
+    <input type="freetext" presence="always" category="Banking" name="Fee" key="fee" description="Is there a charge for using this ATM? If so how much?"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bank">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/money_bank2.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbank</help>\r
+    <point/>\r
+    <tag k="amenity" v="bank"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <input type="choice" presence="always" category="Bank" name="Public ATM available" key="atm" description="Is there a public ATM available?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Recycling">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_recycling.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drecycling</help>\r
+    <point/>\r
+    <tag k="amenity" v="recycling"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="School">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/education_school.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dschool</help>\r
+    <point/>\r
+    <tag k="amenity" v="school"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Kindergarten">\r
+    <category>amenity</category>\r
+    <category>buildings</category>\r
+    <icon image="features/pois/education_nursery3.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dkindergarten</help>\r
+    <point/>\r
+    <tag k="amenity" v="kindergarten"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Town hall">\r
+    <category>amenity</category>\r
+    <icon >\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dtownhall</help>\r
+    <point/>\r
+    <tag k="amenity" v="townhall"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Post Box">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_post_box.n.24.png">\r
+      ${ref}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Post_box</help>\r
+    <point/>\r
+    <tag k="amenity" v="post_box"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of the post box"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Post Office">\r
+    <category>amenity</category>\r
+    <category>buildings</category>\r
+    <icon image="features/pois/amenity_post_office.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity=post_office</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="post_office"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of the post office"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>\r
+    <inputSet ref="common"/>\r
+    <inputset ref="simpleName"/>\r
+  </feature>\r
+\r
+  <feature name="Trash/rubbish bin">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_waste_bin.n.24.png">\r
+      ${ref}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity=waste_basket</help>\r
+    <point/>\r
+    <tag k="amenity" v="waste_basket"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Toilets">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_toilets.n.24.png">\r
+      ${ref}\r
+    </icon>\r
+    <point/>\r
+    <tag k="amenity" v="toilets"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Water fountain">\r
+    <category>amenity</category>\r
+    <category>water</category>\r
+    <category>foodanddrink</category>\r
+    <icon image="features/pois/food_drinkingtap.n.24.png">\r
+      ${ref}\r
+    </icon>\r
+    <point/>\r
+    <tag k="amenity" v="drinking_water"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Shelter">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/accommodation_shelter2.n.24.png">\r
+      ${name}\r
+    </icon>    \r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="shelter"/>\r
+    <inputset ref="names"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Barbecue">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/tourist_picnic.n.24.png"/>\r
+    <!-- specific icon needed -->\r
+    <point/>\r
+    <tag k="amenity" v="bbq"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Hunting stand">\r
+    <category>amenity</category>\r
+    <category>sport</category>\r
+    <!-- icon needed -->\r
+    <point/>\r
+    <tag k="amenity" v="hunting_stand"/>\r
+    <inputSet ref="common"/>\r
+    <inputSet ref="names"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Park bench">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_bench.n.24.png" />\r
+    <point/>\r
+    <tag k="amenity" v="bench"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Public telephone">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_telephone.n.24.png" />\r
+    <point/>\r
+    <tag k="amenity" v="telephone"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Emergency phone">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/emergency-telephone-24.png" />\r
+    <!-- icon from http://www.clker.com/clipart-emergency-telephone-blue.html, feel free to (re)move this notice -->\r
+    <point/>\r
+    <tag k="amenity" v="emergency_phone"/>\r
+    <inputSet ref="common"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of emergency phone."/>    \r
+  </feature>\r
+\r
+\r
+  <feature name="Swimming pool">\r
+    <category>amenity</category>\r
+    <category>sport</category>\r
+    <icon image="features/pois/sport_swimming_outdoor.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="swimming_pool"/>\r
+    <inputSet ref="simpleName"/>    \r
+    <inputSet ref="common"/>\r
+\r
+  </feature>\r
+\r
+  <feature name="Fountain">\r
+    <category>amenity</category>\r
+    <icon image="features/pois/amenity_fountain2.n.24.png">\r
+    ${name}\r
+    </icon>\r
+    <point/>\r
+    <tag k="amenity" v="fountain"/>\r
+    <inputSet ref="common"/>\r
+    <inputSet ref="simpleName"/>\r
+  </feature>\r
+\r
+  <feature name="Vending machine">\r
+    <category>amenity</category>\r
+    <category>foodanddrink</category>\r
+    <icon>A vending machine.</icon>\r
+    <!-- icon needed -->\r
+    <point/>\r
+    <tag k="amenity" v="vending_machine"/>\r
+    <inputSet ref="common"/>\r
+    <inputSet ref="simpleName"/>\r
+    <input type="freetext" presence="always" name="Product" key="vending" description="What is being sold: tickets, food, maps..."/>\r
+    <input type="operator" presence="always" name="Operator" key="operator" description="Which company provides the service" />\r
+  </feature>\r
+\r
+  <!-- ========= Entertainment ========= -->\r
+\r
+  <feature name="Pub">\r
+    <category>foodanddrink</category>\r
+    <icon image="features/pois/food_pub.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpub</help>\r
+    <point/>\r
+    <tag k="amenity" v="pub"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="wifi"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bar">\r
+    <category>foodanddrink</category>\r
+    <icon image="features/pois/food_bar.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <point/>\r
+    <tag k="amenity" v="bar"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="wifi"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Restaurant">\r
+    <category>foodanddrink</category>\r
+    <icon image="features/pois/food_restaurant.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <point/>\r
+    <tag k="amenity" v="restaurant"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="cuisine"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Cafe">\r
+    <category>foodanddrink</category>\r
+    <icon image="features/pois/food_cafe.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcafe</help>\r
+    <point/>\r
+    <tag k="amenity" v="cafe"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="cuisine"/>\r
+    <inputSet ref="wifi"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Fast Food">\r
+    <category>foodanddrink</category>\r
+    <icon image="features/pois/food_fastfood.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food</help>\r
+    <point/>\r
+    <tag k="amenity" v="fast_food"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="cuisine"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/barriers.xml b/resources/map_features/barriers.xml
new file mode 100644 (file)
index 0000000..fc3dbff
--- /dev/null
@@ -0,0 +1,191 @@
+<featureGroup>\r
+  <feature name="Wall">\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+    <icon>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="wall"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Ditch">\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+    <icon>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dditch</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="ditch"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Retaining wall">\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+    <icon>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dretaining_wall</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="retaining_wall"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="City wall">\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+    <icon>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcity_wall</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="city_wall"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Fence">\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+    <icon>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dfence</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="fence"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Hedge">\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+    <icon>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dhedge</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="hedge"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Bollard">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_bollard.n.24.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard</help>\r
+\r
+    <point/>\r
+    <tag k="barrier" v="bollard"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Gate">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_gate.n.24.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate</help>\r
+\r
+    <point/>\r
+    <tag k="barrier" v="gate"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Lift Gate">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_lift_gate.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dlift_gate</help>\r
+    <point/>\r
+    <tag k="barrier" v="lift_gate"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Kissing Gate">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_kissing_gate.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dkissing_gate</help>\r
+    <point/>\r
+    <tag k="barrier" v="kissing_gate"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <feature name="Cycle Barrier">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_cycle_barrier.24.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier</help>\r
+\r
+    <point/>\r
+    <tag k="barrier" v="cycle_barrier"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Big Concrete Blocks">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_blocks.24.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock</help>\r
+\r
+    <point/>\r
+    <tag k="barrier" v="block"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Cattle Grid">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_cattle_grid.24.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcattle_grid</help>\r
+\r
+    <point/>\r
+    <tag k="barrier" v="cattle_grid"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Toll Booth">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_toll_booth.n.24.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dtoll_booth</help>\r
+\r
+    <point/>\r
+    <tag k="barrier" v="toll_booth"/>\r
+    <tagSet ref="fee"/>\r
+    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the toll" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Stile">\r
+    <category>barrier</category>\r
+    <icon image="features/pois/barrier_stile.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dstile</help>\r
+    <point/>\r
+    <tag k="barrier" v="stile"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Wire fence">\r
+    <!-- no idea, but taginfo says 2700 uses -->\r
+    <category>barrier</category>\r
+    <icon image="features/barrier_generic.png"/>\r
+   \r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwire_fence</help>\r
+\r
+    <line/>\r
+    <tag k="barrier" v="wire_fence"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/buildings.xml b/resources/map_features/buildings.xml
new file mode 100644 (file)
index 0000000..69812a3
--- /dev/null
@@ -0,0 +1,272 @@
+<featureGroup>\r
+  <feature name="School">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/education_school.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="amenity" v="school"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="College">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/education_university.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="amenity" v="college"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="University">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/education_university.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="amenity" v="university"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Supermarket">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/shopping_supermarket.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="shop" v="supermarket"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Place of worship">\r
+    <category>buildings</category>\r
+    <icon image="icons/place_of_worship.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="amenity" v="place_of_worship"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <!-- sorted in reverse order of popularity in taginfo. -->\r
+    <input type="choice" category="Religion" name="Religion" key="religion" description="The religion to which this place of worship belongs." presence="always">\r
+      <choice value="christian" text="Christianity (church)"/>\r
+      <choice value="muslim" text="Islam (mosque)"/>\r
+      <choice value="buddhist" text="Buddhist (temple)"/>\r
+      <choice value="jewish" text="Judaism (synagogue)"/>\r
+      <choice value="hindu" text="Hindu (temple)"/>\r
+      <choice value="sikh" text="Sikh (gurdwara)"/>\r
+      <choice value="spiritualist" text="Spiritualism"/>\r
+      <choice value="unitarian" text="Unitarianism"/>\r
+      <choice value="taoist" text="Taoism"/>\r
+      <choice value="multifaith" text="Multi-faith"/>\r
+      <choice value="scientologist" text="Scientology"/>\r
+      <choice value="bahai" text="Bahai"/>\r
+    </input>\r
+    <!-- sorted in reverse order of popularity in taginfo. -->\r
+    <input type="choice" category="Religion" name="Denomination" key="denomination" description="The denomination, or sub-branch of the main religion." presence="always">\r
+      <choice value="catholic" text="Catholic"/>\r
+      <choice value="baptist" text="Baptist"/>\r
+      <choice value="methodist" text="Methodist"/>\r
+      <choice value="lutheran" text="Lutheran"/>\r
+      <choice value="protestant" text="Prostant"/>\r
+      <choice value="orthodox" text="Orthodox"/>\r
+      <choice value="presbyterian" text="Presbyterian"/>\r
+      <choice value="anglican" text="Anglican"/>\r
+      <choice value="roman_catholic" text="Roman Catholic"/>\r
+      <choice value="evangelical" text="Evangelical"/>\r
+      <choice value="pentecostal" text="Pentecostal"/>\r
+      <choice value="mormon" text="Mormon"/>\r
+      <choice value="sunni" text="Sunni"/>\r
+      <choice value="jehovahs_witness" text="Jehovah's Witness"/>\r
+      <!-- duplicate of Anglican? -->\r
+      <choice value="church_of_england" text="Church of England"/>\r
+      <choice value="greek_orthodox" text="Greek Orthodox"/>\r
+      <choice value="new_apostolic" text="New Apostolic"/>\r
+      <choice value="episcopal" text="Episcopal"/>\r
+      <choice value="russian_orthodox" text="Russian Orthodox"/>\r
+      <choice value="adventist" text="Adventist"/>\r
+      <choice value="seventh_day_adventist" text="Seventh Day Adventist"/>\r
+      <choice value="united_reformed" text="United Reformed"/>\r
+      <choice value="reformed" text="Reformed"/>\r
+      <choice value="iglesia_ni_cristo" text="Iglesia Ni Cristo"/>\r
+      <choice value="uniting" text="Uniting"/>\r
+      <choice value="salvation_army" text="Salvation Army"/>\r
+      <choice value="church_of_scotland" text="Church of Scotland"/>\r
+      <choice value="quaker" text="Quaker"/>\r
+      <choice value="scientist" text="Scientist"/>\r
+      <choice value="shia" text="Shia"/>\r
+      <choice value="congregational" text="Congregational"/>\r
+      <choice value="assembly_of_god" text="Assembly of God"/>\r
+      <choice value="united" text="United"/>\r
+      <choice value="mennonite" text="Mennonite"/>\r
+      <choice value="nazarene" text="Nazarene"/>\r
+      <!-- duplicate of Mormon? -->\r
+      <choice value="latter_day_saints" text="Latter Day Saints"/>\r
+      <choice value="dutch_reformed" text="Dutch Reformed"/>\r
+      <choice value="tibetan" text="Tibetan"/>\r
+      <choice value="shingon" text="Shingon"/>\r
+      <choice value="georgian_orthodox" text="Georgian Orthodox"/>\r
+      <choice value="unitarian" text="Unitarian"/>\r
+      <choice value="brethren" text="Brethren"/>\r
+      <choice value="armenian_apostolic" text="Armenian Apostolic"/>\r
+      <choice value="maronite" text="Maronite"/>\r
+    </input>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Public building">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="amenity" v="public_building"/>\r
+    <tag k="building" v="yes"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Hospital">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/health_hospital.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="amenity" v="hospital"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <feature name="Museum">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/tourist_museum.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="tourism" v="museum"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Shopping centre">\r
+    <category>buildings</category>\r
+    <category>shopping</category>\r
+    <node/>\r
+    <area/>\r
+    <tag k="shop" v="mall"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Zoo">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/tourist_zoo.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="tourism" v="zoo"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Stadium">\r
+    <category>buildings</category>\r
+    <icon image="icons/tourist_blank.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="leisure" v="stadium"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Building">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <!-- This should catch all the "building=*" tags in use: yes, hut, house, residential, entrance, apartments, garage, industrial,  garages, service, manufacture, collapsed... \r
+         Is this possible? -->\r
+    <!-- <tag k="building" v="*"/> -->\r
+    <tag k="building" v="yes"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Sports centre">\r
+    <category>buildings</category>\r
+    <icon image="features/pois/sport_leisure_centre.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <point/>\r
+    <tag k="leisure" v="sports_centre"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="pitchSport"/>\r
+    <inputSet ref="isBuilding"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+</featureGroup>\r
+  
\ No newline at end of file
diff --git a/resources/map_features/landuse.xml b/resources/map_features/landuse.xml
new file mode 100644 (file)
index 0000000..464f3c3
--- /dev/null
@@ -0,0 +1,330 @@
+<!-- This is a bit of a dumping ground for real landuse=*, but also outdoor natural/leisure/agriculture type keys. -->\r
+<featureGroup>\r
+  <feature name="Industrial Area">\r
+    <category>landuse</category>\r
+    <area/>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="landuse" v="industrial"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Offices">\r
+    <category>landuse</category>\r
+    <area/>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="landuse" v="commercial"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Residential Area">\r
+    <category>landuse</category>\r
+    <area/>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="landuse" v="residential"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Retail Area">\r
+    <category>landuse</category>\r
+    <area/>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="landuse" v="retail"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Construction Site">\r
+    <category>landuse</category>\r
+    <area/>\r
+    <icon image="features/pois/building_generic.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="landuse" v="construction"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Marketplace">\r
+    <category>landuse</category>\r
+    <point />\r
+    <area/>\r
+    <icon image="features/pois/shopping_greengrocer.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="amenity" v="marketplace"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Cemetery">\r
+    <category>landuse</category>\r
+    <point />\r
+    <area/>\r
+    <icon image="features/pois/place_of_worship_unknown3.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="landuse" v="cemetery"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Graveyard">\r
+    <category>landuse</category>\r
+    <point />\r
+    <area/>\r
+    <icon image="features/pois/place_of_worship_unknown3.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="amenity" v="grave_yard"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Quarry">\r
+    <category>landuse</category>\r
+    <icon image="features/pois/poi_mine.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="quarry"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Military">\r
+    <category>landuse</category>\r
+    <icon image="features/pois/poi_military_bunker.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="military"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Conservation">\r
+    <category>natural</category>\r
+    <icon image="icons/natural_blank.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="conservation"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+\r
+\r
+  <feature name="Playground">\r
+    <category>sport</category>\r
+    <area/>\r
+    <point/>\r
+    <icon image="features/pois/amenity_playground.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="leisure" v="playground"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Golf course">\r
+    <category>sport</category>\r
+    <area/>\r
+    <icon  image="features/pois/sport_golf.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="leisure" v="golf_course"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Recreation ground">\r
+    <category>landuse</category>\r
+    <category>sport</category>    \r
+    <area/>\r
+    <icon image="features/pois/sport_leisure_centre.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="leisure" v="recreation_ground"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Sports pitch">\r
+    <category>landuse</category>\r
+    <area/>\r
+    <icon image="features/pois/sport_leisure_centre.n.24.png">\r
+      <b>${name}</b>\r
+    </icon>\r
+    <tag k="leisure" v="pitch"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="pitchSport"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <inputSet id="pitchSport">\r
+    <input name="Sport" presence="always" category="Sport" key="sport" type="choice" description="The sport that is predominantly played here.">\r
+      <choice value="9pin" text="9 pin bowling"/>\r
+      <choice value="10pin" text="10 pin bowling"/>\r
+      <choice value="american_football" text="American football"/>\r
+      <choice value="archery" text="Archery"/>\r
+      <choice value="athletics" text="Athletics"/>\r
+      <choice value="australian_football" text="Australian Rules Football"/>\r
+      <choice value="baseball" text="Baseball"/>\r
+      <choice value="basketball" text="Basketball"/>\r
+      <choice value="beachvolleyball" text="Beach volleyball"/>\r
+      <choice value="boules" text="Boules/petanque/bocci"/>\r
+      <choice value="bowls" text="Lawn bowls"/>\r
+      <choice value="canadian_football" text="Canadian football"/>\r
+      <choice value="chess" text="Chess"/>\r
+      <choice value="cricket" text="Cricket"/>\r
+      <choice value="cricket_nets" text="Cricket nets"/>\r
+      <choice value="croquet" text="Croquet"/>\r
+      <choice value="equestrian" text="Equestrian"/>\r
+      <choice value="gaelic_football" text="Gaelic football"/>\r
+      <choice value="gymnastics" text="Gymnastics"/>\r
+      <choice value="team_handball" text="(Team) handball"/>\r
+      <choice value="hockey" text="(Field) hockey"/>\r
+      <choice value="korfball" text="Korball"/>\r
+      <choice value="pelota" text="Pelota"/>\r
+      <choice value="rugby_league" text="Rugby league"/>\r
+      <choice value="rugby_union" text="Rugby union"/>\r
+      <choice value="shooting" text="Shooting"/>\r
+      <choice value="skating" text="Ice skating"/>\r
+      <choice value="skateboard" text="Skateboarding"/>\r
+      <choice value="soccer" text="Soccer/football"/>\r
+      <choice value="swimming" text="Swimming"/>\r
+      <choice value="table_tennis" text="Table tennis"/>\r
+      <choice value="tennis" text="Tennis"/>\r
+      <choice value="volleyball" text="Volleyball"/>\r
+    </input>\r
+  </inputSet>\r
+\r
+  <feature name="Sports track">\r
+    <category>landuse</category>\r
+    <category>sport</category>\r
+    <area/>\r
+    <line/>\r
+    <icon image="features/pois/sport_leisure_centre.n.24.png">\r
+      <b>${name}</b>\r
+      <font size="10pt">A purpose built track for running, cycling, greyhound racing, horse racing.</font>\r
+    </icon>\r
+    <tag k="leisure" v="track"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="roadPhysical"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <!-- **************** Agriculture *************** -->\r
+  <feature name="Farm">\r
+    <category>agriculture</category>\r
+    <icon image="features/pois/landuse_grass.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="farm"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Farmyard">\r
+    <category>agriculture</category>\r
+    <icon image="features/pois/landuse_grass.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="farmyard"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Farmland">\r
+    <category>agriculture</category>\r
+    <icon image="features/pois/landuse_grass.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="farmland"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Field">\r
+    <category>agriculture</category>\r
+    <icon image="features/pois/landuse_grass.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="meadow"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Orchard">\r
+    <category>agriculture</category>\r
+    <icon image="features/pois/landuse_grass.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="orchard"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Vineyard">\r
+    <category>agriculture</category>\r
+    <icon image="features/pois/landuse_grass.n.24.png"/>\r
+    <area/>\r
+    <tag k="landuse" v="vineyard"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+<!-- ************************************************************************\r
+       Natural\r
+       ************************************************************************ -->\r
+\r
+  <feature name="Park">\r
+    <category>natural</category>\r
+    <category>sport</category>\r
+    <icon image="icons/natural_blank.png">\r
+      <b>${name}</b>\r
+      <br/>\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="leisure" v="park"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Forest">\r
+    <category>natural</category>\r
+    <icon image="/features/pois/landuse_coniferous.n.24.png"/>\r
+\r
+    <area/>\r
+    <tag k="landuse" v="forest"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Meadow">\r
+    <category>natural</category>\r
+    <icon image="icons/natural_blank.png"/>\r
+\r
+    <area/>\r
+    <tag k="landuse" v="meadow"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/paths.xml b/resources/map_features/paths.xml
new file mode 100644 (file)
index 0000000..3305765
--- /dev/null
@@ -0,0 +1,166 @@
+<featureGroup>\r
+  <feature name="Footpath">\r
+    <category>paths</category>\r
+    <icon image="features/paths__footway.png">\r
+      ${name} <i>${ref}</i>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dfootway</help>\r
+    <line/>\r
+    <tag k="highway" v="footway"/>\r
+    <inputSet ref="path"/>\r
+    <inputSet ref="common"/>\r
+    <inputset ref="naming"/>\r
+  </feature>\r
+\r
+  <feature name="Cycle path">\r
+    <category>paths</category>\r
+    <icon image="features/paths__bike.png">\r
+      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dcycleway</help>\r
+    <line/>\r
+    <tag k="highway" v="cycleway"/>\r
+    <inputSet ref="path"/>\r
+    <inputSet ref="common"/>\r
+    <inputset ref="naming"/>\r
+  </feature>\r
+\r
+  <feature name="Generic path">\r
+    <category>paths</category>\r
+    <icon >\r
+      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="path"/>\r
+    <inputSet ref="path"/>\r
+    <inputSet ref="common"/>\r
+    <inputset ref="naming"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Pedestrian street">\r
+    <category>paths</category>\r
+    <icon image="features/paths__pedestrian.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <tag k="highway" v="pedestrian"/>\r
+    <!-- pedestrian roads can be lines or areas, with different tags -->\r
+    <!-- TODO - implement this! -->\r
+    <line>\r
+      <tag k="highway" v="pedestrian"/>\r
+    </line>\r
+    <area>\r
+      <tag k="highway" v="pedestrian"/>\r
+      <tag k="area" v="yes"/>\r
+    </area>\r
+    <inputSet ref="minorRoad"/>\r
+    <inputSet ref="common"/>\r
+    <inputset ref="naming"/>\r
+  </feature>\r
+\r
+  <feature name="Bridleway">\r
+    <category>paths</category>\r
+    <icon image="features/paths__bridleway.png">\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="highway" v="bridleway"/>\r
+    <inputSet ref="path"/>\r
+    <inputSet ref="common"/>\r
+    <inputset ref="naming"/>\r
+  </feature>\r
+\r
+  <feature name="Steps">\r
+    <category>paths</category>\r
+    <icon image="features/paths__steps.png">\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsteps</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="steps"/>\r
+    <inputSet ref="path"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Number of steps" key="step_count" description="The number of steps in the way" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+  \r
+  \r
+  <!-- Bicycle routes -->\r
+  <feature name="National Cycle Network">\r
+    <category>paths</category>\r
+    <icon image="features/cycle__ncn.png" background="red" foreground="white">\r
+      <font size="14pt">\r
+        <b>${ref}</b>\r
+      </font>\r
+      <br/>\r
+      <font size="12pt">${name}</font>\r
+    </icon>\r
+\r
+    <relation/>\r
+    <tag k="type" v="route"/>\r
+    <tag k="network" v="ncn"/>\r
+\r
+    <inputSet ref="route"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Regional Cycle Network">\r
+    <category>paths</category>\r
+    <icon image="features/cycle__rcn.png" background="cyan" foreground="white">\r
+      <font size="14pt"><b>${ref}</b></font><br/>\r
+      <font size="12pt">${name}</font>\r
+    </icon>\r
+\r
+    <relation/>\r
+    <tag k="type" v="route"/>\r
+    <tag k="network" v="rcn"/>\r
+\r
+    <inputSet ref="route"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Local Cycle Network">\r
+    <category>paths</category>\r
+    <icon image="features/cycle__lcn.png" background="blue" foreground="white">\r
+      <font size="14pt">\r
+        <b>${ref}</b>\r
+      </font>\r
+      <br/>\r
+      <font size="12pt">${name}</font>\r
+    </icon>\r
+\r
+    <relation/>\r
+    <tag k="type" v="route"/>\r
+    <tag k="network" v="lcn"/>\r
+\r
+    <inputSet ref="route"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+  \r
+  <!-- hiking -->\r
+  \r
+  <feature name="Long Distance Path">\r
+    <category>paths</category>\r
+    <icon image="features/paths__footway.png" background="green" foreground="white">\r
+      <font size="14pt">\r
+        <b>${ref}</b>\r
+      </font>\r
+      <br/>\r
+      <font size="12pt">${name}</font>\r
+    </icon>\r
+\r
+    <relation/>\r
+    <tag k="type" v="route"/>\r
+    <tag k="route" v="foot"/>\r
+\r
+    <inputSet ref="route"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+  \r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/places.xml b/resources/map_features/places.xml
new file mode 100644 (file)
index 0000000..4b8d893
--- /dev/null
@@ -0,0 +1,123 @@
+<featureGroup>\r
+  <feature name="Hamlet">\r
+    <category>places</category>\r
+    <icon image="icons/place.png"/>\r
+    <point/>\r
+    <area/>\r
+    <tag k="place" v="hamlet" />\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="places"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Village">\r
+    <category>places</category>\r
+    <icon image="icons/place.png"/>\r
+    <point/>\r
+    <area/>\r
+    <tag k="place" v="village" />\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="places"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Suburb">\r
+    <category>places</category>\r
+    <icon image="icons/place.png"/>\r
+    <point/>\r
+    <area/>\r
+    <tag k="place" v="suburb" />\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="places"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Town">\r
+    <category>places</category>\r
+    <icon image="icons/place.png"/>\r
+    <point/>\r
+    <area/>\r
+    <tag k="place" v="town" />\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="places"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="City">\r
+    <category>places</category>\r
+    <icon image="icons/place.png"/>\r
+    <point/>\r
+    <area/>\r
+    <tag k="place" v="city" />\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="places"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+  \r
+<!-- Top 10 boundaries in order of usage on taginfo.openstreetmap.de -->\r
+\r
+  <feature name="Admin Boundary">\r
+    <category>places</category>\r
+    <line/>\r
+    <icon image="features/pois/poi_boundary_administrative.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=administrative</help>\r
+    <tag k="boundary" v="administrative"/>\r
+    <input type="number" minimum="2" maximum="10" presence="always" name="Admin Level" key="admin_level" description="The Administrative level" />\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="National Park">\r
+    <category>places</category>\r
+    <category>natural</category>\r
+    <line/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=national_park</help>\r
+    <tag k="boundary" v="national_park"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Post Code">\r
+    <category>places</category>\r
+    <line/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=postal_code</help>\r
+    <tag k="boundary" v="postal_code"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Protected Area">\r
+    <category>places</category>\r
+    <category>natural</category>\r
+    <line/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=protected_area</help>\r
+    <tag k="boundary" v="protected_area"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Town boundary">\r
+    <category>places</category>\r
+    <line/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=town</help>\r
+    <tag k="boundary" v="town"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <!-- boundary=landuse goes here. no idea what it is.-->\r
+\r
+  <feature name="Census boundary">\r
+    <category>places</category>\r
+    <line/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:boundary=census</help>\r
+    <tag k="boundary" v="census"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <!-- next three are marker, postcode_area, administrative. all seem dubious -->\r
+  \r
+  \r
+  \r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/power.xml b/resources/map_features/power.xml
new file mode 100644 (file)
index 0000000..3dedd5f
--- /dev/null
@@ -0,0 +1,82 @@
+<featureGroup>\r
+  <feature name="High-voltage line">\r
+    <category>power</category>\r
+    <icon image="features/power_high.png"/>\r
+    <line/>\r
+    <tag k="power" v="line"/>\r
+    <inputSet ref="powerCables"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Low-voltage line">\r
+    <category>power</category>\r
+    <icon image="features/power_low.png"/>\r
+    <line/>\r
+    <tag k="power" v="minor_line"/>\r
+    <inputSet ref="powerCables"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="High-voltage pylon">\r
+    <category>power</category>\r
+    <icon image="icons/power_tower_24.png"/>\r
+    <point/>\r
+    <tag k="power" v="tower"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Power pole">\r
+    <category>power</category>\r
+    <icon image="icons/power_pole_24.png"/>\r
+    <point/>\r
+    <tag k="power" v="pole"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Plant (station)">\r
+    <category>power</category>\r
+    <icon image="icons/power_blank.png"/>\r
+    <area/>\r
+    <point/>\r
+    <tag k="power" v="generator"/>\r
+    <inputSet ref="names"/>\r
+    <input type="choice" presence="always"  name="Energy source" key="power_source" category="Power">\r
+      <choice value="coal" text="Coal"/>\r
+      <choice value="gas" text="Gas"/>\r
+      <choice value="oil" text="Oil"/>\r
+      <choice value="fossil" text="Unspecified fossil fuel"/>\r
+      <choice value="hydro" text="Hydroelectric"/>\r
+      <choice value="geothermal" text="Geothermal"/>\r
+      <choice value="nuclear" text="Nuclear"/>\r
+      <choice value="wind" text="Wind"/>\r
+      <choice value="photovoltaic" text="Solar PV"/>\r
+      <choice value="solar_thermal" text="Solar thermal"/>\r
+      <choice value="biofuel" text="Biofuel"/>\r
+    </input>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Substation">\r
+    <category>power</category>\r
+    <icon image="icons/power_blank.png"/>"\r
+    <area/>\r
+    <point/>\r
+    <tag k="power" v="station"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Transformer">\r
+    <category>power</category>\r
+    <icon image="icons/power_blank.png"/>\r
+    <area/>\r
+    <point/>\r
+    <tag k="power" v="sub_station"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/roads.xml b/resources/map_features/roads.xml
new file mode 100644 (file)
index 0000000..eaf0bab
--- /dev/null
@@ -0,0 +1,345 @@
+<featureGroup>\r
+  <!-- ************************************************************************\r
+       Roads\r
+       ************************************************************************ -->\r
+\r
+  <feature name="Motorway">\r
+    <category>roads</category>\r
+    <icon image="features/highway__motorway.png">\r
+      <font size="16pt"><b>${ref}</b></font><br/>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="motorway"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Motorway link">\r
+    <category>roads</category>\r
+    <icon image="features/highway__motorway_link.png"/>\r
+    <line/>\r
+    <tag k="highway" v="motorway_link"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Trunk road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__trunk.png">\r
+      <font size="16pt"><b>${ref}</b></font><br/>\r
+      <font size="10pt">${name}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="trunk"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Trunk link">\r
+    <category>roads</category>\r
+    <icon image="features/highway__trunk_link.png"/>\r
+    <line/>\r
+    <tag k="highway" v="trunk_link"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Primary road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__primary.png">\r
+      <font size="16pt"><b>${ref}</b></font><br/>\r
+      <font size="10pt">${name}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="primary"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Primary link">\r
+    <category>roads</category>\r
+    <icon image="features/highway__primary_link.png">\r
+      <font size="16pt"><b>${ref}</b></font><br/>\r
+      <font size="10pt">${name}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary_link</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="primary_link"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Secondary road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__secondary.png">\r
+      <font size="16pt"><b>${ref}</b></font><br/>\r
+      <font size="10pt">${name}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="secondary"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Secondary link">\r
+    <category>roads</category>\r
+    <icon image="features/highway__secondary_link.png">\r
+      <font size="16pt">\r
+        <b>${ref}</b>\r
+      </font>\r
+      <br/>\r
+      <font size="10pt">${name}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary_link</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="secondary_link"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <feature name="Tertiary road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__tertiary.png">\r
+      <font size="14pt"><b>${name}</b></font><br/>\r
+      <font size="10pt">${ref}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="tertiary"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Tertiary link">\r
+    <category>roads</category>\r
+    <icon image="features/highway__tertiary_link.png">\r
+      <font size="14pt"><b>${name}</b></font><br/>\r
+      <font size="10pt">${ref}</font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary_link</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="tertiary_link"/>\r
+\r
+    <inputSet ref="majorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Minor road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__unclassified.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="unclassified"/>\r
+\r
+    <inputSet ref="minorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Residential road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__residential.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+      <br/>\r
+      <font size="8pt">${postal_code}</font>\r
+      <br/>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="residential"/>\r
+\r
+    <inputSet ref="minorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Service road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__service.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>\r
+    <description>\r
+      Access roads\r
+    </description>\r
+\r
+    <line/>\r
+    <tag k="highway" v="service"/>\r
+\r
+    <inputSet ref="minorRoad"/>\r
+    <input type="choice" presence="always" name="Type of service road" key="service" category="">\r
+      <choice value="alley" text="Alleyway/laneway"/>\r
+      <choice value="parking_aisle" text="Parking aisle" description="The path that cars drive on through a parking lot."/>\r
+      <choice value="driveway" text="Driveway"/>\r
+      <choice value="drive-through" text="Drive-through" description="For drive-through restaurants, bottle shops etc."/>\r
+      <choice value="emergency_access" text="Emergency access" description="For firefighters and other emergency services."/>\r
+    </input>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Unknown road">\r
+    <category>roads</category>\r
+    <icon image="features/highway__unknown.png">\r
+      <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="highway" v="road"/>\r
+\r
+    <inputSet ref="minorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Living Street">\r
+    <category>roads</category>\r
+    <icon image="features/highway__living_street.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street</help>\r
+\r
+    <line/>\r
+    <tag k="highway" v="living_street"/>\r
+\r
+    <inputSet ref="minorRoad"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Track">\r
+    <category>roads</category>\r
+    <icon image="features/highway__track.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="highway" v="track"/>\r
+\r
+    <inputSet ref="path"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Raceway/racing track">\r
+    <category>roads</category>\r
+    <category>sport</category>\r
+    <icon>\r
+      <font size="10pt">A purpose built track for racing motor vehicles.</font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <area/>\r
+    <tag k="highway" v="raceway"/>\r
+\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="roadPhysical"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+  \r
+  \r
+  <feature name="Turning circle">\r
+    <category>transport</category>\r
+    <icon image="features/pois/transport_turning_circle.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dturning_circle</help>\r
+    <point/>\r
+    <tag k="highway" v="turning_circle"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Mini Roundabout">\r
+    <category>transport</category>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmini_roundabout</help>\r
+    <point/>\r
+    <tag k="highway" v="mini_roundabout"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Traffic calming">\r
+\r
+    <category>transport</category>\r
+    <icon image="icons/speed_hump_16.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Key:traffic%3Dcalming</help>\r
+    <point/>\r
+    <!-- Warning: creates "traffic_calming=*" by default, but it's the best we can do. Steve Bennett-->\r
+    <!--<tag k="traffic_calming" v="*"/>-->\r
+    <tag k="traffic_calming" v="yes"/>\r
+    <input type="choice" key="traffic_calming" name="Obstacle type" category="Traffic calming" presence="onTagMatch">\r
+      <choice value="yes" text="Unspecified"/>\r
+      <choice value="bump" text="Short bump" description="A sharp speed bump, typically slowing cars to 15 kph or less."/>\r
+      <choice value="hump" text="Speed hump" description="A gentler, longer bump, typically slowing cars to 30 kph or less."/>\r
+      <choice value="cushion" text="Speed cushion" description="A narrow speed bump allowing emergency vehicles and buses to pass without slowing."/>\r
+      <choice value="table" text="Speed table" description="A very long speed hump allowing the whole wheelbase to rest on top."/>\r
+      <choice value="chicane" text="Chicane" description="A set of obstacles causing vehicles to weave through."/>\r
+      <choice value="rumble_strip" text="Rumble strip" description="A series of very small bumps causing vibration or noise."/>\r
+      <choice value="choker" text="Choker" description="An artificial narrowing of the road."/>\r
+    </input>\r
+\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Turn restriction">\r
+    <category>advanced</category>\r
+    <help>http://wiki.openstreetmap.org/wiki/Turn_restrictions</help>\r
+    <relation/>\r
+    <tag k="type" v="restriction"/>\r
+    <input type="choice" category="Restrictions" presence="always" name="Type" key="restriction" description="What's the restriction?" layout="horizontal" priority="high">\r
+      <choice value="no_left_turn"      text="No left turn"/>\r
+      <choice value="no_right_turn"     text="No right turn"/>\r
+      <choice value="no_u_turn"         text="No U turns"/>\r
+      <choice value="no_straight_on"    text="No straight on"/>\r
+      <choice value="only_left_turn"    text="Left turn only"/>\r
+      <choice value="only_right_turn"   text="Right turn only"/>\r
+      <choice value="only_straight_on"  text="Straight on only"/>\r
+    </input>\r
+    <input type="choice" category="Restrictions" presence="always" name="Except" key="except" description="Are any vehicles exempt?" layout="horizontal">\r
+      <choice value="psv"      text="Bus"/>\r
+      <choice value="bicycle"  text="Bicycle"/>\r
+      <choice value="motorcar" text="Car"/>\r
+      <choice value="hgv"      text="HGV"/>\r
+    </input>\r
+    <input type="freetext" category="Restrictions" presence="always" name="Start day"  key="day_on"   description="What day of the week does it start?" layout="horizontal" priority="low"/>\r
+    <input type="freetext" category="Restrictions" presence="always" name="Start time" key="hour_on"  description="What time of day does it start?"     layout="horizontal" priority="low"/>\r
+    <input type="freetext" category="Restrictions" presence="always" name="End day"    key="day_off"  description="What day of the week does it end?"   layout="horizontal" priority="lowest"/>\r
+    <input type="freetext" category="Restrictions" presence="always" name="End time"   key="hour_off" description="What time of day does it end?"       layout="horizontal" priority="lowest"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  \r
+  <!-- Junction nodes (for turn restrictions) -->\r
+\r
+  <feature>\r
+    <point/>\r
+    <within entity="way" k="highway" minimum="2"/>\r
+    <inputSet ref="junctionNode"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+  \r
+  \r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/shopping.xml b/resources/map_features/shopping.xml
new file mode 100644 (file)
index 0000000..674c1c3
--- /dev/null
@@ -0,0 +1,310 @@
+<featureGroup>\r
+  <feature name="Supermarket">\r
+    <category>shopping</category>\r
+    <icon image="features/pois/shopping_supermarket.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket</help>\r
+    <point/>\r
+    <tag k="shop" v="supermarket"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Small Convenience Store">\r
+    <category>shopping</category>\r
+    <icon image="features/pois/shopping_convenience.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dconvenience</help>\r
+    <point/>\r
+    <tag k="shop" v="convenience"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Bakery">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_bakery.n.24.png"/>\r
+    <tag k="shop" v="bakery"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+\r
+  <feature name="Alcohol shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_alcohol.n.24.png"/>\r
+    <tag k="shop" v="alcohol"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <feature name="Bike shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_bicycle.n.24.png"/>\r
+    <tag k="shop" v="bicycle"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bookshop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_book.n.24.png"/>\r
+    <tag k="shop" v="books"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Butcher">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_butcher.n.24.png"/>\r
+    <tag k="shop" v="butcher"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Car sales">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_car.n.24.png"/>\r
+    <tag k="shop" v="car"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Car repair">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_car_repair.n.24.png"/>\r
+    <tag k="shop" v="car_repair"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Clothes shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_clothes.n.24.png"/>\r
+    <tag k="shop" v="clothes"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Confectionery">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_confectionery.n.24.png"/>\r
+    <tag k="shop" v="confectionery"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="DIY">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_diy.n.24.png"/>\r
+    <tag k="shop" v="doityourself"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Fishmonger">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_fish.n.24.png"/>\r
+    <tag k="shop" v="fishmonger"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Florist">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/flowers.png"/>\r
+    <tag k="shop" v="florist"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Garden centre">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_garden_centre.n.24.png"/>\r
+    <tag k="shop" v="garden_centre"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Gift shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_gift.n.24.png"/>\r
+    <tag k="shop" v="gift"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Greengrocer">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_greengrocer.n.24.png"/>\r
+    <tag k="shop" v="greengrocer"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Hairdresser">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_hairdresser.n.24.png"/>\r
+    <tag k="shop" v="hairdresser"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Hifi shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_hifi.n.24.png"/>\r
+    <tag k="shop" v="hifi"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Jewellery">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_jewelry.n.24.png"/>\r
+    <tag k="shop" v="jewelry"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Kiosk">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_jewelry.n.24.png"/>\r
+    <tag k="shop" v="kiosk"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Laundrette">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_laundrette.n.24.png"/>\r
+    <tag k="shop" v="laundry"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Motorbike shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_motorcycle.n.24.png"/>\r
+    <tag k="shop" v="motorcycle"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Music shop">\r
+    <category>shopping</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <icon image="features/pois/shopping_music.n.24.png"/>\r
+    <tag k="shop" v="music"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Pharmacy">\r
+    <category>shopping</category>\r
+    <icon image="features/pois/health_pharmacy.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Pharmacy</help>\r
+    <point/>\r
+    <tag k="amenity" v="pharmacy"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="web"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <input type="checkbox" category="Amenity" presence="always" description="Does this pharmacy sell prescription drugs?" name="Dispensing" key="dispensing" layout="horizontal"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+</featureGroup>\r
+\r
+  
\ No newline at end of file
diff --git a/resources/map_features/tourism.xml b/resources/map_features/tourism.xml
new file mode 100644 (file)
index 0000000..d5ff601
--- /dev/null
@@ -0,0 +1,271 @@
+<featureGroup>\r
+<!-- ========= Accommodation ========= -->\r
+  <feature name="Hotel">\r
+    <category>accommodation</category>\r
+    <icon image="features/pois/accommodation_hotel.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dhotel</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="tourism" v="hotel"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Motel">\r
+    <category>accommodation</category>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmotel</help>\r
+    <point/>\r
+    <area/>\r
+    <icon image="features/pois/accommodation_motel.n.24.png"/>\r
+    <tag k="tourism" v="motel"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <feature name="Hostel">\r
+    <category>accommodation</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/accommodation_youth_hostel.n.24.png"/>\r
+    <tag k="tourism" v="hostel"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <!-- Note that tourism=bed_and_breakfast also gets some use. -->\r
+  <feature name="Guesthouse (B&amp;B)">\r
+    <category>accommodation</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/accommodation_bed_and_breakfast.n.24.png"/>\r
+    <tag k="tourism" v="guest_house"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Campsite">\r
+    <category>accommodation</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/accommodation_camping.n.24.png"/>\r
+    <tag k="tourism" v="camp_site"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Caravan park">\r
+    <category>accommodation</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/accommodation_caravan_park.n.24.png"/>\r
+    <tag k="tourism" v="caravan_site"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Alpine hut">\r
+    <category>accommodation</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/accommodation_alpinehut.n.24.png"/>\r
+    <tag k="tourism" v="alpine_hut"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Chalet">\r
+    <category>accommodation</category>\r
+    <icon image="features/pois/accommodation_chalet.n.24.png"/>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <tag k="tourism" v="chalet"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <!-- ========= Tourism ========= -->\r
+  <feature name="Attraction">\r
+    <category>tourism</category>\r
+    <icon image="features/pois/tourist_attraction.n.24.png">\r
+      <b>${name} ${addr:housename}</b><br/>\r
+      ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="tourism" v="attraction"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="buildingAddress"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Museum">\r
+    <category>tourism</category>\r
+    <icon image="features/pois/tourist_museum.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmuseum</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="tourism" v="museum"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Archaeological">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_archaeological.n.24.png"/>\r
+    <tag k="historic" v="archaeological_site"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Battlefield">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_battlefield.n.24.png"/>\r
+    <tag k="historic" v="battlefield"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Castle">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_castle.n.24.png"/>\r
+    <tag k="historic" v="castle"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Memorial">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_memorial.n.24.png"/>\r
+    <tag k="historic" v="memorial"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Monument">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_monument.n.24.png"/>\r
+    <tag k="historic" v="monument"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Picnic site">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_picnic.n.24.png"/>\r
+    <tag k="tourism" v="picnic_site"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Ruin">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_ruin.n.24.png"/>\r
+    <tag k="historic" v="ruin"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Cinema">\r
+    <category>tourism</category>\r
+    <icon image="features/pois/tourist_cinema.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcinema</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="cinema"/>\r
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the cinema" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Theatre">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_theatre.n.24.png"/>\r
+    <tag k="amenity" v="theatre"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Viewpoint">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/tourist_view_point.n.24.png"/>\r
+    <tag k="tourism" v="viewpoint"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Zoo">\r
+    <category>tourism</category>\r
+    <point/>\r
+    <area/>\r
+    <icon image="features/pois/tourist_zoo.n.24.png"/>\r
+    <tag k="tourism" v="zoo"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Information">\r
+    <category>tourism</category>\r
+    <icon image="features/pois/amenity_information.n.24.png"/>\r
+    <point/>\r
+    <tag k="tourism" v="information"/>\r
+    <inputSet ref="simpleName"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Artwork">\r
+    <category>tourism</category>\r
+    <icon image="features/pois/tourist_art_gallery2.n.24.png"/>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <tag k="tourism" v="artwork"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+  <feature name="Theme park">\r
+    <category>tourism</category>\r
+    <icon image="features/pois/tourist_theme_park.n.24.png"/>\r
+    <point/>\r
+    <area/>\r
+    <inputSet ref="simpleName"/>\r
+    <tag k="tourism" v="theme_park"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/transport.xml b/resources/map_features/transport.xml
new file mode 100644 (file)
index 0000000..91df3df
--- /dev/null
@@ -0,0 +1,480 @@
+<featureGroup>\r
+    <feature name="Railway line">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway.png">\r
+          <font size="14pt">\r
+            <b>${name}</b>\r
+          </font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="rail"/>\r
+        <inputSet ref="bridge"/>\r
+        <inputSet ref="tunnel"/>\r
+        <inputSet ref="embankment-cutting"/>\r
+        <inputSet ref="rail-electrification"/>\r
+        <inputSet ref="rail-usage"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Railway spur">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway.png">\r
+          <font size="14pt">\r
+            <b>${name}</b>\r
+          </font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="rail"/>\r
+        <tag k="service" v="spur"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Railway siding">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway.png">\r
+          <font size="14pt">\r
+            <b>${name}</b>\r
+          </font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="rail"/>\r
+        <tag k="service" v="siding"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Preserved line">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway.png">\r
+          <font size="14pt"><b>${name}</b></font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="preserved"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Disused tracks">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway_disused.png">\r
+          <font size="14pt">\r
+            <b>${name}</b>\r
+          </font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="disused"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Old trackbed">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway_abandoned.png">\r
+          <font size="14pt"><b>${name}</b></font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="abandoned"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Light rail line">\r
+        <category>transport</category>\r
+        <icon image="features/transport__tram.png">\r
+          <font size="14pt">\r
+            <b>${name}</b>\r
+          </font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="light_rail"/>\r
+        <inputSet ref="bridge"/>\r
+        <inputSet ref="tunnel"/>\r
+        <inputset ref="embankment-cutting"/>\r
+        <inputSet ref="rail-electrification"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Tram line">\r
+        <category>transport</category>\r
+        <icon image="features/transport__tram.png">\r
+          <font size="14pt"><b>${name}</b></font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="tram"/>\r
+        <input ref="tram-route"/>\r
+        <inputSet ref="bridge"/>\r
+        <inputSet ref="tunnel"/>\r
+        <inputset ref="embankment-cutting"/>\r
+        <inputSet ref="rail-electrification"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Subway line">\r
+        <category>transport</category>\r
+        <icon image="features/transport__subway.png">\r
+          <font size="14pt">\r
+            <b>${name}</b>\r
+          </font>\r
+        </icon>\r
+    \r
+        <line/>\r
+        <tag k="railway" v="subway"/>\r
+        <inputSet ref="bridge"/>\r
+        <inputSet ref="tunnel"/>\r
+        <inputset ref="embankment-cutting"/>\r
+        <inputSet ref="rail-electrification"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Railway platform">\r
+        <category>transport</category>\r
+        <icon image="features/transport__railway_platform.png"/>\r
+        <line/>\r
+        <area/>\r
+        <tag k="railway" v="platform"/>\r
+        <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The number of the platform" priority="low"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Bus station">\r
+        <category>transport</category>\r
+        <icon image="/features/pois/transport_bus_station.n.24.png">\r
+          <b>${name} ${addr:housename}</b><br/>\r
+          ${addr:housenumber} ${addr:street} ${addr:postcode}\r
+        </icon>\r
+    \r
+        <area/>\r
+        <tag k="amenity" v="bus_station"/>\r
+        <inputSet ref="names"/>\r
+        <inputSet ref="isBuilding"/>\r
+        <inputSet ref="buildingAddress"/>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Airport">\r
+        <category>transport</category>\r
+        <icon image="icons/transport_airport_48.png"/>\r
+        <tag k="aeroway" v="aerodrome"/>\r
+        <area/>\r
+        <point/>\r
+        <inputSet ref="names"/>\r
+        <input type="freetext" presence="always" category="Naming" name="International Air Transport Association (IATA) airport code" key="ref"/>\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Airport terminal">\r
+        <category>transport</category>\r
+        <icon image="features/pois/transport_airport_terminal.n.24.png"/>\r
+        <tag k="aeroway" v="terminal"/>\r
+        <area/>\r
+        <point/>\r
+        <inputSet ref="names"/>\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Helipad">\r
+        <category>transport</category>\r
+        <icon image="icons/transport_helipad_48.png"/>\r
+        <tag k="aeroway" v="helipad"/>\r
+        <area/>\r
+        <point/>\r
+        <inputSet ref="names"/>\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Airport runway">\r
+        <category>transport</category>\r
+        <icon image="icons/transport_blank.png"/>\r
+        <tag k="aeroway" v="runway"/>\r
+        <line/>\r
+        <inputSet ref="names"/>\r
+        <input type="freetext" presence="always" category="Naming" name="Runway number (01-36)" key="ref"/>\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Airport taxiway">\r
+        <category>transport</category>\r
+        <icon image="icons/transport_blank.png"/>\r
+        <tag k="aeroway" v="taxiway"/>\r
+        <line/>\r
+        <inputSet ref="names"/>\r
+        <input type="freetext" presence="always" category="Naming" name="Taxiway number" key="ref" />\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Airport apron">\r
+        <category>transport</category>\r
+        <icon image="icons/transport_blank.png"/>\r
+        <tag k="aeroway" v="apron"/>\r
+        <area/>\r
+        <inputSet ref="names"/>\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+    \r
+    \r
+      <feature name="Airport gate">\r
+        <category>transport</category>\r
+        <icon image="features/pois/transport_airport_gate.n.24.png"/>\r
+        <tag k="aeroway" v="gate"/>\r
+        <point/>\r
+        <input type="freetext" presence="always" category="Naming" name="Gate number" key="ref"/>\r
+        <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>\r
+        <inputSet ref="common"/>\r
+      </feature>\r
+      \r
+      \r
+<feature name="Aerodrome">\r
+    <category>aeroway</category>\r
+    <icon image="features/pois/transport_aerodrome.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>\r
+    <point/>\r
+    <tag k="aeroway" v="aerodrome"/>\r
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the aerodrome/airport" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bus Stop">\r
+    <category>transport</category>\r
+    <icon image="features/pois/transport_bus_stop2.n.24.png">\r
+      ${name} ${local_ref}\r
+    </icon>\r
+    <point/>\r
+    <tag k="highway" v="bus_stop"/>\r
+    <inputSet ref="buses"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Car Parking">\r
+    <category>transport</category>\r
+    <icon image="features/pois/transport_parking_car.n.24.png">\r
+      ${name}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dparking</help>\r
+    <point/>\r
+    <area/>\r
+    <tag k="amenity" v="parking"/>\r
+    <inputSet ref="names"/>\r
+    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>\r
+    <input type="number" minimum="0" maximum="99999" stepSize="1" presence="always" category="Parking" name="Capacity" key="capacity" description="The number of cars that can be parked in the car park"/>\r
+    <inputSet ref="fee"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bicycle Parking">\r
+    <category>transport</category>\r
+    <icon image="features/pois/transport_parking_bicycle.n.24.png">\r
+      ${name} ${capacity}\r
+    </icon>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbicycle_parking</help>\r
+    <point/>\r
+    <tag k="amenity" v="bicycle_parking"/>\r
+    <inputSet ref="names"/>\r
+    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>\r
+    <input type="number" minimum="0" maximum="99999" stepSize="1"\r
+        presence="always" category="Cycle" name="Capacity" key="capacity"\r
+        description="The number of bicycles that can be parked in the group of bicycle parking racks"/>\r
+    <inputSet ref="fee"/>\r
+    <input type="choice" presence="always" category="Cycle" name="Covered" key="covered" description="Is the cycle parking covered, so that the bikes are kept dry?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Railway station">\r
+    <category>transport</category>\r
+    <icon image="features/pois/transport_train_station.n.24.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <point/>\r
+    <tag k="railway" v="station"/>\r
+    <inputSet ref="names"/>\r
+    <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The shortcode/reference for the station" priority="low"/>\r
+    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the service" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Fuel">\r
+    <category>transport</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/transport_fuel.n.24.png"/>\r
+    <tag k="amenity" v="fuel"/>\r
+    <input type="freetext" category="Naming" name="Operator" key="operator" description="The provider of the service"/>\r
+    <input type="choice" category="Fuels" name="Diesel" key="diesel" description="Is diesel fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Octane 91" key="diesel" description="Is octane 91 unleaded fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Octane 95" key="octane_95" description="Is octane 95 unleaded fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Octane 98" key="octane_98" description="Is octane 98 unleaded fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Octane 100" key="octane_100" description="Is octane 100 unleaded fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Ethanol" key="ethanol" description="Is ethanol sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="LPG" key="lpg" description="Is LPG (liquid petroleum gas) sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Octane 91" key="diesel" description="Is octane 91 unleaded fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+    <input type="choice" category="Fuels" name="Bio-diesel" key="biodiesel" description="Is biodiesel unleaded fuel sold here?">\r
+      <choice value="yes" text="Yes"/>\r
+      <choice value="no" text="No"/>\r
+    </input>\r
+\r
+\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bus station">\r
+    <category>transport</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/transport_bus_station.n.24.png"/>\r
+    <tag k="amenity" v="bus_station"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Taxi rank">\r
+    <category>transport</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/transport_taxi_rank.n.24.png"/>\r
+    <tag k="amenity" v="taxi"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Tram stop">\r
+    <category>transport</category><point/><inputSet ref="simpleName" />\r
+    <icon image="features/pois/transport_tram_stop.n.24.png"/>\r
+    <tag k="railway" v="tram_stop"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Bicycle rental">\r
+    <category>transport</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/transport_rental_bicycle.n.24.png"/>\r
+    <tag k="amenity" v="bicycle_rental"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Car rental">\r
+    <category>transport</category>\r
+    <point/>\r
+    <inputSet ref="simpleName"/>\r
+    <icon image="features/pois/transport_rental_car.n.24.png"/>\r
+    <tag k="amenity" v="car_rental"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Ferry Terminal">\r
+    <category>transport</category>\r
+    <icon image="features/pois/transport_port.n.24.png"/>\r
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>\r
+    <point/>\r
+    <tag k="amenity" v="ferry_terminal"/>\r
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the ferry terminal."/>\r
+    <input type="freetext" presence="always" category="" name="Operator" key="operator" description="The operator of the ferry terminal." priority="low"/>\r
+    <input type="freetext" presence="onTagMatch" category="Cargo" name="Cargo" key="cargo" description="The cargo shipped from here." priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <!-- public transit routes -->\r
+  <feature name="Bus Route">\r
+    <category>transport</category>\r
+    <icon image="features/transport__bus.png">\r
+      <font size="12pt">\r
+        ${operator} <b>${ref}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <relation/>\r
+    <tag k="type" v="route"/>\r
+    <tag k="route" v="bus"/>\r
+\r
+    <inputSet ref="route"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the bus service" priority="low"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the bus service" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Tram Route">\r
+    <category>transport</category>\r
+    <icon image="features/transport__tram.png">\r
+      <font size="12pt">\r
+        ${operator} <b>${reg}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <relation/>\r
+    <tag k="type" v="route"/>\r
+    <tag k="route" v="tram"/>\r
+\r
+    <inputSet ref="route"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the tram service" priority="low"/>\r
+    <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the tram service" priority="low"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+      \r
+</featureGroup>
\ No newline at end of file
diff --git a/resources/map_features/water.xml b/resources/map_features/water.xml
new file mode 100644 (file)
index 0000000..1787c9e
--- /dev/null
@@ -0,0 +1,206 @@
+<featureGroup>\r
+  <feature name="Stream">\r
+    <category>water</category>\r
+    <description>A very narrow river.</description>\r
+    <icon image="features/waterway__stream.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="waterway" v="stream"/>\r
+    <inputSet ref="waterways"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="River">\r
+    <category>water</category>\r
+    <icon image="features/waterway__river.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="waterway" v="river"/>\r
+    <inputSet ref="waterways"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Canal">\r
+    <category>water</category>\r
+    <icon image="features/waterway__canal.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="waterway" v="canal"/>\r
+    <inputSet ref="waterways"/>\r
+    <inputSet ref="tunnel"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Drain">\r
+    <category>water</category>\r
+    <icon image="features/waterway__drain.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <tag k="waterway" v="drain"/>\r
+    <inputSet ref="tunnel"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Dam">\r
+    <!-- Moved to "barrier" because this describes the dam wall, not the water. -->\r
+    <category>barrier</category>\r
+    <icon image="features/waterway__dam.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <area/>\r
+    <tag k="waterway" v="dam"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Riverbank">\r
+    <category>water</category>\r
+    <icon image="features/pois/water_generic.24.png">\r
+      <font size="14pt"><b>${name}</b></font>\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="waterway" v="riverbank"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Reservoir">\r
+    <category>water</category>\r
+    <icon image="features/pois/water_generic.24.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="landuse" v="reservoir"/>\r
+    <inputSet ref="boatPermissions"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Lake">\r
+    <category>water</category>\r
+    <icon image="features/pois/water_generic.24.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+    <area/>\r
+    <tag k="natural" v="water"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="boatPermissions"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Basin">\r
+    <category>water</category>\r
+    <icon image="features/pois/water_generic.24.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="landuse" v="basin"/>\r
+    <inputSet ref="boatPermissions"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Weir">\r
+    <category>water</category>\r
+    <icon image="features/waterway__weir.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <line/>\r
+    <point/>\r
+    <tag k="waterway" v="weir"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+\r
+\r
+  <feature name="Dock">\r
+    <category>water</category>\r
+    <icon image="features/pois/water_generic.24.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <area/>\r
+    <tag k="waterway" v="dock"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Marina">\r
+    <category>water</category>\r
+    <icon image="features/pois/transport_marina.n.24.png">\r
+      <font size="14pt">\r
+        <b>${name}</b>\r
+      </font>\r
+    </icon>\r
+\r
+    <area/>\r
+    <point/>\r
+    <tag k="leisure" v="marina"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+\r
+  <feature name="Slipway">\r
+    <category>water</category>\r
+    <icon image="features/waterway__slipway.png" />\r
+    <line/>\r
+    <tag k="leisure" v="slipway"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Slipway">\r
+    <category>water</category>\r
+    <!-- icon from http://www.clker.com/clipart-map-symbols-boat-launch-white.html, feel free to (re)move this notice -->\r
+    <icon image="features/pois/boat-launch-24.png"/>\r
+    <point />\r
+    <tag k="leisure" v="slipway"/>\r
+    <inputSet ref="names"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+\r
+  <feature name="Coastline">\r
+    <category>water</category>\r
+    <line/>\r
+    <tag k="natural" v="coastline"/>\r
+    <inputSet ref="common"/>\r
+  </feature>\r
+</featureGroup>
\ No newline at end of file