[classifier] Added natural=saddle and mountain_pass.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
parent
92bd6b609d
commit
12fcf5e867
6 changed files with 49 additions and 2 deletions
|
@ -303,8 +303,8 @@ deprecated|deprecated;302;x
|
|||
power|generator;303;
|
||||
highway|pedestrian|bridge;[highway=pedestrian][bridge?];;name;int_name;304;
|
||||
man_made|pipeline|overground;[man_made=pipeline][location=overground];;name;int_name;305;
|
||||
deprecated|deprecated;306;x
|
||||
deprecated|deprecated;307;x
|
||||
natural|saddle;306;
|
||||
mountain_pass;[mountain_pass];;name;int_name;307;
|
||||
highway|raceway;308;
|
||||
highway|primary|tunnel;[highway=primary][tunnel?];;name;int_name;309;
|
||||
highway|primary_link|bridge;[highway=primary_link][bridge?];;name;int_name;310;
|
||||
|
|
Can't render this file because it has a wrong number of fields in line 11.
|
|
@ -12868,6 +12868,13 @@
|
|||
zh-Hans = 地堡
|
||||
zh-Hant = 地堡
|
||||
|
||||
[type.mountain_pass]
|
||||
en = Mountain Pass
|
||||
be = Перавал
|
||||
it = Passo
|
||||
ru = Перевал
|
||||
uk = Перевал
|
||||
|
||||
[type.natural]
|
||||
en = Natural
|
||||
ja = 自然
|
||||
|
@ -13242,6 +13249,13 @@
|
|||
zh-Hans = 峰
|
||||
zh-Hant = 山峰
|
||||
|
||||
[type.natural.saddle]
|
||||
en = Mountain Saddle
|
||||
be = Седлавіна
|
||||
it = Sella
|
||||
ru = Седловина
|
||||
uk = Сідловина
|
||||
|
||||
[type.natural.water.pond]
|
||||
en = Pond
|
||||
ar = بركة
|
||||
|
|
|
@ -74,6 +74,10 @@ node[natural=volcano],
|
|||
area[natural=volcano],
|
||||
node[natural=peak],
|
||||
area[natural=peak],
|
||||
node[natural=saddle],
|
||||
area[natural=saddle],
|
||||
node[mountain_pass],
|
||||
area[mountain_pass],
|
||||
node[tourism=information],
|
||||
node[historic=wayside_shrine],
|
||||
area[historic=wayside_shrine],
|
||||
|
@ -639,6 +643,10 @@ node|z11-[waterway=waterfall],
|
|||
area|z11-[waterway=waterfall],
|
||||
node|z13-[natural=peak],
|
||||
area|z13-[natural=peak],
|
||||
node|z14-[natural=saddle],
|
||||
area|z14-[natural=saddle],
|
||||
node|z14-[mountain_pass],
|
||||
area|z14-[mountain_pass],
|
||||
node|z14-[natural=spring],
|
||||
area|z14-[natural=spring],
|
||||
node|z14-[natural=hot_spring],
|
||||
|
@ -721,6 +729,13 @@ area|z15-[natural=bare_rock],
|
|||
area|z15-[natural=rock]
|
||||
{icon-image: peakt-m.svg;text-offset: 1;font-size: 10;text-optional: true;}
|
||||
|
||||
/* ToDo: Make the same as natural=peak when we will have -s,-m icons */
|
||||
node|z14-[natural=saddle],
|
||||
area|z14-[natural=saddle],
|
||||
node|z14-[mountain_pass],
|
||||
area|z14-[mountain_pass],
|
||||
{icon-image: mountain-pass.svg;text-offset: 1;font-size: 10;text-optional: true;}
|
||||
|
||||
node|z16[leisure=beach_resort],
|
||||
area|z16[leisure=beach_resort]
|
||||
{icon-image: beach-m.svg;}
|
||||
|
|
8
data/styles/clear/style-clear/symbols/mountain-pass.svg
Normal file
8
data/styles/clear/style-clear/symbols/mountain-pass.svg
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 453.6 453.6">
|
||||
<title>mountain-pass</title>
|
||||
<g id="Page-1" fill="#717065">
|
||||
<path d="M226.8,212.2c-113.6,0-107-104.5-226.8-104.3v237.7h453.6V107.9C342.3,107.7,340.4,212.2,226.8,212.2z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 371 B |
8
data/styles/clear/style-night/symbols/mountain-pass.svg
Normal file
8
data/styles/clear/style-night/symbols/mountain-pass.svg
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 453.6 453.6">
|
||||
<title>mountain-pass</title>
|
||||
<g id="Page-2:-Night" fill="#717065" opacity="0.6">
|
||||
<path d="M226.8,212.2c-113.6,0-107-104.5-226.8-104.3v237.7h453.6V107.9C342.3,107.7,340.4,212.2,226.8,212.2z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 392 B |
|
@ -1681,6 +1681,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_SimpleTypesSmoke)
|
|||
{"natural", "land"},
|
||||
{"natural", "peak"},
|
||||
{"natural", "rock"},
|
||||
{"natural", "saddle"},
|
||||
{"natural", "scrub"},
|
||||
{"natural", "spring"},
|
||||
{"natural", "volcano"},
|
||||
|
@ -2095,6 +2096,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_ComplexTypesSmoke)
|
|||
{{"leisure", "park", "private"}, {{"leisure", "park"}, {"access", "private"}}},
|
||||
{{"leisure", "sports_centre", "climbing"}, {{"leisure", "sports_centre"}, {"sport", "climbing"}}},
|
||||
{{"leisure", "sports_centre", "yoga"}, {{"leisure", "sports_centre"}, {"sport", "yoga"}}},
|
||||
{{"mountain_pass"}, {{"mountain_pass", "any_value"}}},
|
||||
{{"natural", "water", "pond"}, {{"natural", "water"}, {"water", "pond"}}},
|
||||
{{"natural", "water", "lake"}, {{"natural", "water"}, {"water", "lake"}}},
|
||||
{{"natural", "water", "reservoir"}, {{"natural", "water"}, {"water", "reservoir"}}},
|
||||
|
|
Reference in a new issue