diff options
author | Stefan Wildemann <metalstrolch@users.noreply.github.com> | 2020-06-21 22:48:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-21 22:48:53 +0200 |
commit | 567521f2f80c707225ec8e2a7f5fe4c677fd6013 (patch) | |
tree | dd7a33b7a47e5d51ec8e8ae98bbdb34ff6642f9f /navit/navit_layout_car_shipped.xml | |
parent | ef8b9ae8901178cdb521dcc6dcc55abbbf09e693 (diff) | |
download | navit-567521f2f80c707225ec8e2a7f5fe4c677fd6013.tar.gz |
fix:maptool:better map aerodroms and military areas (#1022)
* fix:maptool:better map aerodroms and military areas
This commit uses more complex rule set to map aerodromes and military
landuses depending on tag combination avoiding duplication of the area
in binfile.
For example military airports are quite often tagged:
landuse=military
military=airfield
aeroway=aerodrome
which caused the airport to be tripled in map. This is now resolved.
* Enhancement:layout_car:add stripesto military areas
* Fix:maptool:treat archaeological_site limes special
archaeological_site tag is used on way despite outruled by OSM wiki on
limes archaeological site. But there is a special tagging scheme for
Limes. Use that to fix rendering of Limes in map.
Diffstat (limited to 'navit/navit_layout_car_shipped.xml')
-rw-r--r-- | navit/navit_layout_car_shipped.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/navit/navit_layout_car_shipped.xml b/navit/navit_layout_car_shipped.xml index 0603fc40f..3c25259c1 100644 --- a/navit/navit_layout_car_shipped.xml +++ b/navit/navit_layout_car_shipped.xml @@ -477,6 +477,10 @@ <polygon color="#deddcc"/> <text text_size="5"/> </itemgra> + <itemgra item_types="archaeological_site" order="8-"> + <polyline color="#d9cfb6" width="3"/> + <text text_size="8"/> + </itemgra> <itemgra item_types="poly_building" order="0-"> <polygon color="#aaaaaa"/> <polyline color="#777777"/> @@ -522,15 +526,17 @@ <polyline color="#8cc1c899" width="10"/> <text text_size="5"/> </itemgra> - <itemgra item_types="poly_military_zone" order="9-"> - <polygon color="#a0a0a044"/> + <itemgra item_types="poly_military_zone,poly_military" order="9-"> + <polygon color="#a0a0a044" src="diagonal-stripes-gray.png" w="16" h="16"/> + <polyline color="#969696b5" width="1"/> <text text_size="5"/> </itemgra> <itemgra item_types="poly_airport" order="0-"> <polygon color="#a0a0a066"/> </itemgra> <itemgra item_types="poly_airfield" order="10-"> - <polygon color="#ecd3cf66"/> + <polygon color="#ecd3cf66" src="diagonal-stripes-gray.png" w="16" h="16"/> + <polyline color="#969696b5" width="1"/> <text text_size="5"/> </itemgra> <itemgra item_types="poly_danger_area" order="8-"> |