]> git.openstreetmap.org Git - rails.git/blob - public/potlatch2/map_features/buildings.xml
aa1b7da4bde8c218203f61c470236783d63e6139
[rails.git] / public / potlatch2 / map_features / buildings.xml
1 <featureGroup>
2   <feature name="School">
3     <category>buildings</category>
4     <icon image="features/pois/education_school.n.24.png">
5       <b>${name} ${addr:housename}</b><br/>
6       ${addr:housenumber} ${addr:street} ${addr:postcode}
7     </icon>
8
9     <area/>
10     <tag k="amenity" v="school"/>
11     <inputSet ref="isBuilding"/>
12     <inputSet ref="names"/>
13     <inputSet ref="buildingAddress"/>
14     <inputSet ref="common"/>
15   </feature>
16
17
18   <feature name="College">
19     <category>buildings</category>
20     <icon image="features/pois/education_university.n.24.png">
21       <b>${name} ${addr:housename}</b><br/>
22       ${addr:housenumber} ${addr:street} ${addr:postcode}
23     </icon>
24
25     <area/>
26     <tag k="amenity" v="college"/>
27     <inputSet ref="names"/>
28     <inputSet ref="buildingAddress"/>
29     <inputSet ref="isBuilding"/>
30     <inputSet ref="common"/>
31   </feature>
32
33   <feature name="University">
34     <category>buildings</category>
35     <icon image="features/pois/education_university.n.24.png">
36       <b>${name} ${addr:housename}</b><br/>
37       ${addr:housenumber} ${addr:street} ${addr:postcode}
38     </icon>
39
40     <area/>
41     <tag k="amenity" v="university"/>
42     <inputSet ref="names"/>
43     <inputSet ref="buildingAddress"/>
44     <inputSet ref="isBuilding"/>
45     <inputSet ref="common"/>
46   </feature>
47
48
49   <feature name="Supermarket">
50     <category>buildings</category>
51     <icon image="features/pois/shopping_supermarket.n.24.png">
52       <b>${name} ${addr:housename}</b><br/>
53       ${addr:housenumber} ${addr:street} ${addr:postcode}
54     </icon>
55
56     <area/>
57     <tag k="shop" v="supermarket"/>
58     <inputSet ref="names"/>
59     <inputSet ref="buildingAddress"/>
60     <inputSet ref="isBuilding"/>
61     <inputSet ref="common"/>
62   </feature>
63
64
65   <feature name="Place of worship">
66     <category>buildings</category>
67     <icon image="icons/place_of_worship.png">
68       <b>${name} ${addr:housename}</b><br/>
69       ${addr:housenumber} ${addr:street} ${addr:postcode}
70     </icon>
71
72     <area/>
73     <tag k="amenity" v="place_of_worship"/>
74     <inputSet ref="names"/>
75     <inputSet ref="buildingAddress"/>
76     <!-- sorted in reverse order of popularity in taginfo. -->
77     <input type="choice" category="Details" name="Religion" key="religion" description="The religion to which this place of worship belongs." presence="always">
78       <choice value="christian" text="Christianity (church)"/>
79       <choice value="muslim" text="Islam (mosque)"/>
80       <choice value="buddhist" text="Buddhist (temple)"/>
81       <choice value="jewish" text="Judaism (synagogue)"/>
82       <choice value="hindu" text="Hindu (temple)"/>
83       <choice value="sikh" text="Sikh (gurdwara)"/>
84       <choice value="spiritualist" text="Spiritualism"/>
85       <choice value="unitarian" text="Unitarianism"/>
86       <choice value="taoist" text="Taoism"/>
87       <choice value="multifaith" text="Multi-faith"/>
88       <choice value="scientologist" text="Scientology"/>
89       <choice value="bahai" text="Bahai"/>
90     </input>
91     <!-- sorted in reverse order of popularity in taginfo. -->
92     <input type="choice" category="Details" name="Denomination" key="denomination" description="The denomination, or sub-branch of the main religion." presence="always">
93       <choice value="catholic" text="Catholic"/>
94       <choice value="baptist" text="Baptist"/>
95       <choice value="methodist" text="Methodist"/>
96       <choice value="lutheran" text="Lutheran"/>
97       <choice value="protestant" text="Prostant"/>
98       <choice value="orthodox" text="Orthodox"/>
99       <choice value="presbyterian" text="Presbyterian"/>
100       <choice value="anglican" text="Anglican"/>
101       <choice value="roman_catholic" text="Roman Catholic"/>
102       <choice value="evangelical" text="Evangelical"/>
103       <choice value="pentecostal" text="Pentecostal"/>
104       <choice value="mormon" text="Mormon"/>
105       <choice value="sunni" text="Sunni"/>
106       <choice value="jehovahs_witness" text="Jehovah's Witness"/>
107       <!-- duplicate of Anglican? -->
108       <choice value="church_of_england" text="Church of England"/>
109       <choice value="greek_orthodox" text="Greek Orthodox"/>
110       <choice value="new_apostolic" text="New Apostolic"/>
111       <choice value="episcopal" text="Episcopal"/>
112       <choice value="russian_orthodox" text="Russian Orthodox"/>
113       <choice value="adventist" text="Adventist"/>
114       <choice value="seventh_day_adventist" text="Seventh Day Adventist"/>
115       <choice value="united_reformed" text="United Reformed"/>
116       <choice value="reformed" text="Reformed"/>
117       <choice value="iglesia_ni_cristo" text="Iglesia Ni Cristo"/>
118       <choice value="uniting" text="Uniting"/>
119       <choice value="salvation_army" text="Salvation Army"/>
120       <choice value="church_of_scotland" text="Church of Scotland"/>
121       <choice value="quaker" text="Quaker"/>
122       <choice value="scientist" text="Scientist"/>
123       <choice value="shia" text="Shia"/>
124       <choice value="congregational" text="Congregational"/>
125       <choice value="assembly_of_god" text="Assembly of God"/>
126       <choice value="united" text="United"/>
127       <choice value="mennonite" text="Mennonite"/>
128       <choice value="nazarene" text="Nazarene"/>
129       <!-- duplicate of Mormon? -->
130       <choice value="latter_day_saints" text="Latter Day Saints"/>
131       <choice value="dutch_reformed" text="Dutch Reformed"/>
132       <choice value="tibetan" text="Tibetan"/>
133       <choice value="shingon" text="Shingon"/>
134       <choice value="georgian_orthodox" text="Georgian Orthodox"/>
135       <choice value="unitarian" text="Unitarian"/>
136       <choice value="brethren" text="Brethren"/>
137       <choice value="armenian_apostolic" text="Armenian Apostolic"/>
138       <choice value="maronite" text="Maronite"/>
139     </input>
140     <inputSet ref="isBuilding"/>
141     <inputSet ref="common"/>
142   </feature>
143
144
145   <feature name="Public building">
146     <category>buildings</category>
147     <icon image="features/pois/building_generic.png">
148       <b>${name} ${addr:housename}</b><br/>
149       ${addr:housenumber} ${addr:street} ${addr:postcode}
150     </icon>
151
152     <area/>
153     <tag k="amenity" v="public_building"/>
154     <tag k="building" v="yes"/>
155     <inputSet ref="names"/>
156     <inputSet ref="buildingAddress"/>
157     <inputSet ref="common"/>
158   </feature>
159
160
161   <feature name="Hospital">
162     <category>buildings</category>
163     <icon image="features/pois/health_hospital.n.24.png">
164       <b>${name} ${addr:housename}</b><br/>
165       ${addr:housenumber} ${addr:street} ${addr:postcode}
166     </icon>
167
168     <area/>
169     <tag k="amenity" v="hospital"/>
170     <inputSet ref="names"/>
171     <inputSet ref="buildingAddress"/>
172     <inputSet ref="isBuilding"/>
173     <inputSet ref="common"/>
174   </feature>
175
176
177
178   <feature name="Museum">
179     <category>buildings</category>
180     <icon image="features/pois/tourist_museum.n.24.png">
181       <b>${name} ${addr:housename}</b><br/>
182       ${addr:housenumber} ${addr:street} ${addr:postcode}
183     </icon>
184
185     <area/>
186     <tag k="tourism" v="museum"/>
187     <inputSet ref="names"/>
188     <inputSet ref="buildingAddress"/>
189     <inputSet ref="isBuilding"/>
190     <inputSet ref="common"/>
191   </feature>
192
193   <feature name="Shopping centre">
194     <category>buildings</category>
195     <category>shopping</category>
196     <node/>
197     <area/>
198     <tag k="shop" v="mall"/>
199     <inputSet ref="names"/>
200     <inputSet ref="buildingAddress"/>
201     <inputSet ref="isBuilding"/>
202     <inputSet ref="common"/>
203   </feature>
204
205   <feature name="Zoo">
206     <category>buildings</category>
207     <icon image="features/pois/tourist_zoo.n.24.png">
208       <b>${name} ${addr:housename}</b><br/>
209       ${addr:housenumber} ${addr:street} ${addr:postcode}
210     </icon>
211
212     <area/>
213     <tag k="tourism" v="zoo"/>
214     <inputSet ref="names"/>
215     <inputSet ref="buildingAddress"/>
216     <inputSet ref="isBuilding"/>
217     <inputSet ref="common"/>
218   </feature>
219
220
221   <feature name="Stadium">
222     <category>buildings</category>
223     <icon image="features/pois/sport_stadium.n.24.png">
224       <b>${name} ${addr:housename}</b><br/>
225       ${addr:housenumber} ${addr:street} ${addr:postcode}
226     </icon>
227
228     <area/>
229     <tag k="leisure" v="stadium"/>
230     <inputSet ref="names"/>
231     <inputSet ref="buildingAddress"/>
232     <inputSet ref="isBuilding"/>
233     <inputSet ref="common"/>
234   </feature>
235
236
237   <feature name="Sports centre">
238     <category>buildings</category>
239     <icon image="features/pois/sport_leisure_centre.n.24.png">
240       <b>${name} ${addr:housename}</b><br/>
241       ${addr:housenumber} ${addr:street} ${addr:postcode}
242     </icon>
243
244     <area/>
245     <point/>
246     <tag k="leisure" v="sports_centre"/>
247     <inputSet ref="names"/>
248     <inputSet ref="buildingAddress"/>
249     <inputSet ref="pitchSport"/>
250     <inputSet ref="isBuilding"/>
251     <inputSet ref="common"/>
252   </feature>
253
254
255   <!-- Generic building. Should be last in the entire xml chain -->
256   <!-- When user changes feature to some amenity, building tag is cleared. This should not be. -->
257   <feature name="Building">
258     <category>buildings</category>
259     <icon image="features/pois/building_generic.png">
260       <b>${name} ${addr:housename}</b><br/>
261       ${addr:housenumber} ${addr:street} ${addr:postcode}
262     </icon>
263
264     <area/>
265     <point/>
266     <tag k="building" v="yes" vmatch="*"/>
267     <inputSet ref="isBuilding"/>
268     <inputSet ref="names"/>
269     <inputSet ref="buildingAddress"/>
270     <inputSet ref="common"/>
271   </feature>
272 </featureGroup>
273