Ensure consistent capitalisation of interface by hunting down rogue name=name feature...
authorAndy Allan <gravitystorm@gmail.com>
Tue, 15 Feb 2011 17:30:16 +0000 (17:30 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Tue, 15 Feb 2011 17:30:16 +0000 (17:30 +0000)
resources/map_features.xml
resources/map_features/amenities.xml
resources/map_features/tourism.xml
resources/map_features/transport.xml

index b9108c1..d79146c 100644 (file)
@@ -506,7 +506,7 @@ Quick documentation:
   </inputSet>
 
   <inputSet id="waterways">
   </inputSet>
 
   <inputSet id="waterways">
-    <input type="freetext" presence="always" name="Name" category="Naming" key="name" description="The name"/>
+    <inputSet ref="simpleName"/>
     <input type="freetext" presence="always" name="Width" category="Properties" key="width" description="The width in metres"/>
     <inputSet ref="boatPermissions"/>
   </inputSet>
     <input type="freetext" presence="always" name="Width" category="Properties" key="width" description="The width in metres"/>
     <inputSet ref="boatPermissions"/>
   </inputSet>
index 6a28b29..561c0f5 100644 (file)
@@ -7,7 +7,7 @@
     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>\r
     <point/>\r
     <tag k="amenity" v="fire_station"/>\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="simpleName" />\r
     <inputSet ref="common"/>\r
   </feature>\r
 \r
     <inputSet ref="common"/>\r
   </feature>\r
 \r
@@ -44,7 +44,7 @@
     <point/>\r
     <area/>\r
     <tag k="amenity" v="hospital"/>\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
+    <inputSet ref="simpleName"/>\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 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
@@ -59,7 +59,7 @@
     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>\r
     <point/>\r
     <tag k="amenity" v="place_of_worship"/>\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
+    <inputSet ref="simpleName" />\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
     <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
index d5ff601..826a52e 100644 (file)
     <point/>\r
     <area/>\r
     <tag k="amenity" v="cinema"/>\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="simpleName"/>\r
     <inputSet ref="common"/>\r
   </feature>\r
 \r
     <inputSet ref="common"/>\r
   </feature>\r
 \r
index 026dcd2..a039e0a 100644 (file)
     <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>
     <point/>
     <tag k="aeroway" v="aerodrome"/>
     <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="simpleName"/>
     <inputSet ref="common"/>
   </feature>
 
     <inputSet ref="common"/>
   </feature>
 
     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>
     <point/>
     <tag k="amenity" v="ferry_terminal"/>
     <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."/>
+    <inputSet ref="simpleName" />
     <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"/>
     <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"/>