forked from organicmaps/organicmaps-tmp
[routing] Handle fords
This commit is contained in:
parent
cece22ef9c
commit
e0c8e92d34
4 changed files with 10 additions and 1 deletions
|
@ -4,6 +4,11 @@ shelter=yes : amenity=shelter
|
|||
toilets=yes : amenity=toilets
|
||||
restaurant=yes : amenity=restaurant
|
||||
hotel=yes : tourism=hotel
|
||||
ford=boat : highway=ford
|
||||
ford=intermittent : highway=ford
|
||||
ford=seasonal : highway=ford
|
||||
ford=stream : highway=ford
|
||||
ford=stepping_stones : highway=ford
|
||||
ford=yes : highway=ford
|
||||
ruins=yes : historic=ruins
|
||||
drinkable=yes : amenity=drinking_water
|
||||
|
|
|
@ -2063,8 +2063,9 @@ line|z16-[barrier=gate],
|
|||
line|z16-[barrier=stile],
|
||||
{icon-image: dot-m.svg;font-size: 11;}
|
||||
|
||||
node|z16-[highway=ford],
|
||||
line|z16-[power=tower]
|
||||
shelter{icon-image: dot-m.svg;}
|
||||
{icon-image: dot-m.svg;}
|
||||
|
||||
node|z16-[amenity=taxi],
|
||||
area|z16-[amenity=taxi]
|
||||
|
|
|
@ -220,6 +220,8 @@ area|z12-[leisure=nature_reserve]
|
|||
{text: name;text-color: @park_label;text-halo-opacity: 0.75;text-halo-color: @label_halo_light;text-halo-radius:0.4;}
|
||||
|
||||
|
||||
node|z14-[highway=ford]
|
||||
{icon-image: dot-m.svg;icon-min-distance: 20;}
|
||||
|
||||
/*node|z11[landuse=forest][boundary=national_park],
|
||||
area|z11[landuse=forest][boundary=national_park],
|
||||
|
|
|
@ -117,6 +117,7 @@ TagMapping const kDefaultTagMapping = {
|
|||
{OsmElement::Tag("access", "no"), RoadAccess::Type::No},
|
||||
{OsmElement::Tag("access", "private"), RoadAccess::Type::Private},
|
||||
{OsmElement::Tag("access", "destination"), RoadAccess::Type::Destination},
|
||||
{OsmElement::Tag("highway", "ford"), RoadAccess::Type::No}
|
||||
};
|
||||
|
||||
set<OsmElement::Tag> const kHighwaysWhereIgnorePrivateAccessForCar = {
|
||||
|
|
Loading…
Add table
Reference in a new issue