]> git.openstreetmap.org Git - rails.git/blobdiff - public/potlatch2/map_features/buildings.xml
Move swfobject to the vendor assets tree
[rails.git] / public / potlatch2 / map_features / buildings.xml
index 5a3205f67242a543b36bfdbc9027f7f1e08ae80e..e825026898569d34add085fddab0e207904ffc34 100644 (file)
@@ -74,7 +74,7 @@
     <inputSet ref="names"/>
     <inputSet ref="buildingAddress"/>
     <!-- sorted in reverse order of popularity in taginfo. -->
     <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">
+    <input type="choice" category="Details" 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="christian" text="Christianity (church)"/>
       <choice value="muslim" text="Islam (mosque)"/>
       <choice value="buddhist" text="Buddhist (temple)"/>
@@ -89,7 +89,7 @@
       <choice value="bahai" text="Bahai"/>
     </input>
     <!-- sorted in reverse order of popularity in taginfo. -->
       <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">
+    <input type="choice" category="Details" 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="catholic" text="Catholic"/>
       <choice value="baptist" text="Baptist"/>
       <choice value="methodist" text="Methodist"/>
 
   <feature name="Stadium">
     <category>buildings</category>
 
   <feature name="Stadium">
     <category>buildings</category>
-    <icon image="icons/tourist_blank.png">
+    <icon image="features/pois/sport_stadium.n.24.png">
       <b>${name} ${addr:housename}</b><br/>
       ${addr:housenumber} ${addr:street} ${addr:postcode}
     </icon>
       <b>${name} ${addr:housename}</b><br/>
       ${addr:housenumber} ${addr:street} ${addr:postcode}
     </icon>
   </feature>
 
 
   </feature>
 
 
+  <!-- Generic building. Should be last in the entire xml chain -->
+  <!-- When user changes feature to some amenity, building tag is cleared. This should not be. -->
   <feature name="Building">
     <category>buildings</category>
     <icon image="features/pois/building_generic.png">
   <feature name="Building">
     <category>buildings</category>
     <icon image="features/pois/building_generic.png">
       ${addr:housenumber} ${addr:street} ${addr:postcode}
     </icon>
 
       ${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/>
     <area/>
     <point/>
-    <tag k="leisure" v="sports_centre"/>
+    <tag k="building" v="yes" vmatch="*"/>
+    <inputSet ref="isBuilding"/>
     <inputSet ref="names"/>
     <inputSet ref="buildingAddress"/>
     <inputSet ref="names"/>
     <inputSet ref="buildingAddress"/>
-    <inputSet ref="pitchSport"/>
-    <inputSet ref="isBuilding"/>
     <inputSet ref="common"/>
   </feature>
 </featureGroup>
     <inputSet ref="common"/>
   </feature>
 </featureGroup>