Move rendering_types.xml to resources

This commit is contained in:
Victor Shcherb 2013-06-21 09:34:12 +02:00
parent 4e8196096a
commit 7087b718a5
4 changed files with 11 additions and 839 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
*.render.xml *.render.xml
routing*.xml routing*.xml
rendering_types.xml
countries.reginfo countries.reginfo
h_*.png h_*.png
g_*.png g_*.png

View file

@ -38,6 +38,11 @@
<include name="*.xml"/> <include name="*.xml"/>
</fileset> </fileset>
</copy> </copy>
<copy todir="${src.absolute.dir}/net/osmand/osm/">
<fileset dir="../../resources/obf_creation/" >
<include name="rendering_types.xml"/>
</fileset>
</copy>
<copy todir="${src.absolute.dir}/net/osmand/map/"> <copy todir="${src.absolute.dir}/net/osmand/map/">
<fileset dir="../../resources/countries-info/" > <fileset dir="../../resources/countries-info/" >
<include name="countries.reginfo"/> <include name="countries.reginfo"/>

View file

@ -1,839 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<osmand_types>
<!-- currently name tags are indexed with name and additional in nameTags separated by comma-->
<!-- additional -->
<type tag="oneway" value="yes" minzoom="15" additional="true"/>
<type tag="oneway" value="true" target_value="yes" minzoom="15" additional="true"/>
<type tag="oneway" value="no" minzoom="15" additional="true"/>
<type tag="oneway" value="false" target_value="no" minzoom="15" additional="true"/>
<type tag="oneway" value="-1" minzoom="15" additional="true"/>
<type tag="oneway" value="reverse" target_value="-1" minzoom="15" additional="true"/>
<type tag="access" value="no" minzoom="15" additional="true"/>
<type tag="access" value="false" target_value="no" minzoom="15" additional="true"/>
<type tag="access" value="private" minzoom="15" additional="true"/>
<type tag="access" value="yes" minzoom="15" additional="true"/>
<type tag="access" value="true" target_value="yes" minzoom="15" additional="true"/>
<type tag="layer" value="0" minzoom="10" additional="true"/>
<type tag="layer" value="1" minzoom="10" additional="true"/>
<type tag="layer" value="-1" minzoom="10" additional="true"/>
<type tag="layer" value="+1" target_value="1" minzoom="10" additional="true"/>
<type tag="layer" value="2" target_value="1" minzoom="10" additional="true"/>
<type tag="layer" value="+2" target_value="1" minzoom="10" additional="true"/>
<type tag="layer" value="-2" target_value="-1" minzoom="10" additional="true"/>
<type tag="layer" value="3" target_value="1" minzoom="10" additional="true"/>
<type tag="layer" value="+3" target_value="1" minzoom="10" additional="true"/>
<type tag="layer" value="-3" target_value="-1" minzoom="10" additional="true"/>
<type tag="bridge" value="yes" minzoom="10" additional="true"/>
<type tag="tunnel" value="yes" minzoom="10" additional="true"/>
<category name="highway">
<type tag="highway" value="motorway" minzoom="5" nameTags="ref"/>
<type tag="highway" value="motorway_link" minzoom="10" nameTags="ref"/>
<type tag="highway" value="trunk" minzoom="5" nameTags="ref"/>
<type tag="highway" value="trunk_link" minzoom="10" nameTags="ref"/>
<type tag="highway" value="primary" minzoom="7" nameTags="ref"/>
<type tag="highway" value="primary_link" minzoom="10" nameTags="ref"/>
<type tag="highway" value="secondary" minzoom="9" nameTags="ref"/>
<type tag="highway" value="secondary_link" minzoom="10" nameTags="ref"/>
<type tag="highway" value="tertiary" minzoom="10" nameTags="ref"/>
<type tag="highway" value="tertiary_link" minzoom="11" nameTags="ref"/>
<type tag="highway" value="residential" minzoom="12" nameTags="ref"/>
<type tag="highway" value="service" minzoom="12" nameTags="ref"/>
<type tag="highway" value="unclassified" minzoom="12" nameTags="ref"/>
<type tag="highway" value="road" minzoom="12" nameTags="ref"/>
<type tag="highway" value="track" minzoom="12" nameTags="ref"/>
<type tag="highway" value="path" minzoom="12" nameTags="ref"/>
<type tag="highway" value="living_street" minzoom="12" nameTags="ref"/>
<type tag="highway" value="pedestrian" minzoom="12" nameTags="ref"/>
<type tag="highway" value="cycleway" minzoom="12" nameTags="ref"/>
<type tag="highway" value="byway" minzoom="12" nameTags="ref"/>
<type tag="highway" value="footway" minzoom="12" nameTags="ref"/>
<type tag="highway" value="steps" minzoom="14" nameTags="ref"/>
<type tag="highway" value="bridleway" minzoom="12" nameTags="ref"/>
<type tag="highway" value="services" minzoom="12" nameTags="ref"/>
<!-- <type id="" tag="highway" value="bus_guideway" minzoom="15" /> -->
<type tag="highway" value="ford" minzoom="14" />
<type tag="highway" value="construction" minzoom="14" nameTags="ref"/>
<type tag="highway" value="proposed" minzoom="14" nameTags="ref"/>
<!-- POINT typeS -->
<type tag="highway" value="mini_roundabout" minzoom="16" />
<type tag="highway" value="stop" minzoom="16" />
<type tag="highway" value="give_way" minzoom="16" />
<type tag="highway" value="traffic_signals" minzoom="16" />
<type tag="highway" value="motorway_junction" minzoom="13" nameTags="ref"/>
<type tag="highway" value="bus_stop" minzoom="15" poi_category="transportation"/>
<type tag="highway" value="platform" minzoom="15" poi_category="transportation"/>
<type tag="highway" value="turning_circle" minzoom="16" poi_category="transportation"/>
<type tag="highway" value="emergency_access_point" minzoom="16" poi_category="emergency"/>
<type tag="highway" value="speed_camera" minzoom="16" poi_category="transportation"/>
<type tag="highway" value="street_lamp" minzoom="16" />
</category>
<category name="routes">
<type tag="ferry_route" value="ferry" nameTags="ref" namePrefix="ferry_route_" relation="true"/>
<type tag="route" value="ferry" target_tag="ferry_route" target_value="ferry" minzoom="8" relation="true"/>
<type tag="hiking_route" value="hiking" nameTags="ref,name" namePrefix="hiking_route_" relation="true"/>
<type tag="route" value="hiking" target_tag="hiking_route" target_value="hiking" minzoom="8" relation="true"/>
<type tag="iwn_network" value="iwn" nameTags="ref,name" namePrefix="iwn_" relation="true"/>
<type tag="network" value="iwn" target_tag="iwn_network" target_value="iwn" minzoom="8" relation="true"/>
<type tag="nwn_network" value="nwn" nameTags="ref,name" namePrefix="nwn_" relation="true"/>
<type tag="network" value="nwn" target_tag="nwn_network" target_value="nwn" minzoom="8" relation="true"/>
<type tag="rwn_network" value="rwn" nameTags="ref,name" namePrefix="rwn_" relation="true"/>
<type tag="network" value="rwn" target_tag="rwn_network" target_value="rwn" minzoom="8" relation="true"/>
<type tag="lwn_network" value="lwn" nameTags="ref,name" namePrefix="lwn_" relation="true"/>
<type tag="network" value="lwn" target_tag="lwn_network" target_value="lwn" minzoom="8" relation="true"/>
<type tag="icn_network" value="icn" nameTags="ref" namePrefix="icn_" minzoom="8" relation="true"/>
<type tag="network" value="icn" target_tag="icn_network" target_value="icn" minzoom="8" relation="true"/>
<type tag="lcn_network" value="lcn" nameTags="ref" namePrefix="lcn_" minzoom="8" relation="true"/>
<type tag="network" value="lcn" target_tag="lcn_network" target_value="lcn" minzoom="8" relation="true"/>
<type tag="ncn_network" value="ncn" nameTags="ref" namePrefix="ncn_" minzoom="8" relation="true"/>
<type tag="network" value="ncn" target_tag="ncn_network" target_value="ncn" minzoom="8" relation="true"/>
<type tag="rcn_network" value="rcn" nameTags="ref" namePrefix="rcn_" minzoom="8" relation="true"/>
<type tag="network" value="rcn" target_tag="rcn_network" target_value="rcn" minzoom="8" relation="true"/>
</category>
<category name="tracktype">
<type tag="tracktype" value="grade1" minzoom="12" additional="true"/>
<type tag="tracktype" value="grade2" minzoom="12" additional="true"/>
<type tag="tracktype" value="grade3" minzoom="12" additional="true"/>
<type tag="tracktype" value="grade4" minzoom="12" additional="true"/>
<type tag="tracktype" value="grade5" minzoom="12" additional="true"/>
</category>
<category name="smoothness">
<type tag="smoothness" value="excelent" minzoom="12" additional="true"/>
<type tag="smoothness" value="good" minzoom="12" additional="true"/>
<type tag="smoothness" value="intermediate" minzoom="12" additional="true"/>
<type tag="smoothness" value="bad" minzoom="12" additional="true"/>
<type tag="smoothness" value="very_bad" minzoom="12" additional="true"/>
<type tag="smoothness" value="horrible" minzoom="12" additional="true"/>
<type tag="smoothness" value="very_horrible" minzoom="12" additional="true"/>
<type tag="smoothness" value="impassable" minzoom="12" additional="true"/>
</category>
<category name="sac_scale">
<type tag="sac_scale" value="hiking" minzoom="12" additional="true"/>
<type tag="sac_scale" value="mountain_hiking" minzoom="12" additional="true"/>
<type tag="sac_scale" value="demanding_mountain_hiking" minzoom="12" additional="true"/>
<type tag="sac_scale" value="alpine_hiking" minzoom="12" additional="true"/>
<type tag="sac_scale" value="demanding_alpine_hiking" minzoom="12" additional="true"/>
<type tag="sac_scale" value="difficult_alpine_hiking" minzoom="12" additional="true"/>
</category>
<category name="osmc">
<type tag="osmc_symbol_red" nameTags="osmc_symbol_white_red_bar_name,osmc_symbol_red_white_bar_name" value="" minzoom="12"/>
<type tag="osmc_symbol_yellow" nameTags="osmc_symbol_white_yellow_bar_name,osmc_symbol__yellow_diamond_name" value="" minzoom="12"/>
<type tag="osmc_symbol_green" nameTags="osmc_symbol_white_green_bar_name,osmc_symbol_white_green_backslash_name" value="" minzoom="12"/>
<type tag="osmc_symbol_blue" nameTags="osmc_symbol_white_blue_bar_name" value="" minzoom="12"/>
</category>
<category name="cycleway">
<type tag="cycleway" value="lane" minzoom="12"/>
<type tag="cycleway" value="opposite_lane" minzoom="12"/>
<type tag="cycleway" value="track" minzoom="12"/>
<type tag="cycleway:left" target_tag="cycleway" value="lane" minzoom="12"/>
<type tag="cycleway:right" target_tag="cycleway" value="lane" minzoom="12"/>
</category>
<category name="traffic_calming" poi_tag="traffic_calming" poi_category="barrier" poi_prefix="traffic_calming_">
<type tag="traffic_calming" value="yes" minzoom="16" />
<type tag="traffic_calming" value="bump" minzoom="16" />
<type tag="traffic_calming" value="chicane" minzoom="16" />
<type tag="traffic_calming" value="cushion" minzoom="16" />
<type tag="traffic_calming" value="hump" minzoom="16" />
<type tag="traffic_calming" value="rumble_strip" minzoom="16" />
<type tag="traffic_calming" value="table" minzoom="16" />
<type tag="traffic_calming" value="choker" minzoom="16" />
</category>
<category name="barrier" poi_tag="barrier" poi_category="barrier">
<type tag="barrier" value="hedge" minzoom="15" />
<type tag="natural" value="hedge" minzoom="15" />
<type tag="barrier" value="fence" minzoom="15" />
<type tag="fenced" value="yes" minzoom="15" target_tag="barrier" target_value="fence" poi_category="barrier"/>
<type tag="barrier" value="wall" minzoom="15" />
<type tag="barrier" value="ditch" minzoom="15" />
<type tag="barrier" value="retaining_wall" minzoom="15" />
<type tag="barrier" value="city_wall" minzoom="13" />
<type tag="historic" value="city_walls" minzoom="13" target_tag="barrier" target_value="city_wall" poi_category="barrier"/>
<type tag="barrier" value="bollard" minzoom="15" />
<type tag="barrier" value="cycle_barrier" minzoom="15" />
<type tag="barrier" value="block" minzoom="15" />
<type tag="barrier" value="cattle_grid" minzoom="15" />
<type tag="barrier" value="toll_booth" minzoom="14" />
<type tag="barrier" value="entrance" minzoom="15" />
<type tag="barrier" value="gate" minzoom="15" />
<type tag="highway" value="gate" minzoom="15" poi_category="barrier"/>
<type tag="barrier" value="lift_gate" minzoom="15" />
<type tag="barrier" value="stile" minzoom="15" />
<type tag="barrier" value="horse_stile" minzoom="15" />
<type tag="barrier" value="kissing_gate" minzoom="15" />
<type tag="barrier" value="sally_port" minzoom="15" />
<type tag="barrier" value="turnstile" minzoom="15" />
<type tag="barrier" value="kent_carriage_gap" minzoom="15" />
</category>
<category name="waterway" poi_tag="waterway" poi_category="man_made">
<type tag="waterway" value="stream" minzoom="13" poi_category="natural"/>
<type tag="waterway" value="riverbank" minzoom="8" poi_category="natural"/>
<type tag="waterway" value="river" minzoom="5" poi_category="natural"/> <!-- Example of user defined category poi_category="user_defined" -->
<type tag="waterway" value="canal" minzoom="10" poi_category="natural"/>
<type tag="waterway" value="ditch" minzoom="13" poi_category="natural"/>
<type tag="waterway" value="drain" minzoom="13" poi_category="natural"/>
<type tag="waterway" value="dock" minzoom="10" poi_prefix="water_"/>
<type tag="waterway" value="lock_gate" minzoom="15" poi_prefix="water_"/>
<type tag="waterway" value="lock" minzoom="15" poi_prefix="water_"/>
<type tag="waterway" value="turning_point" minzoom="15" poi_prefix="water_"/>
<type tag="waterway" value="boatyard" minzoom="15" />
<type tag="waterway" value="weir" minzoom="15" poi_prefix="water_"/>
<type tag="waterway" value="dam" minzoom="13" />
<type tag="waterway" value="mill_pond" minzoom="13" poi_prefix="water_"/>
</category>
<category name="railway" poi_tag="railway" poi_category="transportation" poi_prefix="railway_">
<type tag="railway" value="rail" minzoom="7" poi_prefix=""/>
<type tag="railway" value="tram" minzoom="13" poi_prefix=""/>
<type tag="railway" value="light_rail" minzoom="13" poi_prefix=""/>
<type tag="railway" value="abandoned" minzoom="15" />
<type tag="railway" value="disused" minzoom="15" />
<type tag="railway" value="subway" minzoom="13" poi_prefix=""/>
<type tag="railway" value="preserved" minzoom="13" />
<type tag="railway" value="narrow_gauge" minzoom="13" />
<type tag="railway" value="construction" minzoom="15" />
<type tag="railway" value="monorail" minzoom="15" />
<type tag="railway" value="funicular" minzoom="15" />
<type tag="railway" value="platform" minzoom="15" />
<type tag="railway" value="station" minzoom="12" />
<type tag="railway" value="turntable" minzoom="15" />
<type tag="railway" value="halt" minzoom="13" poi_prefix=""/>
<type tag="railway" value="tram_stop" minzoom="15" poi_prefix=""/>
<type tag="railway" value="crossing" minzoom="15" />
<type tag="railway" value="level_crossing" minzoom="15" />
<type tag="railway" value="subway_entrance" minzoom="15" poi_prefix=""/>
<type tag="railway" value="buffer_stop" minzoom="15" />
</category>
<category name="public_transport" poi_tag="public_transport" poi_category="transportation" poi_prefix="public_transport_">
<type tag="public_transport" value="platform" minzoom="15" />
<type tag="public_transport" value="station" minzoom="15" />
<type tag="public_transport" value="stop_position" minzoom="15" poi_prefix=""/>
</category>
<category name="aeroway" poi_tag="aeroway" poi_category="transportation">
<type tag="aeroway" value="aerodrome" minzoom="12" />
<type tag="aeroway" value="terminal" minzoom="15" />
<type tag="aeroway" value="helipad" minzoom="12" />
<type tag="aeroway" value="runway" minzoom="11" poi_prefix="aeroway_"/>
<type tag="aeroway" value="taxiway" minzoom="12" poi_prefix="aeroway_"/>
<type tag="aeroway" value="apron" minzoom="12" poi_prefix="aeroway_"/>
<type tag="aeroway" value="airport" minzoom="11" />
<type tag="aeroway" value="gate" minzoom="15" nameTags="ref" />
<type tag="aeroway" value="windsock" minzoom="15" />
</category>
<category name="aerialway" poi_tag="aerialway" poi_category="transportation" poi_prefix="aerialway_">
<type tag="aerialway" value="cable_car" minzoom="13" />
<type tag="aerialway" value="gondola" minzoom="13" />
<type tag="aerialway" value="chair_lift" minzoom="13" />
<type tag="aerialway" value="mixed_lift" minzoom="13" />
<type tag="aerialway" value="drag_lift" minzoom="13" />
<type tag="aerialway" value="goods" minzoom="15" />
<type tag="aerialway" value="station" minzoom="15" />
<type tag="aerialway" value="pylon" minzoom="15" poi_category=""/>
</category>
<category name="power">
<type tag="power" value="tower" minzoom="13" />
<type tag="power" value="pole" minzoom="15" />
<type tag="power" value="line" minzoom="13" />
<type tag="power" value="minor_line" minzoom="15" />
<type tag="power" value="station" minzoom="13" poi_category="man_made" poi_prefix="power_"/>
<type tag="power" value="sub_station" minzoom="13" poi_category="man_made" poi_prefix="power_"/>
<type tag="power" value="generator" minzoom="15" poi_category="man_made" poi_prefix="power_"/>
<type tag="power" value="cable_distribution_cabinet" minzoom="15" poi_category="man_made" poi_prefix="power_"/>
</category>
<category name="man_made" poi_tag="man_made" poi_category="man_made">
<type tag="building" minzoom="16" poi_category="" nameTags="addr:housenumber"/>
<type tag="addr:housenumber" minzoom="16" poi_category="" nameTags="addr:housenumber"/>
<type tag="man_made" value="wastewater_plant" minzoom="15" />
<type tag="man_made" value="water_works" minzoom="15" />
<type tag="man_made" value="works" minzoom="15" />
<type tag="man_made" value="cutline" minzoom="15" />
<type tag="man_made" value="groyne" minzoom="13" />
<type tag="man_made" value="breakwater" minzoom="13" />
<type tag="man_made" value="pier" minzoom="13" />
<type tag="man_made" value="pipeline" minzoom="15" />
<type tag="man_made" value="reservoir_covered" minzoom="15" />
<type tag="man_made" value="embankment" minzoom="15" />
<type tag="man_made" value="beacon" minzoom="15" />
<type tag="man_made" value="crane" minzoom="15" />
<type tag="man_made" value="lighthouse" minzoom="15" />
<type tag="man_made" value="mineshaft" minzoom="15" />
<type tag="man_made" value="adit" minzoom="15" />
<type tag="man_made" value="petroleum_well" minzoom="15" />
<type tag="man_made" value="surveillance" minzoom="15" />
<type tag="man_made" value="survey_point" minzoom="15" />
<type tag="man_made" value="tower" minzoom="15" />
<type tag="man_made" value="watermill" minzoom="15" />
<type tag="man_made" value="water_tower" minzoom="15" />
<type tag="man_made" value="water_well" minzoom="15" />
<type tag="man_made" value="windmill" minzoom="15" />
</category>
<category name="leisure" poi_tag="leisure" poi_category="leisure">
<type tag="leisure" value="dog_park" minzoom="15" />
<type tag="leisure" value="sports_centre" minzoom="13" />
<type tag="leisure" value="golf_course" minzoom="12" />
<type tag="leisure" value="stadium" minzoom="13" />
<type tag="leisure" value="track" minzoom="12" />
<type tag="leisure" value="pitch" minzoom="12" />
<type tag="leisure" value="water_park" minzoom="13" />
<type tag="leisure" value="marina" minzoom="13" />
<type tag="leisure" value="slipway" minzoom="15" />
<type tag="leisure" value="fishing" minzoom="15" />
<type tag="leisure" value="nature_reserve" minzoom="10" />
<type tag="natural" value="park" minzoom="12" poi_category="leisure"/>
<type tag="leisure" value="park" minzoom="12" />
<type tag="leisure" value="recreation_ground" minzoom="12" />
<type tag="leisure" value="playground" minzoom="15" />
<type tag="leisure" value="garden" minzoom="12" />
<type tag="leisure" value="common" minzoom="12" />
<type tag="leisure" value="ice_rink" minzoom="15" />
<type tag="leisure" value="miniature_golf" minzoom="15" />
<type tag="leisure" value="dance" minzoom="15" />
<type tag="leisure" value="bird_hide" minzoom="15" />
</category>
<category name="office" poi_tag="office" poi_category="office" >
<type tag="office" value="accountant" minzoom="15" />
<type tag="office" value="architect" minzoom="15" />
<type tag="office" value="company" minzoom="15" />
<type tag="office" value="employment_agency" minzoom="15" />
<type tag="office" value="estate_agent" minzoom="15" />
<type tag="office" value="government" minzoom="15" />
<type tag="office" value="insurance" minzoom="15" />
<type tag="office" value="it" minzoom="15" />
<type tag="office" value="lawyer" minzoom="15" />
<type tag="office" value="ngo" minzoom="15" />
<type tag="office" value="quango" minzoom="15" />
<type tag="office" value="research" minzoom="15" />
<type tag="office" value="telecommunication" minzoom="15" />
<type tag="office" value="travel_agent" minzoom="15" />
<type tag="amenity" value="architect_office" minzoom="15" target_tag="office" target_value="architect" poi_category="office"/>
</category>
<category name="shop" poi_tag="shop" poi_category="shop" >
<type tag="shop" value="alcohol" minzoom="15" />
<type tag="shop" value="bakery" minzoom="15" />
<type tag="shop" value="beauty" minzoom="15" />
<type tag="shop" value="beverages" minzoom="15" />
<type tag="shop" value="bicycle" minzoom="15" />
<type tag="shop" value="books" minzoom="15" />
<type tag="shop" value="boutique" minzoom="15" />
<type tag="shop" value="butcher" minzoom="15" />
<type tag="shop" value="car" minzoom="15" />
<type tag="shop" value="car_parts" minzoom="15" />
<type tag="shop" value="car_repair" minzoom="15" />
<type tag="shop" value="charity" minzoom="15" />
<type tag="shop" value="chemist" minzoom="15" />
<type tag="shop" value="clothes" minzoom="15" />
<type tag="shop" value="fashion" minzoom="15" />
<type tag="shop" value="computer" minzoom="15" />
<type tag="shop" value="confectionery" minzoom="15" />
<type tag="shop" value="convenience" minzoom="15" />
<type tag="shop" value="department_store" minzoom="15" />
<type tag="shop" value="dry_cleaning" minzoom="15" />
<type tag="shop" value="doityourself" minzoom="15" />
<type tag="shop" value="electronics" minzoom="15" />
<type tag="shop" value="fabrics" minzoom="15" />
<type tag="shop" value="farm" minzoom="15" />
<type tag="shop" value="florist" minzoom="15" />
<type tag="shop" value="funeral_directors" minzoom="15" />
<type tag="shop" value="furniture" minzoom="15" />
<type tag="shop" value="garden_centre" minzoom="15" />
<type tag="shop" value="general" minzoom="15" />
<type tag="shop" value="gift" minzoom="15" />
<type tag="shop" value="glaziery" minzoom="15" />
<type tag="shop" value="greengrocer" minzoom="15" />
<type tag="shop" value="hairdresser" minzoom="15" />
<type tag="shop" value="hardware" minzoom="15" />
<type tag="shop" value="hearing_aids" minzoom="15" />
<type tag="shop" value="hifi" minzoom="15" />
<type tag="shop" value="ice_cream" minzoom="15" />
<type tag="shop" value="jewelry" minzoom="15" />
<type tag="shop" value="kiosk" minzoom="15" />
<type tag="shop" value="laundry" minzoom="15" />
<type tag="shop" value="mall" minzoom="15" />
<type tag="shop" value="massage" minzoom="15" />
<type tag="shop" value="money_lender" minzoom="15" />
<type tag="shop" value="motorcycle" minzoom="15" />
<type tag="shop" value="newsagent" minzoom="15" />
<type tag="shop" value="optician" minzoom="15" />
<type tag="shop" value="organic" minzoom="15" />
<type tag="shop" value="outdoor" minzoom="15" />
<type tag="shop" value="pawnbroker" minzoom="15" />
<type tag="shop" value="second_hand" minzoom="15" />
<type tag="shop" value="sports" minzoom="15" />
<type tag="shop" value="stationery" minzoom="15" />
<type tag="shop" value="supermarket" minzoom="15" />
<type tag="shop" value="shoes" minzoom="15" />
<type tag="shop" value="tattoo" minzoom="15" />
<type tag="shop" value="toys" minzoom="15" />
<type tag="shop" value="travel_agency" minzoom="15" />
<type tag="shop" value="variety_store" minzoom="15" />
<type tag="shop" value="video" minzoom="15" />
</category>
<category name="emergency" poi_tag="emergency" poi_category="emergency">
<type tag="emergency" value="ambulance_station" minzoom="15" />
<type tag="emergency" value="ses_station" minzoom="15" />
<type tag="emergency" value="fire_extinguisher" minzoom="15" />
<type tag="emergency" value="fire_flapper" minzoom="15" />
<type tag="emergency" value="fire_hose" minzoom="15" />
<type tag="emergency" value="fire_hydrant" minzoom="15" />
<type tag="emergency" value="phone" minzoom="15" />
<type tag="emergency" value="access_point" minzoom="15" />
<type tag="amenity" value="emergency_phone" target_tag="emergency" target_value="phone" minzoom="15" />
<type tag="emergency" value="siren" minzoom="15" />
<type tag="amenity" value="fire_station" minzoom="15" poi_category="emergency"/>
</category>
<category name="tourism" poi_tag="tourism" poi_category="tourism" >
<type tag="tourism" value="attraction" minzoom="13" />
<type tag="tourism" value="artwork" minzoom="15" />
<type tag="tourism" value="camp_site" minzoom="13" />
<type tag="tourism" value="caravan_site" minzoom="13" />
<type tag="tourism" value="picnic_site" minzoom="13" />
<type tag="tourism" value="theme_park" minzoom="12" />
<type tag="tourism" value="zoo" minzoom="12" />
<type tag="tourism" value="alpine_hut" minzoom="14" />
<type tag="tourism" value="chalet" minzoom="15" />
<type tag="tourism" value="guest_house" minzoom="15" />
<type tag="tourism" value="hostel" minzoom="15" />
<type tag="tourism" value="hotel" minzoom="15" />
<type tag="tourism" value="motel" minzoom="15" />
<type tag="tourism" value="museum" minzoom="15" />
<type tag="tourism" value="information" minzoom="15" />
<type tag="tourism" value="viewpoint" minzoom="15" />
</category>
<category name="historic" poi_tag="historic" poi_category="historic">
<type tag="historic" value="archaeological_site" minzoom="15" />
<type tag="historic" value="battlefield" minzoom="15" />
<type tag="historic" value="castle" minzoom="15" />
<type tag="historic" value="fort" minzoom="15" />
<type tag="historic" value="ruins" minzoom="15" />
<type tag="historic" value="monument" minzoom="15" />
<type tag="historic" value="boundary_stone" minzoom="15" />
<type tag="historic" value="memorial" minzoom="15" />
<type tag="historic" value="wayside_cross" minzoom="15" />
<type tag="historic" value="wayside_shrine" minzoom="15" />
<type tag="historic" value="wreck" minzoom="15" />
</category>
<category name="landuse">
<type tag="landuse" value="allotments" minzoom="10" />
<type tag="landuse" value="basin" minzoom="10" poi_category="landuse"/>
<type tag="landuse" value="brownfield" minzoom="12" />
<type tag="landuse" value="cemetery" minzoom="11" poi_category="landuse"/>
<!-- landuse=grave_yard should be wrong tagging: type tag="landuse" value="grave_yard" minzoom="15" poi_category="landuse"/ -->
<type tag="landuse" value="commercial" minzoom="10" />
<type tag="landuse" value="construction" minzoom="12" />
<type tag="landuse" value="farm" minzoom="12" />
<type tag="landuse" value="farmland" minzoom="12" />
<type tag="landuse" value="farmyard" minzoom="12" />
<type tag="landuse" value="forest" minzoom="8" poi_category="landuse"/>
<type tag="landuse" value="garages" minzoom="12" />
<type tag="landuse" value="grass" minzoom="12" />
<type tag="landuse" value="greenfield" minzoom="12" />
<type tag="landuse" value="greenhouse_horticulture" minzoom="12" />
<type tag="landuse" value="industrial" minzoom="10" />
<type tag="landuse" value="landfill" minzoom="12" />
<type tag="landuse" value="meadow" minzoom="12" poi_category="landuse"/>
<type tag="landuse" value="military" minzoom="10" poi_category="landuse"/>
<type tag="landuse" value="orchard" minzoom="12" poi_category="landuse"/>
<type tag="landuse" value="railway" minzoom="12" />
<type tag="landuse" value="recreation_ground" minzoom="12" poi_category="landuse"/>
<type tag="landuse" value="conservation" minzoom="10" poi_category="landuse"/>
<type tag="landuse" value="village_green" minzoom="12" poi_category="landuse"/>
<type tag="landuse" value="reservoir" minzoom="7" poi_category="landuse"/>
<type tag="landuse" value="water" minzoom="7" poi_category="landuse"/>
<type tag="landuse" value="residential" minzoom="10" />
<type tag="landuse" value="retail" minzoom="12" />
<type tag="landuse" value="salt_pond" minzoom="10" poi_category="landuse"/>
<type tag="landuse" value="quarry" minzoom="12" poi_category="landuse"/>
<type tag="landuse" value="vineyard" minzoom="12" poi_category="landuse"/>
<type tag="landuse" value="field" minzoom="12" />
<type tag="natural" value="field" minzoom="12" target_tag="landuse" target_value="field" poi_category="" />
</category>
<category name="military" poi_category="military" poi_tag="military">
<type tag="military" value="airfield" minzoom="12" />
<type tag="military" value="bunker" minzoom="15" />
<type tag="military" value="barracks" minzoom="13" />
<type tag="military" value="danger_area" minzoom="10" />
<type tag="military" value="range" minzoom="10" />
<type tag="military" value="naval_base" minzoom="12" />
</category>
<category name="natural" poi_category="natural" poi_tag="natural">
<!-- coastline is polyline !!! -->
<type tag="natural" value="coastline" minzoom="1" />
<type tag="natural" value="bay" minzoom="5" />
<type tag="natural" value="beach" minzoom="11" />
<type tag="natural" value="cave_entrance" minzoom="13" />
<type tag="natural" value="cliff" minzoom="13" />
<type tag="natural" value="fell" minzoom="13" />
<type tag="natural" value="glacier" minzoom="7" />
<type tag="natural" value="heath" minzoom="11" />
<type tag="natural" value="land" minzoom="10" poi_category="" />
<type tag="natural" value="marsh" minzoom="11" />
<type tag="natural" value="mud" minzoom="11" />
<type tag="natural" value="peak" minzoom="11" nameTags="ele" />
<type tag="natural" value="sand" minzoom="11" />
<type tag="natural" value="scree" minzoom="11" />
<type tag="natural" value="scrub" minzoom="11" />
<type tag="natural" value="grassland" minzoom="11" />
<type tag="natural" value="spring" minzoom="14" />
<type tag="natural" value="stone" minzoom="15" />
<type tag="natural" value="tree" minzoom="15" poi_category="" />
<type tag="natural" value="volcano" minzoom="11" />
<type tag="natural" value="water" minzoom="4" />
<type tag="natural" value="lake" minzoom="4" />
<type tag="natural" value="wetland" minzoom="10" />
<type tag="natural" value="wood" minzoom="8" />
<type tag="landuse" value="wood" minzoom="8"
target_tag="natural" target_value="wood" poi_category="natural" />
<type tag="contour" value="elevation" minzoom="11" />
</category>
<category name="contourtype">
<type tag="contourtype" value="10m" minzoom="11" additional="true"/>
<type tag="contourtype" value="20m" minzoom="11" additional="true"/>
<type tag="contourtype" value="50m" minzoom="11" additional="true"/>
<type tag="contourtype" value="100m" minzoom="11" additional="true"/>
</category>
<category name="geocache" poi_tag="geocache" poi_category="geocache">
<type tag="geocache" value="found" minzoom="15" />
<type tag="geocache" value="not found" minzoom="15" />
</category>
<!-- Amenities -->
<category name="sustenance" poi_category="sustenance">
<type tag="amenity" value="restaurant" minzoom="15" />
<type tag="amenity" value="cafe" minzoom="15" />
<type tag="amenity" value="food_court" minzoom="15" />
<type tag="amenity" value="fast_food" minzoom="15" />
<type tag="amenity" value="pub" minzoom="15" />
<type tag="amenity" value="bar" minzoom="15" />
<type tag="amenity" value="biergarten" minzoom="15" />
<type tag="amenity" value="drinking_water" minzoom="15" />
<type tag="amenity" value="bbq" minzoom="15" />
</category>
<category name="education" poi_category="education">
<type tag="amenity" value="kindergarten" minzoom="15" />
<type tag="amenity" value="school" minzoom="15" />
<type tag="amenity" value="college" minzoom="15" />
<type tag="amenity" value="library" minzoom="15" />
<type tag="amenity" value="university" minzoom="15" />
</category>
<category name="transportation" poi_category="transportation">
<type tag="amenity" value="parking" minzoom="15" />
<type tag="amenity" value="bicycle_parking" minzoom="15" />
<type tag="amenity" value="ferry_terminal" minzoom="12" />
<type tag="amenity" value="fuel" minzoom="13" />
<type tag="amenity" value="taxi" minzoom="15" />
<type tag="amenity" value="bicycle_rental" minzoom="15" />
<type tag="amenity" value="bus_station" minzoom="13" />
<type tag="amenity" value="car_rental" minzoom="15" />
<type tag="amenity" value="car_sharing" minzoom="15" />
<type tag="amenity" value="car_wash" minzoom="15" />
<type tag="amenity" value="grit_bin" minzoom="15" />
<type tag="rwn_ref" value="" minzoom="14" nameTags="rwn_ref" poi_prefix="walking_node_"/>
<type tag="rcn_ref" value="" minzoom="14" nameTags="rcn_ref" poi_prefix="cycle_node_"/>
</category>
<category name="finance" poi_category="finance">
<type tag="amenity" value="atm" minzoom="15" />
<type tag="amenity" value="bank" minzoom="15" />
<type tag="amenity" value="bureau_de_change" minzoom="15" />
</category>
<category name="healthcare" poi_category="healthcare">
<type tag="amenity" value="pharmacy" minzoom="15" />
<type tag="amenity" value="hospital" minzoom="15" />
<type tag="amenity" value="baby_hatch" minzoom="15" />
<type tag="amenity" value="dentist" minzoom="15" />
<type tag="amenity" value="doctors" minzoom="15" />
<type tag="amenity" value="veterinary" minzoom="15" />
<type tag="amenity" value="first_aid" minzoom="15" />
</category>
<category name="entertainment" poi_category="entertainment">
<type tag="amenity" value="arts_centre" minzoom="15" />
<type tag="amenity" value="cinema" minzoom="15" />
<type tag="amenity" value="community_centre" minzoom="15" />
<type tag="amenity" value="social_centre" minzoom="15" />
<type tag="amenity" value="nightclub" minzoom="15" />
<type tag="amenity" value="stripclub" minzoom="15" />
<type tag="amenity" value="studio" minzoom="15" />
<type tag="amenity" value="theatre" minzoom="15" />
<type tag="amenity" value="sauna" minzoom="15" />
<type tag="amenity" value="brothel" minzoom="15" />
</category>
<category name="amenity_other" poi_tag="amenity" poi_category="other">
<type tag="amenity" value="marketplace" minzoom="15" />
<type tag="amenity" value="courthouse" minzoom="15" />
<type tag="amenity" value="crematorium" minzoom="15" />
<type tag="amenity" value="embassy" minzoom="15" />
<type tag="amenity" value="grave_yard" minzoom="15" />
<type tag="amenity" value="hunting_stand" minzoom="15" />
<type tag="amenity" value="police" minzoom="15" />
<type tag="amenity" value="post_box" minzoom="15" />
<type tag="amenity" value="post_office" minzoom="15" />
<type tag="amenity" value="prison" minzoom="15" />
<type tag="amenity" value="public_building" minzoom="15" />
<type tag="amenity" value="recycling" minzoom="15" />
<type tag="amenity" value="shelter" minzoom="15" />
<type tag="amenity" value="telephone" minzoom="15" />
<type tag="amenity" value="toilets" minzoom="15" />
<type tag="amenity" value="townhall" minzoom="15" />
<type tag="amenity" value="vending_machine" minzoom="15" />
<type tag="amenity" value="waste_basket" minzoom="15" />
<type tag="amenity" value="waste_disposal" minzoom="15" />
<type tag="amenity" value="fountain" minzoom="15" />
<type tag="amenity" value="bench" minzoom="15" />
<type tag="amenity" value="clock" minzoom="15" />
<type tag="amenity" value="place_of_worship" minzoom="15" />
</category>
<category name="internet_access" poi_tag="internet_access" poi_prefix="internet_access_" poi_category="other">
<type tag="internet_access" value="wifi" minzoom="15" />
<type tag="internet_access" value="wlan" minzoom="15" />
<type tag="internet_access" value="terminal" minzoom="15" />
<type tag="internet_access" value="wired" minzoom="15" />
<type tag="internet_access" value="public" minzoom="15" />
<type tag="internet_access" value="service" minzoom="15" />
</category>
<!-- administrative place-->
<category name="administrative" poi_tag="place" poi_category="administrative" >
<type tag="place" value="continent" minzoom="1" />
<type tag="place" value="country" minzoom="2" />
<type tag="place" value="state" minzoom="3" />
<type tag="place" value="region" minzoom="4" />
<type tag="place" value="county" minzoom="4" />
<type tag="place" value="city" minzoom="4" />
<type tag="place" value="town" minzoom="6" />
<type tag="place" value="village" minzoom="10" />
<type tag="place" value="hamlet" minzoom="10" />
<type tag="place" value="suburb" minzoom="10" />
<type tag="place" value="locality" minzoom="10" />
<type tag="place" value="island" minzoom="10" />
</category>
<!-- administrative boundaries -->
<category>
<!-- register(st, "boundary", "administrative", ADMINISTRATIVE, 15, POLYLINE_TYPE); //$NON-NLS-1$ //$NON-NLS-2$ -->
<type tag="admin_level" value="1" minzoom="2" />
<type tag="admin_level" value="0" minzoom="2" />
<type tag="admin_level" value="2" minzoom="3" />
<type tag="admin_level" value="3" minzoom="5" />
<type tag="admin_level" value="4" minzoom="5" />
<type tag="admin_level" value="5" minzoom="6" />
<type tag="admin_level" value="6" minzoom="6" />
<type tag="admin_level" value="7" minzoom="6" />
<type tag="admin_level" value="8" minzoom="10" />
<type tag="admin_level" value="9" minzoom="11" />
<type tag="admin_level" value="10" minzoom="12" />
<type tag="boundary" value="civil" minzoom="7" />
<type tag="boundary" value="political" minzoom="7" />
<type tag="boundary" value="maritime" minzoom="7" />
<type tag="boundary" value="national_park" minzoom="7" />
<type tag="boundary" value="protected_area" minzoom="7" />
</category>
<category name="enforcement" poi_category="transportation" poi_prefix="enforcement_" relation="true" relationRole="to">
<type tag="enforcement" value="traffic_signals" minzoom="15" relation="true" relationRole="to"/>
<type tag="enforcement" value="maxspeed" minzoom="15" relation="true" relationRole="to"/>
<type tag="enforcement" value="maxheight" minzoom="15" relation="true" relationRole="to"/>
<type tag="enforcement" value="mindistance" minzoom="15" relation="true" relationRole="to"/>
<type tag="enforcement" value="check" minzoom="15" relation="true" relationRole="to"/>
</category>
<!-- sport -->
<category name="sport" poi_tag="sport" poi_category="sport">
<type tag="sport" value="9pin" minzoom="15" />
<type tag="sport" value="10pin" minzoom="15" />
<type tag="sport" value="archery" minzoom="15" />
<type tag="sport" value="athletics" minzoom="15" />
<type tag="sport" value="australian_football" minzoom="15" />
<type tag="sport" value="baseball" minzoom="15" />
<type tag="sport" value="basketball" minzoom="15" />
<type tag="sport" value="beachvolleyball" minzoom="15" />
<type tag="sport" value="boules" minzoom="15" />
<type tag="sport" value="bowls" minzoom="15" />
<type tag="sport" value="canoe" minzoom="15" />
<type tag="sport" value="chess" minzoom="15" />
<type tag="sport" value="climbing" minzoom="15" />
<type tag="sport" value="cricket" minzoom="15" />
<type tag="sport" value="cricket_nets" minzoom="15" />
<type tag="sport" value="croquet" minzoom="15" />
<type tag="sport" value="cycling" minzoom="15" />
<type tag="sport" value="diving" minzoom="15" />
<type tag="sport" value="scuba_diving" minzoom="15" />
<type tag="sport" value="dog_racing" minzoom="15" />
<type tag="sport" value="equestrian" minzoom="15" />
<type tag="sport" value="football" minzoom="15" />
<type tag="sport" value="golf" minzoom="15" />
<type tag="sport" value="gymnastics" minzoom="15" />
<type tag="sport" value="hockey" minzoom="15" />
<type tag="sport" value="horse_racing" minzoom="15" />
<type tag="sport" value="ice_stock" minzoom="15" />
<type tag="sport" value="korfball" minzoom="15" />
<type tag="sport" value="motor" minzoom="15" />
<type tag="sport" value="multi" minzoom="15" />
<type tag="sport" value="orienteering" minzoom="15" />
<type tag="sport" value="paddle_tennis" minzoom="15" />
<type tag="sport" value="paragliding" minzoom="15" />
<type tag="sport" value="pelota" minzoom="15" />
<type tag="sport" value="racquet" minzoom="15" />
<type tag="sport" value="rowing" minzoom="15" />
<type tag="sport" value="rugby" minzoom="15" />
<type tag="sport" value="shooting" minzoom="15" />
<type tag="sport" value="skating" minzoom="15" />
<type tag="sport" value="skateboard" minzoom="15" />
<type tag="sport" value="skiing" minzoom="15" />
<type tag="sport" value="soccer" minzoom="15" />
<type tag="sport" value="swimming" minzoom="15" />
<type tag="sport" value="table_tennis" minzoom="15" />
<type tag="sport" value="team_handball" minzoom="15" />
<type tag="sport" value="tennis" minzoom="15" />
<type tag="sport" value="toboggan" minzoom="15" />
<type tag="sport" value="volleyball" minzoom="15" />
</category>
<category name="osmwiki" poi_tag="osmwiki" poi_category="osmwiki"/>
<category name="tiles">
</category>
<category name="user_defined" poi_tag="user_defined" poi_category="user_defined">
<!-- Here user defined categories could be added -->
<!-- <type tag="user_defined" value="wsl" minzoom="10" /> -->
</category>
<category name="routing">
<!-- add more granular example like -->
<!-- <routing_type tag="highway" value="motorway" mode="register" base="true"/> -->
<routing_type tag="highway" mode="register" base="true"/>
<routing_type tag="junction" mode="register" base="true"/>
<routing_type tag="route" mode="register" base="true"/>
<!-- <routing_type tag="route" value="bus" mode="register" base="true" relation="true"/> -->
<routing_type tag="cycleway" mode="register" base="true"/>
<routing_type tag="int_ref" mode="text" base="true"/>
<routing_type tag="name" mode="text" base="true"/>
<routing_type tag="ref" mode="text" base="true"/>
<routing_type tag="destination" mode="text"/>
<routing_type tag="destination:lanes" mode="text"/>
<routing_type tag="direction" mode="text"/>
<routing_type tag="duration" mode="text"/>
<routing_type tag="toll" mode="amend" base="true"/>
<routing_type tag="maxspeed" mode="amend" base="true"/>
<routing_type tag="maxspeed" value="RO:urban" tag2="maxspeed" value2="50" mode="replace" base="true"/>
<routing_type tag="maxspeed" value="RO:rural" tag2="maxspeed" value2="90" mode="replace" base="true"/>
<routing_type tag="maxspeed" value="RO:trunk" tag2="maxspeed" value2="100" mode="replace" base="true"/>
<routing_type tag="maxspeed" value="RO:motorway" tag2="maxspeed" value2="130" mode="replace" base="true"/>
<routing_type tag="maxspeed" value="RU:rural" tag2="maxspeed" value2="60" mode="replace" base="true"/>
<routing_type tag="maxspeed" value="RU:urban" tag2="maxspeed" value2="60" mode="replace" base="true"/>
<routing_type tag="access" mode="amend"/>
<!-- tag used as start with -->
<routing_type tag="access" mode="amend"/>
<routing_type tag="agricultural" mode="amend"/>
<routing_type tag="barrier" mode="amend"/>
<routing_type tag="bicycle" mode="amend"/>
<routing_type tag="boat" mode="amend"/>
<routing_type tag="bridge" mode="amend"/>
<routing_type tag="bus" mode="amend"/>
<routing_type tag="construction" mode="amend"/>
<routing_type tag="direction" mode="amend"/>
<routing_type tag="enforcement" mode="amend"/>
<routing_type tag="ferry" mode="amend"/>
<routing_type tag="foot" mode="amend"/>
<routing_type tag="goods" mode="amend"/>
<routing_type tag="hgv" mode="amend"/>
<routing_type tag="horse" mode="amend"/>
<routing_type tag="lanes" mode="amend"/>
<!-- <routing_type tag="lanes:forward" mode="amend"/>
<routing_type tag="lanes:backward" mode="amend"/> -->
<routing_type tag="maxspeed" mode="amend"/>
<routing_type tag="maxweight" mode="amend"/>
<routing_type tag="minspeed" mode="amend"/>
<routing_type tag="moped" mode="amend"/>
<routing_type tag="motorboat" mode="amend"/>
<routing_type tag="motorcar" mode="amend"/>
<routing_type tag="motorcycle" mode="amend"/>
<routing_type tag="motor_vehicle" mode="amend"/>
<routing_type tag="vehicle" mode="amend"/>
<routing_type tag="oneway" mode="amend"/>
<routing_type tag="roundabout" mode="amend"/>
<routing_type tag="route" mode="amend"/>
<routing_type tag="service" mode="amend"/>
<routing_type tag="ship" mode="amend"/>
<routing_type tag="toll" mode="amend"/>
<routing_type tag="toll_booth" mode="amend"/>
<routing_type tag="train" mode="amend"/>
<routing_type tag="tracktype" mode="amend"/>
<routing_type tag="traffic_calming" mode="amend"/>
<!-- <routing_type tag="turn:lanes" mode="amend"/> -->
<routing_type tag="turn" mode="amend"/>
<routing_type tag="tunnel" mode="amend"/>
<routing_type tag="railway" mode="amend"/>
</category>
</osmand_types>

View file

@ -39,6 +39,11 @@
<include name="*.xml"/> <include name="*.xml"/>
</fileset> </fileset>
</copy> </copy>
<copy todir="${use.absolute.dir}/net/osmand/osm/">
<fileset dir="../../resources/obf_creation/" >
<include name="rendering_types.xml"/>
</fileset>
</copy>
<copy todir="${use.absolute.dir}/net/osmand/map/"> <copy todir="${use.absolute.dir}/net/osmand/map/">
<fileset dir="../../resources/countries-info/" > <fileset dir="../../resources/countries-info/" >
<include name="countries.reginfo"/> <include name="countries.reginfo"/>