Update Potlatch 2 to 2.3-89-ga94491f build

This commit is contained in:
Tom Hughes 2011-11-11 19:58:05 +00:00
parent f2d205a59e
commit 4e9af2b5dc
8 changed files with 46 additions and 21 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -532,7 +532,32 @@
</inputSet> </inputSet>
<inputSet id="isBuilding"> <inputSet id="isBuilding">
<input type="checkbox" presence="onTagMatch" category="Details" description="Does this thing also represent one, solid building?" name="Building" key="building"/> <input type="choice" presence="withCategory" category="Details" name="Building type, if it is one" key="building">
<choice value="yes" text="Generic building"/>
<choice value="residential" text="Generic residential"/>
<choice value="apartments" text="Big apartments house"/>
<choice value="terrace" text="Terraced house"/>
<choice value="house" text="Family house"/>
<choice value="hut" text="Small hut"/>
<choice value="garage" text="A garage"/>
<choice value="garages" text="Block of garages"/>
<choice value="office" text="Office building"/>
<choice value="public" text="Public building"/>
<choice value="industrial" text="Generic industrial"/>
<choice value="manufacture" text="Manufacture"/>
<choice value="warehouse" text="Warehouse"/>
<choice value="hangar" text="Hangar"/>
<choice value="storage_tank" text="Fluids storage tank"/>
<choice value="retail" text="Retail"/>
<choice value="supermarket" text="Supermarket"/>
<choice value="train_station" text="Train station"/>
<choice value="church" text="Church"/>
<choice value="school" text="School"/>
<choice value="bunker" text="Military bunker"/>
<choice value="collapsed" text="Collapsed building"/>
<choice value="roof" text="Just a roof"/>
<help>http://wiki.openstreetmap.org/wiki/Key:building</help>
</input>
</inputSet> </inputSet>
<inputSet id="powerCables"> <inputSet id="powerCables">
@ -614,8 +639,8 @@
<include file="map_features/shopping.xml" /> <!-- no clear distinction between this, amenities and buildings --> <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/amenities.xml" /> <!-- includes cafe, bar... -->
<include file="map_features/landuse.xml" /> <!-- includes outdoor leisure/sporting stuff, agriculture, natural. --> <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... -->
<include file="map_features/man_made.xml" /> <include file="map_features/man_made.xml" />
<include file="map_features/buildings.xml" /> <!-- a bit of a dumping ground, includes sports centre, shopping centre, hospital... -->

View file

@ -234,25 +234,6 @@
</feature> </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/>
<point/>
<!-- 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"> <feature name="Sports centre">
<category>buildings</category> <category>buildings</category>
<icon image="features/pois/sport_leisure_centre.n.24.png"> <icon image="features/pois/sport_leisure_centre.n.24.png">
@ -269,5 +250,24 @@
<inputSet ref="isBuilding"/> <inputSet ref="isBuilding"/>
<inputSet ref="common"/> <inputSet ref="common"/>
</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">
<b>${name} ${addr:housename}</b><br/>
${addr:housenumber} ${addr:street} ${addr:postcode}
</icon>
<area/>
<point/>
<tag k="building" v="yes" vmatch="*"/>
<inputSet ref="isBuilding"/>
<inputSet ref="names"/>
<inputSet ref="buildingAddress"/>
<inputSet ref="common"/>
</feature>
</featureGroup> </featureGroup>

Binary file not shown.