forked from organicmaps/organicmaps
Merge pull request #5425 from rokuz/vehicle-styles
Added vehicle styles
This commit is contained in:
commit
1972c672a7
33 changed files with 106958 additions and 28000 deletions
1
android/assets/drules_proto_vehicle_clear.bin
Symbolic link
1
android/assets/drules_proto_vehicle_clear.bin
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../data/drules_proto_vehicle_clear.bin
|
1
android/assets/drules_proto_vehicle_dark.bin
Symbolic link
1
android/assets/drules_proto_vehicle_dark.bin
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../data/drules_proto_vehicle_dark.bin
|
|
@ -10,6 +10,8 @@ cp ../data/countries.txt assets/
|
|||
cp ../data/countries_obsolete.txt assets/
|
||||
cp ../data/drules_proto_dark.bin assets/
|
||||
cp ../data/drules_proto_clear.bin assets/
|
||||
cp ../data/drules_proto_vehicle_dark.bin assets/
|
||||
cp ../data/drules_proto_vehicle_clear.bin assets/
|
||||
cp ../data/editor.config assets/
|
||||
cp ../data/external_resources.txt assets/
|
||||
cp ../data/faq.html assets/
|
||||
|
|
|
@ -25,6 +25,8 @@ public class Framework
|
|||
{
|
||||
public static final int MAP_STYLE_CLEAR = 0;
|
||||
public static final int MAP_STYLE_DARK = 1;
|
||||
public static final int MAP_STYLE_VEHICLE_CLEAR = 3;
|
||||
public static final int MAP_STYLE_VEHICLE_DARK = 4;
|
||||
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef({ROUTER_TYPE_VEHICLE, ROUTER_TYPE_PEDESTRIAN, ROUTER_TYPE_BICYCLE, ROUTER_TYPE_TAXI})
|
||||
|
|
|
@ -3,18 +3,27 @@
|
|||
8738
|
||||
19033
|
||||
34815
|
||||
328965
|
||||
352205
|
||||
401446
|
||||
462602
|
||||
593674
|
||||
705791
|
||||
855309
|
||||
988160
|
||||
1118464
|
||||
1118481
|
||||
1184274
|
||||
1251584
|
||||
1314836
|
||||
1317888
|
||||
1407476
|
||||
1512724
|
||||
1643545
|
||||
1644825
|
||||
1913758
|
||||
1973790
|
||||
2038288
|
||||
2038555
|
||||
2171163
|
||||
2236945
|
||||
|
@ -35,15 +44,21 @@
|
|||
3155515
|
||||
3158064
|
||||
3354413
|
||||
3354672
|
||||
3354929
|
||||
3355443
|
||||
3418688
|
||||
3552308
|
||||
3584191
|
||||
3677969
|
||||
3677972
|
||||
3681605
|
||||
3813419
|
||||
3832097
|
||||
3881273
|
||||
4011550
|
||||
4263680
|
||||
4272975
|
||||
4311295
|
||||
4334872
|
||||
4473924
|
||||
|
@ -51,13 +66,18 @@
|
|||
4605510
|
||||
4622165
|
||||
4671303
|
||||
4991511
|
||||
4991513
|
||||
4991515
|
||||
5000268
|
||||
5064516
|
||||
5131837
|
||||
5286655
|
||||
5592345
|
||||
5592405
|
||||
6052945
|
||||
6052956
|
||||
6173981
|
||||
6381914
|
||||
6381921
|
||||
6438271
|
||||
|
@ -68,6 +88,7 @@
|
|||
7033108
|
||||
7224647
|
||||
7565931
|
||||
7566195
|
||||
7829367
|
||||
7870745
|
||||
8026746
|
||||
|
@ -75,6 +96,7 @@
|
|||
8421504
|
||||
8947848
|
||||
9163744
|
||||
9210752
|
||||
9211020
|
||||
9868678
|
||||
9868950
|
||||
|
@ -96,7 +118,9 @@
|
|||
12763315
|
||||
12876543
|
||||
13029267
|
||||
13031851
|
||||
13155550
|
||||
13163437
|
||||
13224123
|
||||
13229526
|
||||
13445160
|
||||
|
@ -106,8 +130,11 @@
|
|||
13746411
|
||||
13749671
|
||||
13942770
|
||||
13947850
|
||||
14604512
|
||||
14934482
|
||||
15000299
|
||||
15066325
|
||||
15088695
|
||||
15591638
|
||||
15592411
|
||||
|
@ -115,13 +142,16 @@
|
|||
15744010
|
||||
15920858
|
||||
15921870
|
||||
16118756
|
||||
16308697
|
||||
16311482
|
||||
16316664
|
||||
16557154
|
||||
16575614
|
||||
16579836
|
||||
16741158
|
||||
16742950
|
||||
16744243
|
||||
16746278
|
||||
16746413
|
||||
16749632
|
||||
|
@ -134,39 +164,58 @@
|
|||
16777215
|
||||
436207616
|
||||
437326080
|
||||
440681540
|
||||
442260561
|
||||
444234362
|
||||
451800027
|
||||
452984831
|
||||
609045837
|
||||
655429888
|
||||
655629312
|
||||
657730112
|
||||
666683518
|
||||
667795683
|
||||
671088639
|
||||
856756480
|
||||
856756497
|
||||
857282841
|
||||
857551774
|
||||
857874978
|
||||
858466343
|
||||
860111940
|
||||
860638284
|
||||
861230421
|
||||
861690961
|
||||
861690972
|
||||
862151516
|
||||
862348902
|
||||
863203947
|
||||
863664762
|
||||
865871792
|
||||
868862139
|
||||
869585866
|
||||
871230427
|
||||
871954680
|
||||
872415231
|
||||
1074860288
|
||||
1077488965
|
||||
1078014799
|
||||
1087357416
|
||||
1087684594
|
||||
1090519039
|
||||
1216522952
|
||||
1291845632
|
||||
1292964096
|
||||
1296319556
|
||||
1296845900
|
||||
1297438037
|
||||
1298359132
|
||||
1301911961
|
||||
1308576652
|
||||
1308604747
|
||||
1308622847
|
||||
1511594265
|
||||
1523897290
|
||||
1545508592
|
||||
1548466662
|
||||
1711276032
|
||||
|
@ -178,6 +227,13 @@
|
|||
1724500155
|
||||
1727592696
|
||||
1728053247
|
||||
1931024665
|
||||
1933126981
|
||||
1934376028
|
||||
1943126251
|
||||
1943322610
|
||||
1943327690
|
||||
2147483648
|
||||
2149720610
|
||||
2150311975
|
||||
2151957572
|
||||
|
@ -187,6 +243,8 @@
|
|||
2163595048
|
||||
2163800312
|
||||
2163913763
|
||||
2787649562
|
||||
2801593470
|
||||
3019898879
|
||||
3258727484
|
||||
3423803648
|
||||
|
@ -199,3 +257,11 @@
|
|||
3435581331
|
||||
3942645760
|
||||
4043309055
|
||||
4279308544
|
||||
4281545523
|
||||
4281742388
|
||||
4283782485
|
||||
4286545791
|
||||
4287137928
|
||||
4294769916
|
||||
4294967295
|
||||
|
|
Binary file not shown.
40380
data/drules_proto.txt
40380
data/drules_proto.txt
File diff suppressed because it is too large
Load diff
BIN
data/drules_proto_vehicle_clear.bin
Normal file
BIN
data/drules_proto_vehicle_clear.bin
Normal file
Binary file not shown.
43608
data/drules_proto_vehicle_clear.txt
Normal file
43608
data/drules_proto_vehicle_clear.txt
Normal file
File diff suppressed because it is too large
Load diff
BIN
data/drules_proto_vehicle_dark.bin
Normal file
BIN
data/drules_proto_vehicle_dark.bin
Normal file
Binary file not shown.
43608
data/drules_proto_vehicle_dark.txt
Normal file
43608
data/drules_proto_vehicle_dark.txt
Normal file
File diff suppressed because it is too large
Load diff
|
@ -31,3 +31,8 @@
|
|||
8.1 8.1
|
||||
2.7 2.7
|
||||
4.95 4.95
|
||||
10.1 10.1
|
||||
1.0 12.0
|
||||
1.15 14.0
|
||||
1.25 16.0
|
||||
1.5 19.0
|
||||
|
|
629
data/styles/vehicle/include/Basemap.mapcss
Normal file
629
data/styles/vehicle/include/Basemap.mapcss
Normal file
|
@ -0,0 +1,629 @@
|
|||
/* ~~~~ CONTENT OF BASEMAP ~~~~~
|
||||
|
||||
1.Z-INDEX of BASEMAP
|
||||
2.LAND
|
||||
3.BOUNDARY
|
||||
3.1 Countries
|
||||
3.2 Region
|
||||
4.VEGETATION
|
||||
5.BEACH & GLACIER
|
||||
6.WATER
|
||||
6.1 Area water(lake,pond etc.)
|
||||
6.2 Line water(river,canal etc.)
|
||||
7.LANDUSE
|
||||
7.1 Industrial
|
||||
7.2 Hostital
|
||||
7.3 University & Sport
|
||||
7.4 Cemetry
|
||||
7.5 Pedestrian areas
|
||||
7.6 Airports
|
||||
8.BUILDINGS
|
||||
8.1 Pier
|
||||
8.2 Building
|
||||
8.3 Barrier
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
|
||||
/* 1.Z-INDEX BASE MAP */
|
||||
|
||||
area[natural=coastline]
|
||||
{z-index: -10;}
|
||||
|
||||
area[natural=land],
|
||||
area[place=islet]
|
||||
{z-index: 0;}
|
||||
|
||||
area[natural=glacier],
|
||||
area[natural=beach],
|
||||
area[leisure=beach_resort],
|
||||
area[amenity=university],
|
||||
area[aeroway=airport][aerodrome=international],
|
||||
area[aeroway=aerodrome][aerodrome=international],
|
||||
area[aeroway=airport],
|
||||
area[aeroway=aerodrome]
|
||||
{z-index: 1;}
|
||||
|
||||
area[amenity=hospital],
|
||||
area[amenity=doctors]
|
||||
{z-index: 2;}
|
||||
|
||||
area[landuse=industrial],
|
||||
area[landuse=construction],
|
||||
area[landuse=landfill],
|
||||
area[landuse=railway],
|
||||
area[landuse=quarry]
|
||||
{z-index: 3;}
|
||||
|
||||
area[leisure=pitch],
|
||||
area[leisure=stadium],
|
||||
area[leisure=playground],
|
||||
area[sport=multi],
|
||||
area[sport=soccer],
|
||||
{z-index: 5;}
|
||||
|
||||
/*area[amenity=parking]
|
||||
{z-index: 6;}*/
|
||||
|
||||
area[natural=wood],
|
||||
area[landuse=forest],
|
||||
area[leisure=nature_reserve]
|
||||
{z-index: 30;}
|
||||
|
||||
area[leisure=park],
|
||||
area[leisure=garden]
|
||||
{z-index: 40;}
|
||||
|
||||
area[landuse=farmland],
|
||||
area[landuse=allotments],
|
||||
area[natural=scrub],
|
||||
area[landuse=orchard],
|
||||
area[landuse=vineyard],
|
||||
area[landuse=meadow],
|
||||
area[landuse=recreation_ground],
|
||||
area[landuse=village_green],
|
||||
area[landuse=field],
|
||||
{z-index: 42;}
|
||||
|
||||
area[landuse=cemetery],
|
||||
area[amenity=grave_yard]
|
||||
{z-index: 43;}
|
||||
|
||||
area[highway=pedestrian][area?],
|
||||
area[area:highway=pedestrian],
|
||||
area[highway=footway][area?][!sac_scale],
|
||||
area[area:highway=footway],
|
||||
area[area:highway=living_street],
|
||||
area[public_transport=platform],
|
||||
area[railway=platform]
|
||||
{z-index: 44;}
|
||||
|
||||
area[landuse=grass],
|
||||
area[natural=grassland],
|
||||
area[leisure=golf_course],
|
||||
area[natural=heath]
|
||||
{z-index: 45;}
|
||||
|
||||
area[natural=wetland],
|
||||
line[waterway=stream][intermittent=yes]
|
||||
{z-index: 49;}
|
||||
|
||||
line[waterway=river],
|
||||
line[waterway=riverbank],
|
||||
line[waterway=stream],
|
||||
line[waterway=canal],
|
||||
line[waterway=lock],
|
||||
line[waterway=ditch],
|
||||
line[waterway=drain],
|
||||
{z-index: 50;}
|
||||
|
||||
area[natural=lake],
|
||||
area[natural=pond],
|
||||
area[natural=water],
|
||||
area[natural=bay],
|
||||
area[natural=salt_pond],
|
||||
area[waterway=dock],
|
||||
area[waterway=riverbank],
|
||||
area[landuse=salt_pond],
|
||||
area[landuse=basin],
|
||||
area[landuse=reservoir],
|
||||
area[leisure=swimming_pool],
|
||||
area[amenity=fountain],
|
||||
{z-index: 100;}
|
||||
|
||||
area[waterway=dam],
|
||||
line[waterway=dam],
|
||||
line[waterway=weir],
|
||||
node[waterway=lock_gate],
|
||||
{z-index: 110;}
|
||||
|
||||
area[man_made=pier],
|
||||
area[man_made=breakwater],
|
||||
line[man_made=pier],
|
||||
line[man_made=breakwater],
|
||||
line[man_made=cutline]
|
||||
{z-index: 120;}
|
||||
|
||||
line[boundary=administrative]
|
||||
{z-index: 130;}
|
||||
|
||||
area[building],
|
||||
area[building:part],
|
||||
area[landuse=garages],
|
||||
area[building=train_station],
|
||||
{z-index: 150;}
|
||||
|
||||
area[aeroway=terminal]
|
||||
{z-index: 160;}
|
||||
|
||||
area[amenity=place_of_worship]
|
||||
{z-index: 210;}
|
||||
|
||||
line[barrier=wall],
|
||||
line[barrier=city_wall],
|
||||
line[barrier=retaining_wall],
|
||||
line[barrier=fence],
|
||||
line[barrier=hedge],
|
||||
line[historic=citywalls],
|
||||
area[amenity=parking],
|
||||
{z-index: 950;}
|
||||
|
||||
/* 2.LAND */
|
||||
|
||||
area|z0-[natural=coastline],
|
||||
area|z0-[natural=land],
|
||||
area|z10-[place=islet]
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
area|z0-[natural=coastline]
|
||||
{fill-color: @water;}
|
||||
|
||||
area|z0-[natural=land]
|
||||
area|z10-[place=islet],
|
||||
{fill-color: @background;}
|
||||
|
||||
/* 3.BOUNDARIES */
|
||||
|
||||
line|z2-[boundary=administrative]
|
||||
{color: @border_country;opacity: 1;}
|
||||
|
||||
line|z4[boundary=administrative][admin_level=3],
|
||||
line|z5-[boundary=administrative][admin_level=4]
|
||||
{color: @border_region;opacity: 1;}
|
||||
|
||||
/* 3.1 Country */
|
||||
|
||||
line|z2[boundary=administrative][admin_level=2]
|
||||
{width: 0.5;opacity: 0.7;}
|
||||
line|z3[boundary=administrative][admin_level=2]
|
||||
{width: 0.5;opacity: 0.8;}
|
||||
line|z4[boundary=administrative][admin_level=2]
|
||||
{width: 0.6;}
|
||||
line|z5[boundary=administrative][admin_level=2]
|
||||
{width: 0.8;}
|
||||
line|z6[boundary=administrative][admin_level=2]
|
||||
{width: 0.85;}
|
||||
line|z7[boundary=administrative][admin_level=2]
|
||||
{width: 1;}
|
||||
line|z8[boundary=administrative][admin_level=2]
|
||||
{width: 1.1;}
|
||||
line|z9-[boundary=administrative][admin_level=2]
|
||||
{width: 1.4;}
|
||||
|
||||
/* 3.2 Region */
|
||||
|
||||
line|z4[boundary=administrative][admin_level=3]
|
||||
{width: 0.8;dashes: 0.9,0.36;}
|
||||
line|z5[boundary=administrative][admin_level=4]
|
||||
{width: 0.7;opacity: 0.8;dashes: 1.35,0.9;}
|
||||
line|z6[boundary=administrative][admin_level=4]
|
||||
{width: 0.8;dashes: 0.9,0.45;}
|
||||
line|z7[boundary=administrative][admin_level=4]
|
||||
{width: 0.9;dashes: 1.8,0.9;}
|
||||
line|z8[boundary=administrative][admin_level=4]
|
||||
{width: 0.9;dashes: 1.44,1.44;}
|
||||
line|z9[boundary=administrative][admin_level=4]
|
||||
{width: 1;dashes: 1.8,0.9;}
|
||||
line|z10-[boundary=administrative][admin_level=4]
|
||||
{width: 1.2;dashes: 1.8,0.9;}
|
||||
|
||||
/* 4.VEGETATION */
|
||||
|
||||
area|z10-[natural=wood],
|
||||
area|z10-[landuse=forest],
|
||||
area|z10-[leisure=park],
|
||||
area|z10-[leisure=garden],
|
||||
area|z14-[landuse=grass],
|
||||
area|z14-[natural=grassland],
|
||||
area|z14-[leisure=golf_course],
|
||||
area|z14-[natural=heath],
|
||||
area|z14-[landuse=farmland],
|
||||
area|z14-[landuse=allotments],
|
||||
area|z14-[natural=scrub],
|
||||
area|z14-[landuse=orchard],
|
||||
area|z14-[landuse=vineyard],
|
||||
area|z14-[landuse=meadow],
|
||||
area|z14-[landuse=recreation_ground],
|
||||
area|z14-[landuse=village_green],
|
||||
area|z14-[landuse=field],
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
area|z10-[leisure=nature_reserve]
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
area|z10[natural=wood],
|
||||
area|z10[landuse=forest],
|
||||
area|z10[leisure=nature_reserve],
|
||||
{fill-color: @green1;fill-opacity: 1;}
|
||||
|
||||
area|z14-[landuse=grass],
|
||||
area|z14-[natural=grassland],
|
||||
area|z14-[leisure=golf_course],
|
||||
area|z14-[natural=heath],
|
||||
area|z14-[landuse=farmland],
|
||||
area|z14-[landuse=allotments],
|
||||
area|z14-[natural=scrub],
|
||||
area|z14-[landuse=orchard],
|
||||
area|z14-[landuse=vineyard],
|
||||
area|z14-[landuse=meadow],
|
||||
area|z14-[landuse=recreation_ground],
|
||||
area|z14-[landuse=village_green],
|
||||
area|z14-[landuse=field],
|
||||
{fill-color: @green1;fill-opacity: 1;}
|
||||
|
||||
area|z11-12[natural=wood],
|
||||
area|z11-12[landuse=forest],
|
||||
area|z11-12[leisure=nature_reserve],
|
||||
area|z10-12[leisure=park],
|
||||
area|z12[leisure=garden],
|
||||
{fill-color: @green2;fill-opacity: 1;}
|
||||
|
||||
area|z13[natural=wood],
|
||||
area|z13[landuse=forest],
|
||||
area|z13[leisure=nature_reserve],
|
||||
area|z13[leisure=park],
|
||||
area|z13[leisure=garden]
|
||||
{fill-color: @green3;fill-opacity: 1;}
|
||||
|
||||
area|z14[natural=wood],
|
||||
area|z14[landuse=forest],
|
||||
area|z14[leisure=nature_reserve],
|
||||
area|z14[leisure=park],
|
||||
area|z14[leisure=garden]
|
||||
{fill-color: @green4;fill-opacity: 1;}
|
||||
|
||||
area|z15[natural=wood],
|
||||
area|z15[landuse=forest],
|
||||
area|z15[leisure=nature_reserve],
|
||||
area|z15[leisure=park],
|
||||
area|z15[leisure=garden]
|
||||
{fill-color: @green5;fill-opacity: 1;}
|
||||
|
||||
area|z16-[natural=wood],
|
||||
area|z16-[landuse=forest],
|
||||
area|z16-[leisure=nature_reserve],
|
||||
area|z16-[leisure=park],
|
||||
area|z16-[leisure=garden]
|
||||
{fill-color: @forest;fill-opacity: 1;}
|
||||
|
||||
/* 5.BEACH & GLACIER */
|
||||
|
||||
area|z0-[natural=glacier],
|
||||
area|z10-[natural=beach],
|
||||
area|z10-[leisure=beach_resort],
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
area|z0-[natural=glacier]
|
||||
{fill-color: @glacier;}
|
||||
|
||||
area|z10-[natural=beach],
|
||||
area|z10-[leisure=beach_resort],
|
||||
{fill-color: @beach;fill-opacity: 0.35;}
|
||||
|
||||
/* 6.WATER */
|
||||
|
||||
area|z0-[natural=lake],
|
||||
area|z0-[natural=pond],
|
||||
area|z0-[natural=water],
|
||||
area|z0-[natural=salt_pond],
|
||||
area|z0-[landuse=salt_pond],
|
||||
area|z0-[waterway=dock],
|
||||
area|z0-[waterway=riverbank],
|
||||
area|z10-[natural=bay],
|
||||
area|z11-[natural=wetland],
|
||||
area|z12-[landuse=basin],
|
||||
area|z12-[landuse=reservoir],
|
||||
area|z13-[leisure=swimming_pool],
|
||||
area|z16-[amenity=fountain],
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
line|z10-[waterway=river],
|
||||
line|z10-[waterway=riverbank],
|
||||
line|z13-[waterway=stream],
|
||||
line|z13-[waterway=stream][intermittent=yes],
|
||||
line|z13-[waterway=canal],
|
||||
line|z16-[waterway=lock],
|
||||
{opacity: 1;color: @river;-x-me-line-priority: -15600;}
|
||||
|
||||
/* 6.1 Area water(lake,pond etc.) */
|
||||
|
||||
area|z0-[natural=lake],
|
||||
area|z0-[natural=pond],
|
||||
area|z0-[natural=water],
|
||||
area|z0-[natural=salt_pond],
|
||||
area|z0-[landuse=salt_pond],
|
||||
area|z0-[waterway=dock],
|
||||
area|z0-[waterway=riverbank],
|
||||
area|z10-[natural=bay],
|
||||
area|z12-[landuse=basin],
|
||||
area|z12-[landuse=reservoir],
|
||||
area|z13-[leisure=swimming_pool],
|
||||
area|z16-[amenity=fountain],
|
||||
{fill-color: @water;}
|
||||
|
||||
area|z11-[natural=wetland],
|
||||
{fill-color: @wetland;fill-opacity: 1;}
|
||||
|
||||
/* 6.2 Line water(river,canal etc.) */
|
||||
|
||||
/* Do not draw tunnel waterways */
|
||||
|
||||
line[waterway][tunnel]
|
||||
{width: 0;}
|
||||
|
||||
line|z10[waterway=river],
|
||||
line|z10[waterway=riverbank],
|
||||
{width: 1;}
|
||||
|
||||
line|z11-12[waterway=river],
|
||||
line|z11-12[waterway=riverbank],
|
||||
{width: 1.2;}
|
||||
|
||||
line|z13[waterway=river],
|
||||
line|z13[waterway=riverbank],
|
||||
{width: 1.6;}
|
||||
line|z13[waterway=stream],
|
||||
line|z13[waterway=canal],
|
||||
{width: 0.7;}
|
||||
line|z13[waterway=stream][intermittent=yes]
|
||||
{width: 0.7;dashes: 2.7,2.7;}
|
||||
|
||||
line|z14[waterway=river],
|
||||
line|z14[waterway=riverbank],
|
||||
{width: 1.8;}
|
||||
line|z14[waterway=stream],
|
||||
line|z14[waterway=canal],
|
||||
{width: 1;}
|
||||
line|z14[waterway=stream][intermittent=yes]
|
||||
{width: 1;dashes: 2.7,2.7;}
|
||||
|
||||
line|z15-[waterway=river],
|
||||
line|z15-[waterway=riverbank],
|
||||
{width: 2.2;}
|
||||
line|z15-[waterway=stream],
|
||||
line|z15-[waterway=canal],
|
||||
{width: 1.6;}
|
||||
line|z15-[waterway=stream][intermittent=yes]
|
||||
{width: 1.4;dashes: 4.95,4.95;}
|
||||
area|z15-[waterway=dam],
|
||||
line|z15-[waterway=dam],
|
||||
line|z15-[waterway=weir],
|
||||
{width: 1;opacity: 1;color: @bridge_casing;}
|
||||
|
||||
line|z16-[waterway=lock],
|
||||
{width: 1.5;}
|
||||
node|z16-[waterway=lock_gate],
|
||||
{icon-image: dot-m.svg;}
|
||||
|
||||
line|z17-[waterway=ditch],
|
||||
line|z17-[waterway=drain],
|
||||
{width: 1.8;opacity: 1;color: @river;dashes: 0.9,0.9;}
|
||||
|
||||
/* 7.LANDUSE */
|
||||
|
||||
area|z10-[aeroway=airport][aerodrome=international],
|
||||
area|z10-[aeroway=aerodrome][aerodrome=international],
|
||||
area|z10-[aeroway=airport],
|
||||
area|z10-[aeroway=aerodrome],
|
||||
area|z14-[amenity=hospital],
|
||||
area|z14-[amenity=doctors],
|
||||
area|z14-[highway=pedestrian][area?],
|
||||
area|z14-[area:highway=pedestrian],
|
||||
area|z14-[highway=footway][area?][!sac_scale],
|
||||
area|z14-[area:highway=footway],
|
||||
area|z14-[area:highway=living_street],
|
||||
area|z14-[amenity=grave_yard],
|
||||
area|z14-[landuse=cemetery],
|
||||
area|z14-[amenity=university],
|
||||
area|z15-[landuse=industrial],
|
||||
area|z15-[landuse=construction],
|
||||
area|z15-[landuse=landfill],
|
||||
area|z15-[landuse=railway],
|
||||
area|z15-[landuse=quarry],
|
||||
area|z15-[leisure=stadium],
|
||||
area|z15-[amenity=parking]
|
||||
area|z16-[public_transport=platform],
|
||||
area|z16-[amenity=place_of_worship],
|
||||
area|z16-[railway=platform],
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
/* 7.1 Industrial */
|
||||
|
||||
area|z15-[landuse=industrial],
|
||||
area|z15-[landuse=construction],
|
||||
area|z15-[landuse=landfill],
|
||||
area|z15-[landuse=railway],
|
||||
area|z15-[landuse=quarry]
|
||||
{fill-color: @industrial;fill-opacity: 1;}
|
||||
|
||||
|
||||
/* 7.2 Hostital */
|
||||
|
||||
/*area|z14-[amenity=hospital],
|
||||
area|z14-[amenity=doctors]
|
||||
{fill-color: @hospital;fill-opacity: 0.25;}*/
|
||||
|
||||
/* 7.3 University & Sport */
|
||||
|
||||
/*area|z14-[amenity=university]
|
||||
{fill-color: @unversity;fill-opacity: 0.25;}*/
|
||||
|
||||
|
||||
area|z15-[leisure=stadium],
|
||||
{fill-color: @sport;fill-opacity: 1;}
|
||||
|
||||
/* 7.4 Cemetry */
|
||||
|
||||
area|z14[landuse=cemetery],
|
||||
area|z14[amenity=grave_yard]
|
||||
{fill-color: @green2;fill-opacity: 1;}
|
||||
|
||||
area|z15-[amenity=grave_yard],
|
||||
area|z15-[landuse=cemetery]
|
||||
{fill-color: @green2;fill-opacity: 1;}
|
||||
|
||||
area|z16-[amenity=grave_yard],
|
||||
area|z16-[landuse=cemetery]
|
||||
{fill-color: @green3;fill-opacity: 1;}
|
||||
|
||||
/* 7.5 Pedestrian areas */
|
||||
|
||||
/*area|z14-[highway=pedestrian][area?],
|
||||
area|z14-[area:highway=pedestrian],
|
||||
area|z14-[highway=footway][area?][!sac_scale],
|
||||
area|z14-[area:highway=footway],
|
||||
area|z14-[area:highway=living_street],
|
||||
area|z16-[public_transport=platform],
|
||||
area|z16-[railway=platform],
|
||||
area|z16-[amenity=place_of_worship]
|
||||
{fill-color: @pedestrian_area;fill-opacity: 1;}
|
||||
|
||||
area|z16-[highway=pedestrian][area?],
|
||||
area|z16-[area:highway=pedestrian],
|
||||
area|z16-[highway=footway][area?][!sac_scale],
|
||||
area|z16-[area:highway=footway],
|
||||
area|z16-[area:highway=living_street],
|
||||
{fill-color: @pedestrian_area_light;fill-opacity: 1;}*/
|
||||
|
||||
/* 7.6 Airports */
|
||||
|
||||
area|z10[aeroway=airport][aerodrome=international],
|
||||
area|z10[aeroway=aerodrome][aerodrome=international],
|
||||
area|z10[aeroway=aerodrome],
|
||||
area|z10[aeroway=airport]
|
||||
{fill-color: @aerodrome0;fill-opacity: 0.75;}
|
||||
area|z11[aeroway=airport][aerodrome=international],
|
||||
area|z11[aeroway=aerodrome][aerodrome=international],
|
||||
area|z11[aeroway=aerodrome],
|
||||
area|z11[aeroway=airport],
|
||||
{fill-color: @aerodrome1;fill-opacity: 0.55;}
|
||||
area|z12-[aeroway=airport][aerodrome=international],
|
||||
area|z12-[aeroway=aerodrome][aerodrome=international],
|
||||
area|z12-[aeroway=airport],
|
||||
area|z12-[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome2;fill-opacity: 0.55;}
|
||||
area|z13[aeroway=airport][aerodrome=international],
|
||||
area|z13[aeroway=aerodrome][aerodrome=international],
|
||||
area|z13[aeroway=airport],
|
||||
area|z13[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome3;fill-opacity: 0.75;}
|
||||
area|z14[aeroway=airport][aerodrome=international],
|
||||
area|z14[aeroway=aerodrome][aerodrome=international],
|
||||
area|z14[aeroway=airport],
|
||||
area|z14[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome4;fill-opacity: 0.85;}
|
||||
area|z15-19[aeroway=airport][aerodrome=international],
|
||||
area|z15-19[aeroway=aerodrome][aerodrome=international],
|
||||
area|z15-19[aeroway=airport],
|
||||
area|z15-19[aeroway=aerodrome]
|
||||
{fill-color: @aerodrome5; fill-opacity: 1;}
|
||||
|
||||
/* Parking */
|
||||
|
||||
area|z15-[amenity=parking]
|
||||
{fill-color: @parking;fill-opacity: 1;}
|
||||
|
||||
/* 8.BUILDINGS */
|
||||
|
||||
area|z12-[man_made=pier],
|
||||
area|z12-[man_made=breakwater],
|
||||
line|z14-[man_made=pier],
|
||||
line|z14-[man_made=breakwater],
|
||||
line|z14-[man_made=cutline]
|
||||
{fill-position: background; fill-opacity: 1;}
|
||||
|
||||
/* 8.1 Pier */
|
||||
area|z12-[man_made=pier],
|
||||
area|z12-[man_made=breakwater],
|
||||
{fill-color: @background;casing-color: @background;}
|
||||
|
||||
line|z14-[man_made=pier],
|
||||
line|z14-[man_made=breakwater],
|
||||
line|z14-[man_made=cutline]
|
||||
{casing-width: 2;casing-color: @background;fill-color: @background;}
|
||||
|
||||
/* 8.2 Building */
|
||||
|
||||
/*area|z14[building],
|
||||
area|z14[landuse=garages],
|
||||
area|z14[building=train_station],
|
||||
{fill-color: @building;fill-opacity: 0.55;casing-width: 1;casing-color: @building_border;}*/
|
||||
|
||||
area|z15[building],
|
||||
area|z15[landuse=garages],
|
||||
area|z15[building=train_station],
|
||||
{fill-color: @building;fill-opacity: 0.65;casing-width: 1;casing-color: @building_border;}
|
||||
|
||||
area|z14-15[aeroway=terminal],
|
||||
area|z16[building],
|
||||
area|z16[building:part],
|
||||
area|z16[landuse=garages],
|
||||
area|z16[building=train_station],
|
||||
{fill-color: @building;fill-opacity: 0.55;casing-width: 1;casing-color: @building_border;}
|
||||
|
||||
area|z16[aeroway=terminal],
|
||||
area|z17[building],
|
||||
area|z17[building:part],
|
||||
area|z17[landuse=garages],
|
||||
area|z17[building=train_station],
|
||||
{fill-color: @building;opacity: 0.55;casing-width: 1;casing-color: @building_border;}
|
||||
|
||||
area|z17-[aeroway=terminal]
|
||||
area|z18-[building],
|
||||
area|z18-[building:part],
|
||||
area|z18-[landuse=garages],
|
||||
area|z18-[building=train_station],
|
||||
{fill-color: @building;opacity: 0.55;casing-width: 1;casing-color: @building_border;}
|
||||
|
||||
/* 8.3 Barrier */
|
||||
|
||||
/*line|z16-[barrier=retaining_wall],
|
||||
{fill-color: @fence;opacity: 1;}*/
|
||||
|
||||
/*line|z16-[barrier=wall],
|
||||
line|z16-[barrier=city_wall],
|
||||
line|z16-[barrier=fence],
|
||||
line|z16-[barrier=hedge],
|
||||
line|z16-[historic=citywalls],
|
||||
{fill-color: @fence;opacity: 0.35;}*/
|
||||
|
||||
/*line|z16[barrier=retaining_wall],
|
||||
{width: 0.7;dashes: 0.12,0.12;opacity: 0.5;}*/
|
||||
|
||||
line|z16[barrier=wall],
|
||||
line|z16[barrier=city_wall],
|
||||
line|z16[barrier=fence],
|
||||
line|z16[barrier=hedge],
|
||||
/*line|z16[historic=citywalls],*/
|
||||
{width: 0.7;dashes: 0.12,0.12;opacity: 0.5;}
|
||||
line|z17-[barrier=wall],
|
||||
line|z17-[barrier=city_wall],
|
||||
line|z17-[barrier=fence],
|
||||
line|z17-[barrier=hedge],
|
||||
/*line|z17-[historic=citywalls],*/
|
||||
{width: 1.0;dashes: 0.25,0.25;opacity:0.7;}
|
||||
line|z18-[barrier=wall],
|
||||
line|z18-[barrier=city_wall],
|
||||
line|z18-[barrier=fence],
|
||||
line|z18-[barrier=hedge],
|
||||
/*line|z18-[historic=citywalls],*/
|
||||
{width: 1.4;dashes: 0.3,0.3;}
|
729
data/styles/vehicle/include/Basemap_label.mapcss
Normal file
729
data/styles/vehicle/include/Basemap_label.mapcss
Normal file
|
@ -0,0 +1,729 @@
|
|||
/* ~~~~ CONTENT OF BASEMAP lable ~~~~~
|
||||
|
||||
1.Z-INDEX of BASEMAP LABEL
|
||||
2.CONTINENTS
|
||||
3.COUNTRIES & STATES
|
||||
4.PLACES
|
||||
4.1 City
|
||||
4.2 Town
|
||||
4.3 Village
|
||||
4.4 Districts & Small localities
|
||||
5.VEGETATION, BEACH & GLACIER
|
||||
5.1 Vegetation
|
||||
5.2 Beach & Glacier
|
||||
6.WATER
|
||||
6.1 Area water(lake,pond etc.)
|
||||
6.2 Line water(river,canal etc.)
|
||||
7.LANDUSE
|
||||
7.1 Industrial
|
||||
7.2 Hostital
|
||||
7.3 University & Sport
|
||||
7.4 Cemetry
|
||||
7.5 Pedestrian areas
|
||||
7.6 Military
|
||||
7.7 Commercial
|
||||
8.BUILDINGS
|
||||
8.1 Pier
|
||||
8.2 Building
|
||||
8.3 Airports
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
|
||||
/* 1. Z-INDEX BASE MAP LABEL */
|
||||
|
||||
node[entrance]
|
||||
{z-index: 10;}
|
||||
|
||||
area[building],
|
||||
node[building],
|
||||
area[addr:housenumber][addr:street],
|
||||
node[addr:housenumber][addr:street],
|
||||
{z-index: 300;}
|
||||
|
||||
area[landuse=cemetery],
|
||||
node[landuse=cemetery],
|
||||
area[amenity=grave_yard],
|
||||
node[amenity=grave_yard],
|
||||
{z-index: 800;}
|
||||
|
||||
node[place=continent]
|
||||
{z-index: 999;}
|
||||
|
||||
node[place=country],
|
||||
area[man_made=pier],
|
||||
area[man_made=breakwater],
|
||||
line[man_made=pier],
|
||||
line[man_made=breakwater],
|
||||
node[man_made=pier],
|
||||
node[man_made=breakwater],
|
||||
area[waterway=dam],
|
||||
line[waterway=dam],
|
||||
line[waterway=weir],
|
||||
node[waterway=weir],
|
||||
area[landuse=military],
|
||||
node[landuse=military]
|
||||
{z-index: 1000;}
|
||||
|
||||
node[place=state]
|
||||
{z-index: 1001;}
|
||||
|
||||
node[place=hamlet]
|
||||
{z-index: 1002;}
|
||||
|
||||
node[place=village]
|
||||
{z-index: 1050;}
|
||||
|
||||
node[place=town]
|
||||
{z-index: 1100;}
|
||||
|
||||
node[place=city]
|
||||
{z-index: 1200;}
|
||||
|
||||
node[place=city][capital=3],
|
||||
node[place=city][capital=4]
|
||||
{z-index: 1300;}
|
||||
|
||||
node[place=city][capital!=2][population>=40000],
|
||||
node[place=city][capital!=2][population>=40000]::int_name
|
||||
{z-index: 1400;}
|
||||
|
||||
node[place=city][capital=2]
|
||||
{z-index: 1450;}
|
||||
|
||||
node[place=ocean],
|
||||
node[place=sea]
|
||||
{z-index: 3000;}
|
||||
|
||||
area[natural=lake],
|
||||
area[landuse=reservoir],
|
||||
area[natural=water],
|
||||
line[waterway=river],
|
||||
line[waterway=riverbank],
|
||||
line[waterway=stream],
|
||||
line[waterway=canal],
|
||||
line[waterway],
|
||||
{z-index: 10000;}
|
||||
|
||||
/* 2.CONTINENTS */
|
||||
|
||||
*[place]
|
||||
{text-position: center;fill-position: background;}
|
||||
|
||||
node|z1-2[place=continent]
|
||||
node|z12-[place=archipelago],
|
||||
node|z12-14[place=island],
|
||||
area|z12-[place=archipelago],
|
||||
area|z12-14[place=island]
|
||||
node|z14-[natural=cape],
|
||||
area|z14-[natural=cape]
|
||||
{text: name;}
|
||||
|
||||
node|z1-2[place=continent]
|
||||
{font-size: 12;text-color: @country_label;max-width: 5;-x-me-text-priority:16000;}
|
||||
|
||||
node|z12-[place=archipelago],
|
||||
node|z12-14[place=island],
|
||||
area|z12-[place=archipelago],
|
||||
area|z12-14[place=island]
|
||||
{font-size: 9;text-color: @district_label;}
|
||||
|
||||
node|z14-[natural=cape],
|
||||
area|z14-[natural=cape]
|
||||
{font-size: 8;text-color: @poi_label;}
|
||||
|
||||
/* 3.COUNTRIES & STATES */
|
||||
|
||||
node|z3-[place=country]
|
||||
{text: name;text-color: @country_label;-x-me-text-priority:16000;}
|
||||
node|z3-[place=country]::int_name
|
||||
{text: int_name;text-color: @country_label;-x-me-text-priority:16000;}
|
||||
|
||||
node|z5[place=state][addr:country=US],
|
||||
node|z6-10[place=state]
|
||||
{text: name;text-color: @state_label;}
|
||||
node|z7-10[place=state]::int_name
|
||||
{text: int_name;text-color: @state_label;}
|
||||
|
||||
node|z3[place=country]
|
||||
{font-size: 10;}
|
||||
node|z3[place=country]::int_name
|
||||
{font-size: 8;}
|
||||
node|z4[place=country]
|
||||
{font-size: 12;}
|
||||
node|z4[place=country]::int_name
|
||||
{font-size: 10;}
|
||||
node|z5[place=country]
|
||||
{font-size: 13;}
|
||||
node|z5[place=country]::int_name
|
||||
{font-size: 11;}
|
||||
node|z6[place=country]
|
||||
{font-size: 15;}
|
||||
node|z6[place=country]::int_name
|
||||
{font-size: 13;}
|
||||
node|z7[place=country]
|
||||
{font-size: 17;}
|
||||
node|z7[place=country]::int_name
|
||||
{font-size: 15;}
|
||||
node|z8[place=country]
|
||||
{font-size: 19;}
|
||||
node|z8[place=country]::int_name
|
||||
{font-size: 17;}
|
||||
node|z9-[place=country]
|
||||
{font-size: 21;}
|
||||
node|z9-[place=country]::int_name
|
||||
{font-size: 19;}
|
||||
|
||||
node|z5[place=state][addr:country=US]
|
||||
{font-size: 11;}
|
||||
node|z6-7[place=state]
|
||||
{font-size: 11;}
|
||||
node|z7[place=state]::int_name
|
||||
{font-size: 10;}
|
||||
node|z8-10[place=state]
|
||||
{font-size: 12;}
|
||||
node|z8-10[place=state]::int_name
|
||||
{font-size: 11;}
|
||||
|
||||
/* 4.PLACES */
|
||||
|
||||
/* 4.1 Cities */
|
||||
|
||||
node|z4[place=city][capital!=2][population>=1000000],
|
||||
node|z5[place=city][capital!=2][population>=150000],
|
||||
node|z6[place=city][capital!=2][population>=50000],
|
||||
node|z7-8[place=city][capital!=2][population>=40000]
|
||||
node|z4-[place=city][capital=2],
|
||||
node|z9-[place=city]
|
||||
{text: name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
|
||||
node|z4[place=city][capital!=2][population>=1000000]::int_name,
|
||||
node|z5[place=city][capital!=2][population>=150000]::int_name,
|
||||
node|z6[place=city][capital!=2][population>=50000]::int_name,
|
||||
node|z7-8[place=city][capital!=2][population>=40000]::int_name,
|
||||
node|z4-[place=city][capital=2]::int_name,
|
||||
node|z9-[place=city]::int_name
|
||||
{text: int_name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
node|z4[place=city][capital!=2][population>=1000000],
|
||||
{font-size: 9;text-halo-opacity: 0.7;}
|
||||
node|z4[place=city][capital!=2][population>=1000000]::int_name
|
||||
{font-size: 8;text-halo-opacity: 0.7;}
|
||||
node|z4[place=city][capital=2],
|
||||
{icon-image: star-s.svg;text-offset: 3;font-size: 10;}
|
||||
node|z4[place=city][capital=2]::int_name
|
||||
{text-offset: 9;font-size: 9;}
|
||||
|
||||
node|z5[place=city][capital!=2][population>=150000],
|
||||
{font-size: 10;text-halo-opacity: 0.6;}
|
||||
node|z5[place=city][capital!=2][population>=150000]::int_name
|
||||
{font-size: 9;text-halo-opacity: 0.6;}
|
||||
node|z5[place=city][capital=2]
|
||||
{icon-image: star-m.svg;text-offset: 3;font-size: 10.4;}
|
||||
node|z5[place=city][capital=2]::int_name
|
||||
{text-offset: 9;font-size: 9.4;}
|
||||
|
||||
node|z6[place=city][capital!=2][population>=40000]
|
||||
{font-size: 10.4;text-halo-opacity: 0.6;}
|
||||
node|z6[place=city][capital!=2][population>=40000]::int_name
|
||||
{font-size: 9.4;text-halo-opacity: 0.6;}
|
||||
node|z6[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 4;font-size: 11.6;}
|
||||
node|z6[place=city][capital=2]::int_name
|
||||
{text-offset: 10;font-size: 10.6;}
|
||||
|
||||
node|z7[place=city][capital!=2][population>=20000]
|
||||
{font-size: 10;text-halo-opacity: 0.8;}
|
||||
node|z7[place=city][capital!=2][population>=20000]::int_name
|
||||
{font-size: 9;text-halo-opacity: 0.8;}
|
||||
node|z7[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 5;font-size: 11;}
|
||||
node|z7[place=city][capital=2]::int_name
|
||||
{text-offset: 11;font-size: 10;}
|
||||
|
||||
node|z8[place=city][capital!=2][population>=40000]
|
||||
{font-size: 10.5;}
|
||||
node|z8[place=city][capital!=2][population>=40000]::int_name
|
||||
{font-size: 9.5;}
|
||||
node|z8[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 5;font-size: 11.5;}
|
||||
node|z8[place=city][capital=2]::int_name
|
||||
{text-offset: 11;font-size: 10.5;}
|
||||
|
||||
node|z9[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 5;font-size: 13; text-halo-radius: 0.5;}
|
||||
node|z9[place=city][capital=2]::int_name
|
||||
{text-offset: 11;font-size: 12;text-halo-radius: 0.5;}
|
||||
node|z9[place=city],
|
||||
{font-size: 11;text-halo-radius: 0.5;}
|
||||
node|z9[place=city]::int_name
|
||||
{font-size: 10;text-halo-radius: 0.5;}
|
||||
|
||||
node|z10[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 3;font-size: 13;}
|
||||
node|z10[place=city][capital=2]::int_name
|
||||
{text-offset: 9;font-size: 12;}
|
||||
node|z10[place=city],
|
||||
{font-size: 11;text-halo-radius: 0.9;}
|
||||
node|z10[place=city]::int_name
|
||||
{font-size: 10;text-halo-radius: 0.9;}
|
||||
|
||||
node|z11[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 4;font-size: 12;}
|
||||
node|z11[place=city][capital=2]::int_name
|
||||
{text-offset: 10;font-size: 11;}
|
||||
node|z11[place=city],
|
||||
{font-size: 12;}
|
||||
node|z11[place=city]::int_name
|
||||
{font-size: 11;}
|
||||
|
||||
node|z12[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 4;font-size: 13;}
|
||||
node|z12[place=city][capital=2]::int_name
|
||||
{text-offset: 10;font-size: 11;}
|
||||
node|z12[place=city],
|
||||
{font-size: 13;text-color: @label_medium;}
|
||||
node|z12[place=city]::int_name
|
||||
{font-size: 11;text-color: @label_medium;}
|
||||
|
||||
node|z13-[place=city][capital=2]
|
||||
{icon-image: star-l.svg;text-offset: 4;font-size: 14;text-color: @label_medium;}
|
||||
node|z13-[place=city][capital=2]::int_name
|
||||
{text-offset: 10;font-size: 11;text-color: @label_medium;}
|
||||
node|z13-[place=city],
|
||||
{font-size: 14;text-color: @label_medium;}
|
||||
node|z13-[place=city]::int_name
|
||||
{font-size: 12;text-color: @label_medium;}
|
||||
|
||||
/* 4.2 Town */
|
||||
|
||||
node|z8[place=town][population>=30000],
|
||||
node|z9[place=town][population>=20000]
|
||||
{text: name;text-color: @city_label;}
|
||||
node|z8[place=town][population>=30000]::int_name,
|
||||
node|z9[place=town][population>=20000]::int_name
|
||||
{text:int_name;text-color: @city_label;}
|
||||
node|z10-[place=town],
|
||||
{text: name;text-color: @label_medium;text-halo-radius: 1;text-halo-opacity: 0.8;text-halo-color: @label_halo_light;}
|
||||
node|z10-[place=town]::int_name
|
||||
{text:int_name;text-color: @label_medium;;text-halo-radius: 1;text-halo-opacity: 0.8;text-halo-color: @label_halo_light;}
|
||||
|
||||
node|z8[place=town][population>=40000]
|
||||
{font-size: 10;}
|
||||
node|z8[place=town][population>=40000]::int_name
|
||||
{font-size: 9;}
|
||||
|
||||
node|z9[place=town][population>=20000]
|
||||
{font-size: 10;}
|
||||
node|z9[place=town][population>=20000]::int_name
|
||||
{font-size: 9;}
|
||||
|
||||
node|z10[place=town]
|
||||
{font-size: 10;text-color: @city_label;text-halo-opacity: 0.7;}
|
||||
node|z10[place=town]::int_name
|
||||
{font-size: 9;text-color: @city_label;text-halo-opacity: 0.7;}
|
||||
|
||||
node|z11[place=town]
|
||||
{font-size: 11;}
|
||||
node|z11[place=town]::int_name
|
||||
{font-size: 10;}
|
||||
|
||||
node|z12[place=town]
|
||||
{font-size: 12;text-halo-opacity: 1;}
|
||||
node|z12[place=town]::int_name
|
||||
{font-size: 10;text-halo-opacity: 1;}
|
||||
|
||||
node|z13-[place=town]
|
||||
{font-size: 14;}
|
||||
node|z13-[place=town]::int_name
|
||||
{font-size: 12;}
|
||||
|
||||
/* 4.3 Village */
|
||||
|
||||
node|z11-[place=village]
|
||||
{text: name;text-color: @city_label;text-halo-radius: 1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
|
||||
node|z11-[place=village]::int_name
|
||||
{text:int_name;text-color: @city_label;text-halo-radius: 1;text-halo-opacity: 0.7;text-halo-color: @label_halo_light;}
|
||||
node|z13-[place=hamlet]{text: name;text-color: @label_light;text-halo-radius: 1;text-halo-opacity: 0.6;text-halo-color: @label_halo_light;}
|
||||
|
||||
node|z11[place=village]
|
||||
{font-size: 10;}
|
||||
node|z11[place=village]::int_name
|
||||
{font-size: 9;}
|
||||
|
||||
node|z12[place=village]
|
||||
{font-size: 11;}
|
||||
node|z12[place=village]::int_name
|
||||
{font-size: 9;}
|
||||
|
||||
node|z13-[place=village]
|
||||
{font-size: 12;text-color: @label_medium;text-halo-opacity: 0.8;}
|
||||
node|z13-[place=village]::int_name
|
||||
{font-size: 10;text-color: @label_medium;text-halo-opacity: 0.8;}
|
||||
|
||||
node|z13-[place=hamlet]
|
||||
{font-size: 11;}
|
||||
|
||||
/* 4.4 Districts & Small localities */
|
||||
|
||||
node|z8-9[place=region],
|
||||
node|z10-14[place=suburb],
|
||||
node|z13-[place=locality],
|
||||
node|z13-16[place=neighbourhood],
|
||||
node|z14-[place=farm],
|
||||
node|z14-[place=isolated_dwelling],
|
||||
{text: name;text-color: @district_label;}
|
||||
node|z12-14[place=suburb]::int_name,
|
||||
node|z13-[place=locality]::int_name,
|
||||
node|z13-16[place=neighbourhood]::int_name,
|
||||
node|z14-[place=farm]::int_name,
|
||||
node|z14-[place=isolated_dwelling]::int_name,
|
||||
{text: int_name;text-color: @district_label;}
|
||||
|
||||
node|z10[place=suburb]
|
||||
{font-size: 8;}
|
||||
node|z11[place=suburb]
|
||||
{font-size: 8.5;}
|
||||
node|z12[place=suburb]
|
||||
{font-size: 9;}
|
||||
node|z12[place=suburb]::int_name
|
||||
{font-size: 8;}
|
||||
node|z13-14[place=suburb]
|
||||
{font-size: 10;}
|
||||
node|z13-14[place=suburb]::int_name
|
||||
{font-size: 9;}
|
||||
|
||||
node|z8-9[place=region],
|
||||
node|z13-[place=locality],
|
||||
node|z13-16[place=neighbourhood],
|
||||
node|z14-[place=farm],
|
||||
node|z14-[place=isolated_dwelling],
|
||||
{font-size: 10;}
|
||||
node|z13-[place=locality]::int_name,
|
||||
node|z13-16[place=neighbourhood]::int_name,
|
||||
node|z14-[place=isolated_dwelling]::int_name,
|
||||
node|z14-[place=farm]::int_name,
|
||||
{font-size: 9;}
|
||||
|
||||
/* 5.VEGETATION, BEACH & GLACIER */
|
||||
|
||||
/* 5.1 Vegetation */
|
||||
area|z18-[leisure=park][name],
|
||||
area|z18-[landuse=forest][name],
|
||||
{text: name;text-color: @park_label;text-halo-color: @halo_park_label;text-halo-radius: 0.5;text-halo-opacity: 0.8;icon-min-distance: 10;}
|
||||
area|z18-[leisure=park][name]::int_name,
|
||||
area|z18-[landuse=forest][name]::int_name,
|
||||
{text: int_name;text-color: @park_label;text-halo-color: @halo_park_label;text-halo-radius: 0.5;text-halo-opacity: 0.8;icon-min-distance: 10;}
|
||||
|
||||
area|z14-[leisure=park][name],
|
||||
area|z14-[landuse=forest][name],
|
||||
area|z16-[leisure=garden][name]
|
||||
{text: name;text-color: @park_label;text-halo-color: @halo_park_label;text-halo-radius: 0.5;text-halo-opacity: 0.8;icon-min-distance: 10;}
|
||||
area|z14-[leisure=park][name]::int_name,
|
||||
area|z14-[landuse=forest][name]::int_name,
|
||||
area|z16-[leisure=garden][name]::int_name
|
||||
{text: int_name;text-color: @park_label;text-halo-color: @halo_park_label;text-halo-radius: 0.5;text-halo-opacity: 0.8;}
|
||||
|
||||
area|z14-[leisure=park][name],
|
||||
area|z14-[landuse=forest][name]
|
||||
{icon-image: park-s.svg;text-offset: 6;font-size: 10;}
|
||||
area|z14-[leisure=park][name]::int_name,
|
||||
area|z14-[landuse=forest][name]::int_name
|
||||
{text-offset: 6;}
|
||||
area|z14-[leisure=park][!name],
|
||||
area|z14-[landuse=forest][!name]
|
||||
{}/*check*/
|
||||
|
||||
area|z15-[leisure=park][name],
|
||||
area|z15-[landuse=forest][name]
|
||||
{icon-image: park-m.svg;text-offset: 8;font-size: 11;}
|
||||
area|z15-17[leisure=park][name]::int_name,
|
||||
area|z15-17[landuse=forest][name]::int_name,
|
||||
area|z16-17[landuse=forest][name]::int_name
|
||||
{text-offset: 18;font-size: 10;}
|
||||
area|z15[leisure=park][!name],
|
||||
area|z15[landuse=forest][!name]
|
||||
{}/*check*/
|
||||
|
||||
area|z16[leisure=park][name],
|
||||
area|z16[landuse=forest][name]
|
||||
{icon-image: park-m.svg;text-offset: 10;font-size: 11;}
|
||||
area|z16[leisure=garden][name]
|
||||
{icon-image: garden-m.svg;text-offset: 10;font-size: 11;}
|
||||
area|z16[leisure=park][!name],
|
||||
area|z16[leisure=garden][!name],
|
||||
area|z16[landuse=forest][!name],
|
||||
area|z16[leisure=park][!name]::int_name,
|
||||
area|z16[leisure=garden][!name]::int_name,
|
||||
area|z16[landuse=forest][!name]::int_name
|
||||
{}/*check*/
|
||||
|
||||
area|z18-[leisure=park][name],
|
||||
area|z18-[landuse=forest][name]
|
||||
{icon-image: park-l.svg;text-offset: 10;font-size: 10;}
|
||||
area|z18-[leisure=park][name],
|
||||
area|z18-[landuse=forest][name]
|
||||
{}
|
||||
/*area|z17[leisure=garden][name]
|
||||
{icon-image: garden-l.svg;text-offset: 10;font-size: 12;}
|
||||
area|z17[leisure=park][!name],
|
||||
area|z17[landuse=forest][!name],
|
||||
area|z17[leisure=garden][!name],
|
||||
area|z17[leisure=park][!name]::int_name,
|
||||
area|z17[leisure=garden][!name]::int_name,
|
||||
area|z17[leisure=forest][!name]::int_name
|
||||
{}*/
|
||||
|
||||
area|z18-[leisure=park],
|
||||
area|z18-[landuse=forest]
|
||||
{icon-image: park-l.svg;text-offset: 10;font-size: 13;}
|
||||
area|z18-[leisure=garden]
|
||||
{icon-image: garden-l.svg;text-offset: 10;font-size: 13;}
|
||||
area|z18-[leisure=park]::int_name,
|
||||
area|z18-[leisure=garden]::int_name,
|
||||
area|z18-[leisure=forest]::int_name
|
||||
{text-offset: 18;font-size: 11;}
|
||||
|
||||
/*area|z15-[landuse=farmland],
|
||||
area|z15-[landuse=allotments],
|
||||
area|z15-[landuse=recreation_ground],
|
||||
area|z15-[landuse=orchard],
|
||||
area|z15-[landuse=vineyard],
|
||||
node|z17-[landuse=farmland],
|
||||
node|z17-[landuse=allotments],
|
||||
node|z17-[landuse=recreation_ground],
|
||||
node|z17-[landuse=orchard],
|
||||
node|z17-[landuse=vineyard],
|
||||
{text: name;font-size: 10;text-color: @poi_label;}*/
|
||||
|
||||
/* 5.2 Beach & Glacier */
|
||||
|
||||
area|z15-[leisure=beach_resort],
|
||||
area|z15-[natural=beach],
|
||||
node|z17-[leisure=beach_resort],
|
||||
node|z17-[natural=beach]
|
||||
{text: name;font-size: 10;text-color: @poi_label;}
|
||||
|
||||
/* 6.WATER */
|
||||
|
||||
node|z1-[place=ocean],
|
||||
node|z4-[place=sea],
|
||||
area|z10-[natural=lake][bbox_area>=4000000],
|
||||
area|z10-[landuse=reservoir][bbox_area>=4000000],
|
||||
area|z10-[natural=water][bbox_area>=4000000],
|
||||
line|z11-[waterway=river],
|
||||
line|z11-[waterway=riverbank],
|
||||
line|z13-[waterway=stream],
|
||||
line|z13-[waterway=canal],
|
||||
node|z14-[natural=water],
|
||||
node|z14-[natural=bay],
|
||||
area|z14-[natural=water][bbox_area>=70000],
|
||||
area|z14-[natural=bay],
|
||||
node|z16-[natural=wetland],
|
||||
area|z16-[natural=wetland],
|
||||
{text:name;text-color: @water_label;}
|
||||
|
||||
/*6.1 Area water(ocean,sea,lake,pond etc.)*/
|
||||
|
||||
node|z1-2[place=ocean]
|
||||
{font-size: 14;}
|
||||
node|z3[place=ocean]
|
||||
{font-size: 15;}
|
||||
node|z4[place=ocean]
|
||||
{font-size: 16;}
|
||||
node|z5-[place=ocean]
|
||||
{font-size: 18;}
|
||||
|
||||
node|z4-[place=sea]
|
||||
{font-size: 12;}
|
||||
|
||||
node|z14-15[natural=water],
|
||||
node|z14-15[natural=bay],
|
||||
area|z14-15[natural=water],
|
||||
area|z14-15[natural=bay]
|
||||
{font-size: 9.5;}
|
||||
node|z16-[natural=water],
|
||||
node|z16-[natural=bay],
|
||||
node|z16-[natural=wetland],
|
||||
area|z16-[natural=water],
|
||||
area|z16-[natural=bay],
|
||||
area|z16-[natural=wetland],
|
||||
{font-size: 10.5;}
|
||||
|
||||
area|z10-[natural=lake][bbox_area>=4000000],
|
||||
area|z10-[landuse=reservoir][bbox_area>=4000000],
|
||||
area|z10-[natural=water][bbox_area>=4000000],
|
||||
{font-size: 8.5;}
|
||||
area|z10-[natural=lake][bbox_area<4000000],
|
||||
area|z10-[landuse=reservoir][bbox_area<4000000],
|
||||
area|z10-[natural=water][bbox_area<4000000],
|
||||
{font-size: 0;} /*check*/
|
||||
|
||||
/* 6.2 Line water(river,canal etc.) Do not draw tunnel waterways */
|
||||
|
||||
line[waterway]
|
||||
{text-position: line;}
|
||||
line[waterway][tunnel]
|
||||
{text: none;}
|
||||
|
||||
line|z11-14[waterway=river],
|
||||
line|z11-14[waterway=riverbank],
|
||||
line|z13-14[waterway=stream],
|
||||
line|z13-14[waterway=canal]
|
||||
{font-size: 9.5;text:name;text-color: @water_label;}
|
||||
line|z15-17[waterway=stream],
|
||||
line|z15-17[waterway=canal],
|
||||
{font-size: 10;text:name;text-color: @water_label;}
|
||||
line|z15-[waterway=river],
|
||||
line|z15-[waterway=riverbank],
|
||||
line|z18-[waterway=stream],
|
||||
line|z18-[waterway=canal],
|
||||
{font-size: 11;text:name;text-color: @water_label;}
|
||||
|
||||
/* 7. LANDUSE*/
|
||||
|
||||
/*7.2 Hostital 7.3 University & Sport */
|
||||
|
||||
/* 7.1 Industrial */
|
||||
/*area|z15-[landuse=industrial],
|
||||
node|z15-[landuse=industrial],
|
||||
{text: name;font-size: 10;text-color: @city_label;text-position: center;}*/
|
||||
|
||||
|
||||
|
||||
area|z15-[landuse=railway],
|
||||
area|z15-[landuse=quarry],
|
||||
node|z15-[landuse=landfill],
|
||||
node|z15-[landuse=railway],
|
||||
node|z15-[landuse=quarry],
|
||||
{text: name;font-size: 10;text-color: @city_label;text-position: center;}
|
||||
|
||||
/* 7.4 Cemetry */
|
||||
|
||||
/*area|z15-[landuse=cemetery],
|
||||
node|z15-[landuse=cemetery],
|
||||
area|z17-[amenity=grave_yard],
|
||||
node|z17-[amenity=grave_yard],
|
||||
{text: name;text-offset: 10;font-size: 10;text-color: @poi_label;}
|
||||
|
||||
area|z15-16[landuse=cemetery]
|
||||
{icon-image: cemetery-m.svg;}
|
||||
area|z17-[landuse=cemetery],
|
||||
node|z17-[landuse=cemetery],
|
||||
area|z17-[amenity=grave_yard],
|
||||
node|z17-[amenity=grave_yard],
|
||||
{icon-image: cemetery-l.svg;}*/
|
||||
|
||||
/* 7.5 Pedestrian areas */
|
||||
|
||||
/*area|z15-[highway=pedestrian][area?],
|
||||
area|z15-[area:highway=pedestrian],
|
||||
area|z15-[highway=footway][area?][!sac_scale],
|
||||
area|z15-[area:highway=footway],
|
||||
{text: name;font-size: 11;text-color: @city_label;text-position: center;}*/
|
||||
|
||||
/* 7.6 Military */
|
||||
|
||||
/*area|z16[landuse=military],
|
||||
node|z16[landuse=military]
|
||||
{icon-image: military-m.svg;icon-min-distance: 10;}
|
||||
|
||||
area|z17-[landuse=military],
|
||||
node|z17-[landuse=military]
|
||||
{icon-image: military-l.svg;text-offset: 10;text: name;font-size: 10;text-color: @poi_label;}*/
|
||||
|
||||
/* 7.7 Commercial */
|
||||
|
||||
/*area|z17-[landuse=commercial]
|
||||
{text: name;font-size: 10;text-color: @poi_label;text-position: center;}*/
|
||||
|
||||
/* 8.BUILDINGS */
|
||||
|
||||
|
||||
|
||||
area|z17-[building],
|
||||
node|z17-[building],
|
||||
area|z17-[building]::int_name,
|
||||
node|z17-[building]::int_name,
|
||||
{text: addr:housenumber;text-color: @building_label;text-position: center;}
|
||||
|
||||
|
||||
area|z16-[addr:housenumber][addr:street],
|
||||
node|z16-[addr:housenumber][addr:street]
|
||||
{text: name;text-color: @building_label;text-position: center;}
|
||||
area|z16-[addr:housenumber][addr:street]::int_name,
|
||||
node|z16-[addr:housenumber][addr:street]::int_name
|
||||
{text:int_name;text-color: @building_label;text-position: center;}
|
||||
node|z18-[entrance]
|
||||
{text-color: @building_label;}
|
||||
|
||||
/* 8.1 Pier */
|
||||
/*area|z15-[waterway=dam],
|
||||
line|z15-[waterway=dam],
|
||||
line|z15-[waterway=weir],
|
||||
node|z15-[waterway=weir]
|
||||
{text: name;font-size: 10;text-color:@poi_label;fill-opacity: 1;}*/
|
||||
|
||||
/*area|z17-[man_made=pier],
|
||||
area|z17-[man_made=breakwater],
|
||||
line|z17-[man_made=pier],
|
||||
line|z17-[man_made=breakwater],
|
||||
node|z17-[man_made=pier],
|
||||
node|z17-[man_made=breakwater]
|
||||
{text: name;font-size: 10;text-color:@poi_label;fill-opacity: 1;-x-me-area-priority:16000;}*/
|
||||
|
||||
/* 8.2 Building */
|
||||
|
||||
|
||||
area|z16[building],
|
||||
node|z16[building],
|
||||
area|z16[addr:housenumber][addr:street],
|
||||
node|z16[addr:housenumber][addr:street],
|
||||
{text:"addr:housename";font-size: 10.5;text-color: @housename;}
|
||||
|
||||
area|z17[building],
|
||||
node|z17[building],
|
||||
area|z17[addr:housenumber][addr:street],
|
||||
node|z17[addr:housenumber][addr:street]
|
||||
{font-size: 11;}
|
||||
area|z17[building]::int_name,
|
||||
node|z17[building]::int_name,
|
||||
area|z17[addr:housenumber][addr:street]::int_name,
|
||||
node|z17[addr:housenumber][addr:street]::int_name
|
||||
{font-size: 11;}
|
||||
|
||||
area|z18[building],
|
||||
node|z18[building],
|
||||
area|z18[addr:housenumber][addr:street],
|
||||
node|z18[addr:housenumber][addr:street]
|
||||
{font-size: 11;}
|
||||
area|z18[building]::int_name,
|
||||
node|z18[building]::int_name,
|
||||
area|z18[addr:housenumber][addr:street]::int_name,
|
||||
node|z18[addr:housenumber][addr:street]::int_name
|
||||
{font-size: 11;}
|
||||
|
||||
area|z19[building],
|
||||
node|z19[building],
|
||||
area|z19[addr:housenumber][addr:street],
|
||||
node|z19[addr:housenumber][addr:street]
|
||||
{font-size: 12;}
|
||||
area|z19[building]::int_name,
|
||||
node|z19[building]::int_name,
|
||||
area|z19[addr:housenumber][addr:street]::int_name,
|
||||
node|z19[addr:housenumber][addr:street]::int_name
|
||||
{font-size: 12;}
|
||||
|
||||
/*node|z18-[entrance]
|
||||
{icon-image: entrance-s.svg;font-size: 10;text: ref;text-offset-x: 10;}
|
||||
node|z19-[entrance]::flats
|
||||
{text: "addr:flats";font-size: 12;text-offset-y: 10;}*/
|
||||
|
||||
/* 8.3 Airports */
|
||||
area|z14-[aeroway=terminal]
|
||||
{fill-color: @building;}
|
||||
|
||||
area|z14[aeroway=terminal]
|
||||
{fill-opacity: 0.8;}
|
||||
area|z15[aeroway=terminal]
|
||||
{ text: name; font-size: 9; fill-opacity: 0.8; text-color: @building_label; text-position: center;}
|
||||
area|z16-[aeroway=terminal]
|
||||
{text: name; font-size: 9; fill-opacity: 1; text-color: @building_label; text-position: center;}
|
2617
data/styles/vehicle/include/Icons.mapcss
Normal file
2617
data/styles/vehicle/include/Icons.mapcss
Normal file
File diff suppressed because it is too large
Load diff
1392
data/styles/vehicle/include/Roads.mapcss
Normal file
1392
data/styles/vehicle/include/Roads.mapcss
Normal file
File diff suppressed because it is too large
Load diff
545
data/styles/vehicle/include/Roads_label.mapcss
Normal file
545
data/styles/vehicle/include/Roads_label.mapcss
Normal file
|
@ -0,0 +1,545 @@
|
|||
/* ~~~~ CONTENT OF ROADS ~~~~~
|
||||
|
||||
1.Z-INDEX ROADS
|
||||
2.SHIELD 10-22 ZOOM
|
||||
3.TRUNK & MOTORWAY 10-22 ZOOM
|
||||
4.PRIMARY 10-22 ZOOM
|
||||
5.SECONDARY 10-22 ZOOM
|
||||
6.RESIDENTAL & TERTIARY 12-22 ZOOM
|
||||
7.ROAD, STREETS, UNCLASSIFIED & SERVICE 15-22 ZOOM
|
||||
8.OTHERS ROADS 15-22 ZOOM
|
||||
9.RAIL 15-22 ZOOM ????
|
||||
9.1 Monorail 14-22 ZOOM
|
||||
9.2 Tram line 13-22 ZOOM
|
||||
9.3 Funicular 12-22 ZOOM
|
||||
10.PISTE 12-22 ZOOM ????
|
||||
10.1 Lift 12-22 ZOOM
|
||||
10.2 Aerialway 12-22 ZOOM
|
||||
10.3 Piste & Route 14-22 ZOOM
|
||||
11.FERRY 10-22 ZOOM
|
||||
12.ONEWAY ARROWS 15-22 ZOOM
|
||||
13.JUNCTION 15-22 ZOOM
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
|
||||
line[highway]
|
||||
{text-position: line;}
|
||||
|
||||
/* 1.Z-INDEX ROADS */
|
||||
|
||||
line[aeroway=runway],
|
||||
line[aeroway=taxiway]
|
||||
{z-index: 50;}
|
||||
|
||||
line[piste:type=downhill][piste:difficulty=advanced],
|
||||
line[piste:type=downhill][piste:difficulty=easy],
|
||||
line[piste:type=downhill][piste:difficulty=expert],
|
||||
line[piste:type=downhill][piste:difficulty=freeride],
|
||||
line[piste:type=downhill][piste:difficulty=intermediate],
|
||||
line[piste:type=downhill][piste:difficulty=novice],
|
||||
{z-index: 100;}
|
||||
|
||||
line[route=ferry],
|
||||
line[route=ferry_motorcar]
|
||||
{z-index: 115;}
|
||||
|
||||
line[piste:type=downhill],
|
||||
line[piste:type=nordic],
|
||||
line[piste:type=sled],
|
||||
{z-index: 199;}
|
||||
|
||||
line[highway=construction],
|
||||
line[highway=proposed],
|
||||
line[railway=construction],
|
||||
line[railway=disused],
|
||||
line[railway=preserved],
|
||||
line[railway=abandoned]
|
||||
{z-index: 450;}
|
||||
|
||||
line[highway=bridleway]
|
||||
{z-index: 590;}
|
||||
|
||||
line[highway=track]
|
||||
line[highway=raceway],
|
||||
line[leisure=track],
|
||||
line[highway=path],
|
||||
line[route=hiking],
|
||||
line[highway=footway]
|
||||
{z-index: 600;}
|
||||
|
||||
line[highway=service]
|
||||
{z-index: 650;}
|
||||
|
||||
line[highway=pedestrian],
|
||||
line[highway=ford]
|
||||
{z-index: 660;}
|
||||
|
||||
line[railway=rail],
|
||||
line[railway=light_rail],
|
||||
line[railway=yard]
|
||||
{z-index: 680;}
|
||||
|
||||
line[railway=rail]::dash,
|
||||
line[railway=light_rail]::dash,
|
||||
line[railway=yard]::dash
|
||||
{z-index: 690;}
|
||||
|
||||
line[highway=unclassified],
|
||||
line[highway=road],
|
||||
line[highway=living_street]
|
||||
{z-index: 700;}
|
||||
|
||||
line[highway=residential_link],
|
||||
line[highway=tertiary_link]
|
||||
{z-index: 740;}
|
||||
|
||||
line[highway=residential],
|
||||
line[highway=tertiary],
|
||||
{z-index: 750;}
|
||||
|
||||
line[highway=secondary_link]
|
||||
{z-index: 790;}
|
||||
|
||||
line[highway=secondary]
|
||||
{z-index: 800;}
|
||||
|
||||
line[highway=primary_link]
|
||||
{z-index: 840;}
|
||||
|
||||
line[highway=primary],
|
||||
line|z8-9[highway=world_towns_level],
|
||||
line|z8-9[highway=world_level],
|
||||
{z-index: 850;}
|
||||
|
||||
line[highway=motorway_link],
|
||||
line[highway=trunk_link]
|
||||
{z-index: 890;}
|
||||
|
||||
line|z4-7[highway=world_towns_level],
|
||||
line|z4-7[highway=world_level],
|
||||
line[highway=trunk],
|
||||
line[highway=motorway]
|
||||
{z-index: 900;}
|
||||
|
||||
line[railway=monorail],
|
||||
line[railway=narrow_gauge],
|
||||
line[railway=tram]
|
||||
{z-index: 950;}
|
||||
|
||||
line[highway=cycleway],
|
||||
line[highway=steps],
|
||||
node[highway=motorway_junction],
|
||||
{z-index: 1000;}
|
||||
|
||||
line[aerialway=cable_car]::dash,
|
||||
line[aerialway=chair_lift]::dash,
|
||||
line[aerialway=gondola]::dash,
|
||||
line[aerialway=mixed_lift]::dash,
|
||||
line[aerialway=drag_lift] ::dash,
|
||||
line[aerialway=j-bar]::dash,
|
||||
line[aerialway=t-bar]::dash,
|
||||
line[aerialway=magic_carpet]::dash,
|
||||
line[aerialway=platter]::dash,
|
||||
line[aerialway=rope_tow]::dash,
|
||||
{z-index: 1049;}
|
||||
|
||||
line[aerialway=cable_car],
|
||||
line[aerialway=chair_lift],
|
||||
line[aerialway=gondola],
|
||||
line[aerialway=mixed_lift],
|
||||
line[aerialway=drag_lift],
|
||||
line[aerialway=j-bar],
|
||||
line[aerialway=t-bar],
|
||||
line[aerialway=magic_carpet],
|
||||
line[aerialway=platter],
|
||||
line[aerialway=rope_tow],
|
||||
{z-index: 1050;}
|
||||
|
||||
line[power=line]
|
||||
{z-index: 2000;}
|
||||
|
||||
line[piste:lift],
|
||||
line[piste:lift=j-bar],
|
||||
line[piste:lift=magic_carpet],
|
||||
line[piste:lift=platter],
|
||||
line[piste:lift=rope_tow],
|
||||
line[piste:lift=t-bar],
|
||||
{z-index: 6888;}
|
||||
|
||||
line[hwtag=oneway]::arrows
|
||||
{z-index: 10000;}
|
||||
|
||||
|
||||
/* 2.SHIELD 10-22 ZOOM */
|
||||
|
||||
|
||||
line|z10-[highway=motorway],
|
||||
line|z10-[highway=trunk],
|
||||
line|z10-[highway=motorway_link],
|
||||
line|z10-[highway=trunk_link],
|
||||
line|z10-[highway=primary],
|
||||
line|z10-[highway=primary_link],
|
||||
line|z12-[highway=secondary],
|
||||
line|z12-[highway=residential],
|
||||
line|z12-[highway=tertiary]
|
||||
{shield-font-size: 10;shield-text-color: @shield_text;shield-text-halo-radius: 0;shield-text-halo-color: @shield_text_halo;shield-color: @shield;shield-outline-radius: 1;shield-outline-color: @shield_outline;}
|
||||
|
||||
line|z10[highway=motorway],
|
||||
line|z10[highway=trunk],
|
||||
line|z10[highway=motorway_link],
|
||||
line|z10[highway=trunk_link],
|
||||
line|z10[highway=primary],
|
||||
line|z10[highway=primary_link]
|
||||
{shield-min-distance: 60;}
|
||||
line|z11[highway=motorway],
|
||||
line|z11[highway=trunk],
|
||||
line|z11[highway=motorway_link],
|
||||
line|z11[highway=trunk_link],
|
||||
line|z11[highway=primary],
|
||||
line|z11[highway=primary_link]
|
||||
{shield-min-distance: 60;}
|
||||
line|z12[highway=motorway],
|
||||
line|z12[highway=trunk],
|
||||
line|z12[highway=motorway_link],
|
||||
line|z12[highway=trunk_link],
|
||||
line|z12[highway=primary],
|
||||
line|z12[highway=primary_link],
|
||||
line|z12[highway=secondary],
|
||||
line|z12[highway=residential],
|
||||
line|z12[highway=tertiary]
|
||||
{shield-min-distance: 60;}
|
||||
line|z13[highway=motorway],
|
||||
line|z13[highway=trunk],
|
||||
line|z13[highway=motorway_link],
|
||||
line|z13[highway=trunk_link],
|
||||
line|z13[highway=primary],
|
||||
line|z13[highway=primary_link],
|
||||
line|z13[highway=secondary],
|
||||
line|z13[highway=residential],
|
||||
line|z13[highway=tertiary]
|
||||
{shield-min-distance: 100;}
|
||||
line|z14[highway=motorway],
|
||||
line|z14[highway=trunk],
|
||||
line|z14[highway=motorway_link],
|
||||
line|z14[highway=trunk_link],
|
||||
line|z14[highway=primary],
|
||||
line|z14[highway=primary_link],
|
||||
line|z14[highway=secondary],
|
||||
line|z14[highway=residential],
|
||||
line|z14[highway=tertiary]
|
||||
{shield-min-distance: 100;}
|
||||
line|z15[highway=motorway],
|
||||
line|z15[highway=trunk],
|
||||
line|z15[highway=motorway_link],
|
||||
line|z15[highway=trunk_link],
|
||||
line|z15[highway=primary],
|
||||
line|z15[highway=primary_link],
|
||||
line|z15[highway=secondary],
|
||||
line|z15[highway=residential],
|
||||
line|z15[highway=tertiary]
|
||||
{shield-min-distance: 150;}
|
||||
line|z16[highway=motorway],
|
||||
line|z16[highway=trunk],
|
||||
line|z16[highway=motorway_link],
|
||||
line|z16[highway=trunk_link],
|
||||
line|z16[highway=primary],
|
||||
line|z16[highway=primary_link],
|
||||
line|z16[highway=secondary],
|
||||
line|z16[highway=residential],
|
||||
line|z16[highway=tertiary]
|
||||
{shield-min-distance: 250;}
|
||||
line|z17[highway=motorway],
|
||||
line|z17[highway=trunk],
|
||||
line|z17[highway=motorway_link],
|
||||
line|z17[highway=trunk_link],
|
||||
line|z17[highway=primary],
|
||||
line|z17[highway=primary_link],
|
||||
line|z17[highway=secondary],
|
||||
line|z17[highway=residential],
|
||||
line|z17[highway=tertiary]
|
||||
{shield-min-distance: 250;}
|
||||
line|z18[highway=motorway],
|
||||
line|z18[highway=trunk],
|
||||
line|z18[highway=motorway_link],
|
||||
line|z18[highway=trunk_link],
|
||||
line|z18[highway=primary],
|
||||
line|z18[highway=primary_link],
|
||||
line|z18[highway=secondary],
|
||||
line|z18[highway=residential],
|
||||
line|z18[highway=tertiary]
|
||||
{shield-font-size: 11;shield-min-distance: 400;}
|
||||
line|z19[highway=motorway],
|
||||
line|z19[highway=trunk],
|
||||
line|z19[highway=motorway_link],
|
||||
line|z19[highway=trunk_link],
|
||||
line|z19[highway=primary],
|
||||
line|z19[highway=primary_link],
|
||||
line|z19[highway=secondary],
|
||||
line|z19[highway=residential],
|
||||
line|z19[highway=tertiary]
|
||||
{shield-font-size: 11;shield-min-distance: 500;}
|
||||
|
||||
/* 3.TRUNK & MOTORWAY 10-22 ZOOM */
|
||||
|
||||
line|z10-[highway=trunk],
|
||||
line|z10-[highway=motorway],
|
||||
line|z10-[highway=motorway_link],
|
||||
line|z10-[highway=trunk_link]
|
||||
{text: name;text-color: @label_medium;text-halo-opacity: 0.9;text-halo-radius: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
line|z10-11[highway=motorway],
|
||||
line|z10-11[highway=trunk],
|
||||
line|z10-11[highway=motorway_link],
|
||||
line|z10-11[highway=trunk_link]
|
||||
{font-size: 10.5;text-color: @label_dark;text-halo-opacity: 0.8;text-halo-color: @label_halo_medium;}
|
||||
line|z12-13[highway=motorway],
|
||||
line|z12-13[highway=trunk],
|
||||
line|z12-13[highway=motorway_link],
|
||||
line|z12-13[highway=trunk_link]
|
||||
{font-size: 12.5;text-halo-color: @label_halo_medium;}
|
||||
line|z14-15[highway=motorway],
|
||||
line|z14-15[highway=trunk],
|
||||
{font-size: 13.5;text-color: @label_dark;text-halo-opacity: 0.8;}
|
||||
line|z14[highway=motorway_link],
|
||||
line|z14[highway=trunk_link]
|
||||
{font-size: 11;text-halo-color: @label_halo_medium;}
|
||||
line|z15[highway=motorway_link],
|
||||
line|z15[highway=trunk_link]
|
||||
{font-size: 11.5;text-halo-color: @label_halo_medium;}
|
||||
line|z16-17[highway=trunk],
|
||||
line|z16-17[highway=motorway],
|
||||
{font-size: 14.5;text-color: @label_dark;text-halo-opacity: 0.8;}
|
||||
line|z16-[highway=motorway_link],
|
||||
line|z16-[highway=trunk_link]
|
||||
{font-size: 12.5;text-halo-opacity: 1;}
|
||||
line|z18-[highway=trunk],
|
||||
line|z18-[highway=motorway],
|
||||
{font-size: 15;text-color: @label_dark;text-halo-opacity: 1;}
|
||||
|
||||
/* 4.PRIMARY 10-22 ZOOM */
|
||||
|
||||
line|z10-[highway=primary],
|
||||
line|z10-[highway=primary_link],
|
||||
{text: name;text-color: @label_medium;text-halo-opacity: 0.8;text-halo-radius: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
line|z10-11[highway=primary],
|
||||
line|z10-11[highway=primary_link]
|
||||
{font-size: 10.5;text-halo-color: @label_halo_medium;}
|
||||
line|z12-13[highway=primary],
|
||||
line|z12-13[highway=primary_link]
|
||||
{font-size: 11;text-halo-opacity: 0.9;text-halo-color: @label_halo_medium;}
|
||||
line|z14-15[highway=primary],
|
||||
{font-size: 13.5;text-color: @label_dark;}
|
||||
line|z14[highway=primary_link]
|
||||
{font-size: 11;text-halo-color: @label_halo_medium;}
|
||||
line|z15[highway=primary_link]
|
||||
{font-size: 11.5;text-halo-color: @label_halo_medium;}
|
||||
line|z16-[highway=primary],
|
||||
{font-size: 14.5;text-color: @label_dark;}
|
||||
line|z16-17[highway=primary_link],
|
||||
{font-size: 12.25;}
|
||||
line|z18-[highway=primary_link],
|
||||
{font-size: 12.5;text-halo-opacity: 1;}
|
||||
|
||||
/* 5.SECONDARY 10-22 ZOOM */
|
||||
|
||||
line|z10-[highway=secondary],
|
||||
line|z16-[highway=secondary_link]
|
||||
{text: name;text-color: @label_medium;text-halo-opacity: 0.8;text-halo-radius: 1;text-halo-color: @label_halo_medium;}
|
||||
|
||||
line|z10-11[highway=secondary]
|
||||
{font-size: 10;text-color: @label_light;}
|
||||
line|z12-13[highway=secondary]
|
||||
{font-size: 10;text-color: @label_light;text-halo-opacity: 0.9;text-halo-color: @road_label_halo;}
|
||||
line|z14[highway=secondary],
|
||||
{font-size: 11.5;}
|
||||
line|z15[highway=secondary],
|
||||
{font-size: 12;}
|
||||
line|z16-17[highway=secondary],
|
||||
line|z16-17[highway=secondary_link]
|
||||
{font-size: 14;text-color: @label_dark;text-halo-color: @label_halo_light;}
|
||||
line|z18-[highway=secondary],
|
||||
line|z18-[highway=secondary_link]
|
||||
{font-size: 14;text-color: @label_dark;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
/* 6.RESIDENTAL & TERTIARY 12-22 ZOOM */
|
||||
|
||||
line|z12-[highway=residential],
|
||||
line|z12-[highway=tertiary],
|
||||
line|z18-[highway=residential_link],
|
||||
line|z18-[highway=tertiary_link]
|
||||
{text: name;text-color: @label_medium;text-halo-opacity: 0.8;text-halo-radius: 1;text-halo-color: @label_halo_medium;}
|
||||
|
||||
line|z12-13[highway=residential],
|
||||
line|z12-13[highway=tertiary]
|
||||
{font-size: 10;text-color: @label_light;text-halo-opacity: 0.9;text-halo-color: @road_label_halo;}
|
||||
line|z14[highway=residential],
|
||||
line|z14[highway=tertiary],
|
||||
{font-size: 10.5;}
|
||||
line|z15[highway=residential],
|
||||
line|z15[highway=tertiary],
|
||||
{font-size: 11.5;}
|
||||
line|z16-17[highway=residential],
|
||||
line|z16-17[highway=tertiary],
|
||||
{font-size: 12.5;text-halo-color: @label_halo_light;}
|
||||
line|z18-[highway=residential],
|
||||
line|z18-[highway=residential_link],
|
||||
line|z18-[highway=tertiary],
|
||||
line|z18-[highway=tertiary_link]
|
||||
{font-size: 13;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
/* 7.ROAD, STREETS, UNCLASSIFIED & SERVICE 14-22 ZOOM */
|
||||
|
||||
line|z14-[highway=unclassified],
|
||||
line|z14-[highway=road],
|
||||
line|z14-[highway=living_street],
|
||||
line|z16-[highway=service],
|
||||
{text: name;text-color: @label_medium;text-halo-opacity: 0.8;text-halo-radius: 1;text-halo-color: @label_halo_medium;}
|
||||
|
||||
line|z14[highway=unclassified],
|
||||
line|z14[highway=living_street],
|
||||
line|z14[highway=road],
|
||||
{font-size: 10.5;}
|
||||
line|z15[highway=unclassified],
|
||||
line|z15[highway=living_street],
|
||||
line|z15[highway=road],
|
||||
{font-size: 11;}
|
||||
line|z16-17[highway=unclassified],
|
||||
line|z16-17[highway=living_street],
|
||||
{font-size: 12;text-halo-color: @label_halo_light;}
|
||||
line|z16-17[highway=service],
|
||||
line|z16-17[highway=road],
|
||||
{font-size: 11;text-halo-color: @label_halo_light;}
|
||||
line|z18-[highway=unclassified],
|
||||
line|z18-[highway=living_street],
|
||||
line|z18-[highway=service],
|
||||
line|z18-[highway=road],
|
||||
{font-size: 12.5;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
/* 8.OTHERS ROADS 15-22 ZOOM */
|
||||
|
||||
/*line|z15-[highway=cycleway],
|
||||
line|z15-[highway=construction],
|
||||
line|z15-[highway=proposed],
|
||||
line|z15-[highway=track],
|
||||
line|z15-[highway=path],
|
||||
line|z15-[highway=bridleway],
|
||||
line|z15-[highway=footway],
|
||||
line|z16-[leisure=track],
|
||||
line|z16-[route=hiking],
|
||||
line|z16-[highway=steps],
|
||||
line|z16-[highway=ford],
|
||||
line|z16-[highway=raceway],
|
||||
{text: name;text-color: @label_medium;text-halo-opacity: 0.8;text-halo-radius: 1;text-halo-color: @label_halo_light;}
|
||||
|
||||
line|z15[highway=construction],
|
||||
line|z15[highway=proposed],
|
||||
line|z15[highway=bridleway],
|
||||
line|z15[highway=path],
|
||||
line|z15[highway=footway],
|
||||
line|z15[highway=cycleway],
|
||||
line|z15[highway=track]
|
||||
{font-size: 8;}
|
||||
line|z16-17[highway=ford],
|
||||
line|z16-17[highway=cycleway],
|
||||
line|z16-17[highway=construction],
|
||||
line|z16-17[highway=proposed],
|
||||
line|z16-17[highway=track],
|
||||
line|z16-17[highway=raceway],
|
||||
line|z16-17[leisure=track],
|
||||
line|z16-17[highway=path],
|
||||
line|z16-17[route=hiking],
|
||||
line|z16-17[highway=bridleway],
|
||||
line|z16-17[highway=footway],
|
||||
{font-size: 9;}
|
||||
line|z18-[highway=ford],
|
||||
line|z18-[highway=cycleway],
|
||||
line|z18-[highway=construction],
|
||||
line|z18-[highway=proposed],
|
||||
line|z18-[highway=track],
|
||||
line|z18-[highway=raceway],
|
||||
line|z18-[leisure=track],
|
||||
line|z18-[highway=path],
|
||||
line|z18-[route=hiking],
|
||||
line|z18-[highway=bridleway],
|
||||
line|z18-[highway=footway],
|
||||
{font-size: 10;}*/
|
||||
|
||||
/* 9.RAIL 15-22 ZOOM */
|
||||
/*
|
||||
line[railway=rail],
|
||||
line[railway=light_rail],
|
||||
line[railway=yard],
|
||||
line[railway=construction],
|
||||
line[railway=disused],
|
||||
line[railway=preserved],
|
||||
line[railway=abandoned],
|
||||
line[railway=monorail],
|
||||
line[railway=narrow_gauge],
|
||||
line[railway=funicular]
|
||||
*/
|
||||
/* 10.PISTE 15-22 ZOOM */
|
||||
/*
|
||||
line[piste:lift],
|
||||
line[piste:lift=j-bar],
|
||||
line[piste:lift=magic_carpet],
|
||||
line[piste:lift=platter],
|
||||
line[piste:lift=rope_tow],
|
||||
line[piste:lift=t-bar],
|
||||
line[power=line],
|
||||
line[aerialway=cable_car],
|
||||
line[aerialway=chair_lift],
|
||||
line[aerialway=gondola],
|
||||
line[aerialway=mixed_lift],
|
||||
line[aerialway=drag_lift],
|
||||
line[aerialway=j-bar],
|
||||
line[aerialway=t-bar],
|
||||
line[aerialway=magic_carpet],
|
||||
line[aerialway=platter],
|
||||
line[aerialway=rope_tow],
|
||||
*/
|
||||
/* 10.3 Piste & Route 14-22 ZOOM */
|
||||
/*
|
||||
line[piste:type=downhill],
|
||||
line[piste:type=nordic],
|
||||
line[piste:type=sled]
|
||||
{color: @piste;opacity: 1;}
|
||||
line|z14[route=ski],
|
||||
line|z14[leisure=skiing]
|
||||
*/
|
||||
|
||||
/* 11. FERRY */
|
||||
|
||||
/*line|z10-[route=ferry],
|
||||
line|z10-[route=ferry_motorcar]
|
||||
{text: name;text-color: @water_label;text-position: line;z-index: 120;}
|
||||
|
||||
line|z10-16[route=ferry],
|
||||
line|z10-16[route=ferry_motorcar]
|
||||
{font-size: 9;}
|
||||
line|z17-[route=ferry],
|
||||
line|z17-[route=ferry_motorcar]
|
||||
{font-size: 10;}*/
|
||||
|
||||
/* 12. ONEWAY ARROWS */
|
||||
|
||||
/* line|z15-[highway=primary][hwtag=oneway]::arrows <-- не работает по типам магистралей */
|
||||
|
||||
line|z15[hwtag=oneway]::arrows
|
||||
{pattern-offset: 80; pattern-image: arrow-xs.svg;pattern-spacing: 160;}
|
||||
line|z16[hwtag=oneway]::arrows
|
||||
{pattern-offset: 120;pattern-image: arrow-s.svg;pattern-spacing: 160;}
|
||||
line|z17[hwtag=oneway]::arrows
|
||||
{pattern-offset: 160;pattern-image: arrow-s.svg;pattern-spacing: 200;}
|
||||
line|z18-[hwtag=oneway]::arrows
|
||||
{pattern-offset: 200;pattern-image: arrow-m.svg;pattern-spacing: 200;}
|
||||
|
||||
/* 13.JUNCTION */
|
||||
|
||||
node|z15-[highway=motorway_junction]
|
||||
{text: name;text-color: #3A302B;text-position: center;}
|
||||
|
||||
node|z15[highway=motorway_junction]
|
||||
{font-size: 9;}
|
||||
node|z16-[highway=motorway_junction]
|
||||
{font-size: 10;}
|
2
data/styles/vehicle/include/common_colors.mapcss
Executable file
2
data/styles/vehicle/include/common_colors.mapcss
Executable file
|
@ -0,0 +1,2 @@
|
|||
@traffic_arrow_light: 1.0;
|
||||
@traffic_arrow_dark: 0.5;
|
68
data/styles/vehicle/include/defaults_new.mapcss
Normal file
68
data/styles/vehicle/include/defaults_new.mapcss
Normal file
|
@ -0,0 +1,68 @@
|
|||
way::*
|
||||
{
|
||||
text-position: line;
|
||||
}
|
||||
|
||||
way|z1-12::*
|
||||
{
|
||||
linejoin: bevel;
|
||||
}
|
||||
|
||||
way|z13-::*
|
||||
{
|
||||
linejoin: round;
|
||||
}
|
||||
|
||||
way|z1-15::*
|
||||
{
|
||||
linecap: butt;
|
||||
}
|
||||
|
||||
way|z16-::*
|
||||
{
|
||||
linecap: round;
|
||||
}
|
||||
|
||||
*::*
|
||||
{
|
||||
text-halo-color: @white;
|
||||
text-anchor-horizontal: center;
|
||||
text-anchor-vertical: center;
|
||||
icon-width: 16;
|
||||
icon-height: 16;
|
||||
}
|
||||
|
||||
*::int_name
|
||||
{
|
||||
text-offset: 20;
|
||||
}
|
||||
|
||||
node::* {
|
||||
text-anchor-vertical: top;
|
||||
}
|
||||
|
||||
area::* {
|
||||
text-position: center;
|
||||
text-anchor-vertical: center;
|
||||
}
|
||||
|
||||
|
||||
*[amenity],
|
||||
*[office],
|
||||
*[historic],
|
||||
*[tourism],
|
||||
*[leisure],
|
||||
*[man_made],
|
||||
*[natural],
|
||||
*[power],
|
||||
*[landuse],
|
||||
*[craft],
|
||||
*[internet_access],
|
||||
{
|
||||
text-position: center
|
||||
}
|
||||
area[aeroway],
|
||||
area[tourism]
|
||||
{
|
||||
fill-position: background;
|
||||
}
|
187
data/styles/vehicle/style-clear/colors.mapcss
Normal file
187
data/styles/vehicle/style-clear/colors.mapcss
Normal file
|
@ -0,0 +1,187 @@
|
|||
/* BASE */
|
||||
@white: #ffffff;
|
||||
@background:#E3E1D2; /*E6E6D5 #EDEAE1; /* @background: #f1eee8; */
|
||||
/*@backgroundone: #DEDECD;*/
|
||||
|
||||
|
||||
/* BOUNDARIES */
|
||||
@border_country: #63635C;
|
||||
@border_country_light: #73726B;
|
||||
@border_region: #73726B;
|
||||
|
||||
|
||||
/* ROADS */
|
||||
@trunk: #FF8800; /*#ED8800; #FF8800;*/
|
||||
@trunk_hard: #F7632C;
|
||||
@trunk_medium: #F86B39;
|
||||
@trunk_light: #F87C4A;
|
||||
@primary: #E5B643;
|
||||
|
||||
/* YELLOW ROADS BUNDLE */
|
||||
@primary_yellow: #FCD767;
|
||||
@primary_yellow_case: #E5A643;
|
||||
@trunk_yellow: #FF8800;
|
||||
@trunk_yellow_case: #CD764C;
|
||||
|
||||
/* ORANGE ROADS BUNDLE */
|
||||
|
||||
@trunk: #FF8800;
|
||||
@trunk_orange: #FF5919;
|
||||
@trunk_orange_medium: #FF7F33;
|
||||
@trunk_orange_light: #FF7A26;
|
||||
@primary_orange: #FF8726;
|
||||
@primary_orange_medium: #FF9440;
|
||||
@primary_orange_light: #FFA14C;
|
||||
@secondary: #FFFFFF;
|
||||
@residential: #FCFCFC;
|
||||
@unclassified: #FCFCFC;
|
||||
@pedestrian: #FCFCFC;
|
||||
@footway: #FCFCFC;
|
||||
@cycleway: #FF87AD;
|
||||
@construction: #BBBBAA;
|
||||
@track: #635730;
|
||||
@bridleway: #3D361E;
|
||||
|
||||
|
||||
/* bridges */
|
||||
@bridge_background: #E5E4D5;
|
||||
@bridge_casing: #808080;
|
||||
@casing_road: #F5F3E4; /*#BDBBAF; #FCFCF7; #E3E1D5;*/
|
||||
|
||||
/* tunnels */
|
||||
|
||||
@primary_tunnel_orange: #FCA462;
|
||||
@primary_tunnel_yellow: #FCD767;
|
||||
@trunk_tunnel_orange: #FCA462;
|
||||
@trunk_tunnel_yellow: #FF8800;
|
||||
@primary_tunnel_casing: #808080;
|
||||
@trunk_tunnel_casing: #808080;
|
||||
@secondary_tunnel: #FFFFFF;
|
||||
@secondary_tunnel_casing: #808080;
|
||||
@tertiary_tunnel: #FFFFFF;
|
||||
@tertiary_tunnel_casing: #808080;
|
||||
@unclassified_tunnel: #FFFFFF;
|
||||
@unclassified_tunnel_casing: #808080;
|
||||
/*roads_links */
|
||||
@trunk_link: #FFFFFF;
|
||||
@primary_link: #FFFFFF;
|
||||
@secondary_link: #FFFFFF;
|
||||
@tertiary_link: #f8f8f8;
|
||||
|
||||
/* TRANSPORT */
|
||||
@railway_light: #B2B1A2;
|
||||
@railway: #8C8B80;
|
||||
@railway_dash: #EEEEEE;
|
||||
@railway_tunnel: #808080;
|
||||
@aerialway: #444444;
|
||||
@tram: #7A7A7A;
|
||||
@tram_1: #E82033;
|
||||
@ferry: #4499Bb;
|
||||
|
||||
/*aerodrome*/
|
||||
@aerodrome0: #D4BFF2;
|
||||
@aerodrome1: #D4BFF2;
|
||||
@aerodrome2: #D1C0EB;
|
||||
@aerodrome3: #CFC1E8;
|
||||
@aerodrome4: #CDC0E3;
|
||||
@aerodrome5: #C8BCDE;
|
||||
|
||||
/* NATURAL */
|
||||
@glacier: #FFFFFF;
|
||||
@water: #8BD3E0;
|
||||
/*@water_1: #9AD2D9;*/
|
||||
@river: #36B0BF;
|
||||
/*@river_1: #9AD2D9;*/
|
||||
@wetland: #c9ddd6;
|
||||
@forest: #C8DBAD;/*#AABF65;*/
|
||||
@park: #C8DBAD; /*A5BF60 #A4B275 #BCCC74*/
|
||||
@natpark: #C8DBAD;
|
||||
@beach: #FCEC7E;
|
||||
/*forest-park*/
|
||||
@green0: #C6D9AB;
|
||||
@green1: #C6D9AB;
|
||||
@green2: #C6D9AB;
|
||||
@green3: #C6D9AB;
|
||||
@green4: #C6D9AB;
|
||||
@green5: #C6D9AB;
|
||||
|
||||
/* BUILDINGS */
|
||||
@housename: #65655E;
|
||||
@building_label: #61615A;
|
||||
@building: #D4D3CA;/*#C9C8BB;*/
|
||||
@building_dark: #C7C6BF;/*#C2C0B3;*/
|
||||
@building_border: #A1A096;
|
||||
@building_dark_border: #9B9A8F;
|
||||
|
||||
/* LANDUSE */
|
||||
|
||||
@pedestrian_area: #EDE8D6;
|
||||
@pedestrian_area_light: #F2EEDA;
|
||||
|
||||
@unversity: #F8E4BA;
|
||||
@hospital: #F8D9D9;/*FADCDB*/
|
||||
@industrial: #DED8E0;/*#D5D5DE; #E4E2EB;*/
|
||||
@sport: #C8DBAD;
|
||||
@parking: #F2F2CE;/*#F0EBC5;DCDCB9; #F2F2CE;*/
|
||||
|
||||
/* BARRIERS */
|
||||
@fence: #999999;
|
||||
|
||||
/* LABELS COLORS */
|
||||
@label_extra_dark: #000000;
|
||||
@label_dark: #222222;
|
||||
@label_medium: #333333;
|
||||
@label_light: #444444;
|
||||
@label_extra_light: #7F7F7F;
|
||||
|
||||
@label_halo_bg: #E3E1D2;
|
||||
@label_halo_dark: #E3E1D2;
|
||||
@label_halo_medium: #EDEBDB;
|
||||
@label_halo_light: #FFFFFF;
|
||||
|
||||
|
||||
/* PLACE LABELS */
|
||||
@city_label: #666666;
|
||||
@city_label_light: #7F7F7F;
|
||||
@city_halo: #DDDDCC;
|
||||
@city_halo_light: #DDDDCC;
|
||||
@country_label: #8C8C8C;
|
||||
@state_label: #8C8C8C;
|
||||
@district_label: #7F7F7F;
|
||||
|
||||
@poi_label: #444444;
|
||||
@subway_label: #333333;
|
||||
@railway_label: #333333;
|
||||
|
||||
/* ROADS LABELS */
|
||||
@primary_road_label: #2E2E2E;
|
||||
@secondary_road_label: #333333;
|
||||
@road_label_halo: #FFFFFF;
|
||||
@shield_text: #000000;
|
||||
@shield_text_halo: #000000;
|
||||
@shield: #FFFFFF;
|
||||
@shield_outline: #000000;
|
||||
/* blue - #2E89B0; #687E94; #598DBE; */
|
||||
|
||||
@label_dark: #333333;
|
||||
@label_light: #444444;
|
||||
@dark: #333333;
|
||||
|
||||
/* NATURAL LABELS */
|
||||
@water_label: #4499Bb;
|
||||
@park_label: #3A7921;
|
||||
@park_label_1: #499953;
|
||||
@halo_park_label: #FFFFFF;
|
||||
@halo_water_label: #fff;
|
||||
|
||||
/* UNIVERSAL HALO */
|
||||
@label_halo: #FFFFFF;
|
||||
|
||||
|
||||
/* PISTE */
|
||||
@piste: #C47AFF;
|
||||
@piste_novice:#5feb2e;
|
||||
@piste_easy: #0b27fb;
|
||||
@piste_intermadiate: #fc0e1b;
|
||||
@piste_expert: #220625;
|
||||
@piste_advanced: #0a0a0d;
|
71
data/styles/vehicle/style-clear/style.mapcss
Normal file
71
data/styles/vehicle/style-clear/style.mapcss
Normal file
|
@ -0,0 +1,71 @@
|
|||
@import("colors.mapcss");
|
||||
@import("../include/common_colors.mapcss");
|
||||
@import("../include/defaults_new.mapcss");
|
||||
@import("../include/Basemap.mapcss");
|
||||
@import("../include/Basemap_label.mapcss");
|
||||
@import("../include/Roads.mapcss");
|
||||
@import("../include/Roads_label.mapcss");
|
||||
@import("../include/Icons.mapcss");
|
||||
|
||||
|
||||
canvas
|
||||
{
|
||||
background-color: @background;
|
||||
fill-color: @water;
|
||||
default-lines: false;
|
||||
default-points: false;
|
||||
}
|
||||
|
||||
colors
|
||||
{
|
||||
GuiText-color: #4D4D4D;
|
||||
GuiText-opacity: 0.86;
|
||||
MyPositionAccuracy-color: #000000;
|
||||
MyPositionAccuracy-opacity: 0.08;
|
||||
Selection-color: #1E96F0;
|
||||
Selection-opacity: 0.64;
|
||||
Route-color: #0087FF;
|
||||
RouteOutline-color: #055FCD;
|
||||
RouteTrafficG0-color: #9B2300;
|
||||
RouteTrafficG1-color: #F03C0A;
|
||||
RouteTrafficG2-color: #F03C0A;
|
||||
RouteTrafficG3-color: #F5D728;
|
||||
RouteTrafficG3-opacity: @traffic_arrow_dark;
|
||||
RoutePedestrian-color: #1D339E;
|
||||
RoutePedestrian-opacity: 0.8;
|
||||
RouteBicycle-color: #9C27B0;
|
||||
RouteBicycle-opacity: 0.8;
|
||||
Arrow3D-color: #50AAFF;
|
||||
Arrow3DObsolete-color: #82AAC8;
|
||||
Arrow3DObsolete-opacity: 0.72;
|
||||
Arrow3DShadow-color: #3C3C3C;
|
||||
Arrow3DShadow-opacity: 0.24;
|
||||
Arrow3DOutline-color: #FFFFFF;
|
||||
TrackHumanSpeed-color: #1D339E;
|
||||
TrackCarSpeed-color: #1579F4;
|
||||
TrackPlaneSpeed-color: #0AC4FF;
|
||||
TrackUnknownDistance-color: #616161;
|
||||
TrafficG0-color: #9B2305;
|
||||
TrafficG1-color: #E63C37;
|
||||
TrafficG2-color: #E63C37;
|
||||
TrafficG3-color: #FAB423;
|
||||
TrafficG3-opacity: @traffic_arrow_dark;
|
||||
TrafficG4-color: #9BAF37;
|
||||
TrafficG5-color: #468755;
|
||||
TrafficTempBlock-color: #464646;
|
||||
TrafficUnknown-color: #000000;
|
||||
TrafficArrowLight-color: #FFFFFF;
|
||||
TrafficArrowDark-color: #6B5114;
|
||||
TrafficOutline-color: #FFFFFF;
|
||||
RoadShieldBlackText-color: #000000;
|
||||
RoadShieldWhiteText-color: #FFFFFF;
|
||||
RoadShieldUKYellowText-color: #FFCC66;
|
||||
RoadShieldBlueBackground-color: #2E6FC9;
|
||||
RoadShieldGreenBackground-color: #22723B;
|
||||
RoadShieldRedBackground-color: #CD2828;
|
||||
RoadShieldOrangeBackground-color: #FFBE00;
|
||||
PoiHotelTextOutline-color: #FFFFFF;
|
||||
PoiHotelTextOutline-opacity: 0.6;
|
||||
PoiDeletedMask-color: #FFFFFF;
|
||||
PoiDeletedMask-opacity: 0.3;
|
||||
}
|
179
data/styles/vehicle/style-night/colors.mapcss
Normal file
179
data/styles/vehicle/style-night/colors.mapcss
Normal file
|
@ -0,0 +1,179 @@
|
|||
/* ~~~~ CONTENT OF COLORS-NIGHT ~~~~~
|
||||
|
||||
1.BASEMAP
|
||||
2.BOUNDARY
|
||||
3.NATURAL
|
||||
3.1 Main natural
|
||||
3.2 Vegetation
|
||||
4.LANDUSE
|
||||
4.1 Main landuse
|
||||
4.2 Aerodrome
|
||||
4.3 Barriers
|
||||
4.4 Buildings
|
||||
5.ROADS
|
||||
5.1 All roads
|
||||
5.2 Bridges
|
||||
5.3 Tunnels
|
||||
5.4 Piste
|
||||
5.5 Transport
|
||||
6.LABELS COLORS
|
||||
6.1 Main labels
|
||||
6.2 Natural labels
|
||||
6.3 Place labels
|
||||
6.4 Road labels
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*/
|
||||
|
||||
/* 1.BASEMAP */
|
||||
|
||||
@white: #444444;
|
||||
@background: #050505;
|
||||
|
||||
/* 2.BOUNDARY */
|
||||
|
||||
@border_country: #4C4C4C;
|
||||
@border_region: #5C5C5C;
|
||||
|
||||
/* 3.NATURAL */
|
||||
/* 3.1 Main natural */
|
||||
|
||||
@glacier: #111111;
|
||||
@water: #002222;
|
||||
@river: #062026;
|
||||
@wetland: #001919;
|
||||
@beach: #28281A;
|
||||
|
||||
/*3.2 Vegeration*/
|
||||
|
||||
@forest: #090F0A;
|
||||
@green0: #090F0A;
|
||||
@green1: #090F0A;
|
||||
@green2: #090F0A;
|
||||
@green3: #090F0A;
|
||||
@green4: #090F0A;
|
||||
@green5: #090F0A;
|
||||
|
||||
/* 4.LANDUSE */
|
||||
/*4.1 Main landuse*/
|
||||
|
||||
@pedestrian_area: #262222;
|
||||
@pedestrian_area_light: #262222;
|
||||
@university: #261F13;
|
||||
@hospital: #261916;
|
||||
@industrial: #141014;
|
||||
@sport: #070F0A;
|
||||
@parking: #1F1A10;
|
||||
|
||||
/*4.2 Aerodrome*/
|
||||
|
||||
@aerodrome0: #41334F;
|
||||
@aerodrome1: #4C3C5C;
|
||||
@aerodrome2: #392D45;
|
||||
@aerodrome3: #392D45;
|
||||
@aerodrome4: #342A40;
|
||||
@aerodrome5: #292133;
|
||||
|
||||
/* 4.3 Barriers */
|
||||
@fence: #444444;
|
||||
|
||||
/* 4.4 Buildings */
|
||||
|
||||
@building: #191919;
|
||||
@building_dark: #191919;
|
||||
@building_border: #303030;
|
||||
@building_dark_border: #474747;
|
||||
|
||||
/* 5.ROADS */
|
||||
/* 5.1 All roads */
|
||||
|
||||
@trunk: #4C2A19;
|
||||
@trunk_orange: #4C2A19;
|
||||
@trunk_orange_medium: #4C2A19;
|
||||
@trunk_orange_light: #4C2A17;
|
||||
@primary_orange: #5E351D;
|
||||
@primary_orange_medium: #5E351D;
|
||||
@primary_orange_light: #5E351D;
|
||||
@secondary: #3B3939;
|
||||
@residential: #363434;
|
||||
@unclassified: #333131;
|
||||
@pedestrian: #4D4744;
|
||||
@footway: #2B2827;
|
||||
@cycleway: #6E3D47;
|
||||
@construction: #332F2D;
|
||||
@track: #2B2827;
|
||||
@tracktype: #262525;
|
||||
@bridleway: #2B2827;
|
||||
|
||||
/* 5.2 Bridges */
|
||||
|
||||
@bridge_background: #121212;
|
||||
@bridge_casing: #0D0D0D;
|
||||
@casing_road: #0D0D0D;
|
||||
|
||||
/* 5.3 Tunnels */
|
||||
|
||||
@trunk_tunnel_orange: #381F14;
|
||||
@trunk_tunnel_casing: #000000;
|
||||
@primary_tunnel_orange: #4C2A1B;
|
||||
@primary_tunnel_casing: #000000;
|
||||
@secondary_tunnel: #2B2827;
|
||||
@secondary_tunnel_casing: #000000;
|
||||
@tertiary_tunnel: #2B2827;
|
||||
@tertiary_tunnel_casing: #000000;
|
||||
@unclassified_tunnel: #2B2827;
|
||||
@unclassified_tunnel_casing: #000000;
|
||||
|
||||
/* 5.4 Piste */
|
||||
|
||||
@piste: #623D7F;
|
||||
@piste_novice:#5feb2e;
|
||||
@piste_easy: #0b27fb;
|
||||
@piste_intermadiate: #fc0e1b;
|
||||
@piste_expert: #333333;
|
||||
@piste_advanced: #222222;
|
||||
|
||||
/* 5.5 Transport */
|
||||
|
||||
@railway_light: #333030;
|
||||
@railway: #171514;
|
||||
@railway_tunnel: #222222;
|
||||
@railway_dash: #111111;
|
||||
@aerialway: #4E4E3D;
|
||||
@tram: #5C5C51;
|
||||
@ferry: #2A4541;
|
||||
|
||||
/* 6.LABELS COLORS */
|
||||
/* 6.1 Main labels */
|
||||
|
||||
@label_dark: #888888;
|
||||
@label_medium: #8C8C8C;
|
||||
@label_light: #666666;
|
||||
@label_halo_medium: #111100;
|
||||
@label_halo_light: #111100;
|
||||
|
||||
/* 6.2 Natural labels */
|
||||
|
||||
@water_label: #004A59;
|
||||
@park_label: #2B4918;
|
||||
@halo_park_label: #111;
|
||||
|
||||
/* 6.3 Place labels */
|
||||
|
||||
@city_label: #999999;
|
||||
@city_label_1: #828282;
|
||||
@city_label_2: #737373;
|
||||
@country_label: #444444;
|
||||
@state_label: #444444;
|
||||
@district_label: #555555;
|
||||
@housename: #737373;
|
||||
@building_label: #737373;
|
||||
@poi_label: #666666;
|
||||
@subway_label: #555555;
|
||||
|
||||
/* 6.4 Road labels */
|
||||
|
||||
@road_label_halo: #000000;
|
||||
@shield_text: #b2b2b2;
|
||||
@shield_text_halo: #000000;
|
||||
@shield: #000000;
|
||||
@shield_outline: #b2b2b2;
|
71
data/styles/vehicle/style-night/style.mapcss
Executable file
71
data/styles/vehicle/style-night/style.mapcss
Executable file
|
@ -0,0 +1,71 @@
|
|||
@import("colors.mapcss");
|
||||
@import("../include/common_colors.mapcss");
|
||||
@import("../include/defaults_new.mapcss");
|
||||
@import("../include/Basemap.mapcss");
|
||||
@import("../include/Basemap_label.mapcss");
|
||||
@import("../include/Roads.mapcss");
|
||||
@import("../include/Roads_label.mapcss");
|
||||
@import("../include/Icons.mapcss");
|
||||
|
||||
|
||||
canvas
|
||||
{
|
||||
background-color: @background;
|
||||
fill-color: @water;
|
||||
default-lines: false;
|
||||
default-points: false;
|
||||
}
|
||||
|
||||
colors
|
||||
{
|
||||
GuiText-color: #FFFFFF;
|
||||
GuiText-opacity: 0.7;
|
||||
MyPositionAccuracy-color: #FFFFFF;
|
||||
MyPositionAccuracy-opacity: 0.06;
|
||||
Selection-color: #4BB9E6;
|
||||
Selection-opacity: 0.64;
|
||||
Route-color: #0087FF;
|
||||
RouteOutline-color: #055FCD;
|
||||
RouteTrafficG0-color: #9B2300;
|
||||
RouteTrafficG1-color: #F03C0A;
|
||||
RouteTrafficG2-color: #F03C0A;
|
||||
RouteTrafficG3-color: #F5D728;
|
||||
RouteTrafficG3-opacity: @traffic_arrow_dark;
|
||||
RoutePedestrian-color: #FFB94B;
|
||||
RoutePedestrian-opacity: 0.7;
|
||||
RouteBicycle-color: #FF4B8C;
|
||||
RouteBicycle-opacity: 0.7;
|
||||
Arrow3D-color: #41C8FF;
|
||||
Arrow3DObsolete-color: #82AAC8;
|
||||
Arrow3DObsolete-opacity: 0.72;
|
||||
Arrow3DShadow-color: #3C3C3C;
|
||||
Arrow3DShadow-opacity: 0.24;
|
||||
Arrow3DOutline-color: #FFFFFF;
|
||||
TrackHumanSpeed-color: #FF9800;
|
||||
TrackCarSpeed-color: #FFCA28;
|
||||
TrackPlaneSpeed-color: #FFF5A0;
|
||||
TrackUnknownDistance-color: #969696;
|
||||
TrafficG0-color: #410F00;
|
||||
TrafficG1-color: #781919;
|
||||
TrafficG2-color: #781919;
|
||||
TrafficG3-color: #8C5A00;
|
||||
TrafficG3-opacity: @traffic_arrow_dark;
|
||||
TrafficG4-color: #555519;
|
||||
TrafficG5-color: #285032;
|
||||
TrafficTempBlock-color: #232323;
|
||||
TrafficUnknown-color: #000000;
|
||||
TrafficArrowLight-color: #AAAAAA;
|
||||
TrafficArrowDark-color: #1E1E1E;
|
||||
TrafficOutline-color: #000000;
|
||||
RoadShieldBlackText-color: #000000;
|
||||
RoadShieldWhiteText-color: #FFFFFF;
|
||||
RoadShieldUKYellowText-color: #FFCC66;
|
||||
RoadShieldBlueBackground-color: #2E6FC9;
|
||||
RoadShieldGreenBackground-color: #22723B;
|
||||
RoadShieldRedBackground-color: #CD2828;
|
||||
RoadShieldOrangeBackground-color: #FFBE00;
|
||||
PoiHotelTextOutline-color: #000000;
|
||||
PoiHotelTextOutline-opacity: 0.6;
|
||||
PoiDeletedMask-color: #FFFFFF;
|
||||
PoiDeletedMask-opacity: 0.3;
|
||||
}
|
|
@ -1,64 +1,64 @@
|
|||
world 00000000000000000000 +
|
||||
aerialway 00000000000000000000 +
|
||||
cable_car 00000000000011111111 -
|
||||
chair_lift 00000000000011111111 -
|
||||
drag_lift 00000000000011111111 -
|
||||
gondola 00000000000011111111 -
|
||||
mixed_lift 00000000000011111111 -
|
||||
station 00000000000011111111 -
|
||||
cable_car 00000000000000011111 -
|
||||
chair_lift 00000000000000011111 -
|
||||
drag_lift 00000000000000011111 -
|
||||
gondola 00000000000000011111 -
|
||||
mixed_lift 00000000000000011111 -
|
||||
station 00000000000000011111 -
|
||||
{}
|
||||
aeroway 00000000000000000000 +
|
||||
aerodrome 00000000001111111111 +
|
||||
international 00000000001111111111 -
|
||||
{}
|
||||
apron 00000000000000000000 -
|
||||
gate 00000000000000000111 -
|
||||
helipad 00000000000000000111 -
|
||||
runway 00000000000011111111 -
|
||||
taxiway 00000000000000111111 -
|
||||
gate 00000000000000000000 -
|
||||
helipad 00000000000000000000 -
|
||||
runway 00000000000000000000 -
|
||||
taxiway 00000000000000000000 -
|
||||
terminal 00000000000000111111 -
|
||||
{}
|
||||
amenity 00000000000000000001 +
|
||||
atm 00000000000000000011 -
|
||||
bank 00000000000000001111 -
|
||||
bar 00000000000000011111 -
|
||||
bbq 00000000000000000011 -
|
||||
bench 00000000000000000011 -
|
||||
bicycle_parking 00000000000000000111 -
|
||||
bicycle_rental 00000000000000000111 -
|
||||
brothel 00000000000000000001 -
|
||||
bureau_de_change 00000000000000000111 -
|
||||
bus_station 00000000000011111111 -
|
||||
amenity 00000000000000000000 +
|
||||
atm 00000000000000000000 -
|
||||
bank 00000000000000000111 -
|
||||
bar 00000000000000000000 -
|
||||
bbq 00000000000000000000 -
|
||||
bench 00000000000000000000 -
|
||||
bicycle_parking 00000000000000000000 -
|
||||
bicycle_rental 00000000000000000000 -
|
||||
brothel 00000000000000000000 -
|
||||
bureau_de_change 00000000000000000000 -
|
||||
bus_station 00000000000000111111 -
|
||||
cafe 00000000000000011111 -
|
||||
car_rental 00000000000000000011 -
|
||||
car_sharing 00000000000000000011 -
|
||||
car_wash 00000000000000000111 -
|
||||
casino 00000000000000000111 -
|
||||
casino 00000000000000000000 -
|
||||
charging_station 00000000000000111111 -
|
||||
childcare 00000000000000000111 -
|
||||
cinema 00000000000000000111 -
|
||||
clinic 00000000000000000111 -
|
||||
college 00000000000000000111 -
|
||||
community_centre 00000000000000111111 -
|
||||
courthouse 00000000000000000111 -
|
||||
dentist 00000000000000000111 -
|
||||
doctors 00000000000000111111 -
|
||||
drinking_water 00000000000000011111 -
|
||||
embassy 00000000000000000111 -
|
||||
fast_food 00000000000000011111 -
|
||||
ferry_terminal 00000000000111111111 -
|
||||
fire_station 00000000000000000011 -
|
||||
childcare 00000000000000000000 -
|
||||
cinema 00000000000000000000 -
|
||||
clinic 00000000000000000000 -
|
||||
college 00000000000000000000 -
|
||||
community_centre 00000000000000000000 -
|
||||
courthouse 00000000000000000000 -
|
||||
dentist 00000000000000000000 -
|
||||
doctors 00000000000000000000 -
|
||||
drinking_water 00000000000000000000 -
|
||||
embassy 00000000000000000000 -
|
||||
fast_food 00000000000000000111 -
|
||||
ferry_terminal 00000000000000011111 -
|
||||
fire_station 00000000000000000000 -
|
||||
fountain 00000000000000001111 -
|
||||
fuel 00000000000000111111 -
|
||||
fuel 00000000000011111111 -
|
||||
grave_yard 00000000000000111111 +
|
||||
christian 00000000000000111111 -
|
||||
{}
|
||||
hospital 00000000000000111111 -
|
||||
hunting_stand 00000000000000000011 -
|
||||
kindergarten 00000000000000000111 -
|
||||
library 00000000000000000011 -
|
||||
marketplace 00000000000000001111 -
|
||||
nightclub 00000000000000001111 -
|
||||
hospital 00000000000000001111 -
|
||||
hunting_stand 00000000000000000000 -
|
||||
kindergarten 00000000000000000000 -
|
||||
library 00000000000000000000 -
|
||||
marketplace 00000000000000000000 -
|
||||
nightclub 00000000000000000000 -
|
||||
parking 00000000000000011111 +
|
||||
fee 00000000000000011111 -
|
||||
multi-storey 00000000000000011111 +
|
||||
|
@ -74,49 +74,49 @@ world 00000000000000000000 +
|
|||
fee 00000000000000011111 -
|
||||
{}
|
||||
{}
|
||||
pharmacy 00000000000000001111 -
|
||||
place_of_worship 00000000000000111111 +
|
||||
buddhist 00000000000000111111 -
|
||||
christian 00000000000000111111 -
|
||||
hindu 00000000000000111111 -
|
||||
jewish 00000000000000111111 -
|
||||
muslim 00000000000000111111 -
|
||||
shinto 00000000000000111111 -
|
||||
taoist 00000000000000111111 -
|
||||
pharmacy 00000000000000000000 -
|
||||
place_of_worship 00000000000000001111 +
|
||||
buddhist 00000000000000001111 -
|
||||
christian 00000000000000001111 -
|
||||
hindu 00000000000000001111 -
|
||||
jewish 00000000000000001111 -
|
||||
muslim 00000000000000001111 -
|
||||
shinto 00000000000000001111 -
|
||||
taoist 00000000000000001111 -
|
||||
{}
|
||||
police 00000000000000000111 -
|
||||
post_box 00000000000000000011 -
|
||||
post_office 00000000000000000111 -
|
||||
pub 00000000000000011111 -
|
||||
public_bookcase 00000000000000000001 -
|
||||
recycling 00000000000000000111 -
|
||||
restaurant 00000000000000011111 -
|
||||
school 00000000000000000111 -
|
||||
shelter 00000000000000001111 -
|
||||
speed_trap 00000000000000000001 -
|
||||
taxi 00000000000000001111 -
|
||||
telephone 00000000000000000111 -
|
||||
theatre 00000000000000111111 -
|
||||
toilets 00000000000000000011 -
|
||||
townhall 00000000000000000001 -
|
||||
university 00000000000000111111 -
|
||||
police 00000000000000000000 -
|
||||
post_box 00000000000000000000 -
|
||||
post_office 00000000000000000000 -
|
||||
pub 00000000000000000000 -
|
||||
public_bookcase 00000000000000000000 -
|
||||
recycling 00000000000000000000 -
|
||||
restaurant 00000000000000001111 -
|
||||
school 00000000000000000000 -
|
||||
shelter 00000000000000000000 -
|
||||
speed_trap 00000000000000000000 -
|
||||
taxi 00000000000000000000 -
|
||||
telephone 00000000000000000000 -
|
||||
theatre 00000000000000000000 -
|
||||
toilets 00000000000000000000 -
|
||||
townhall 00000000000000000000 -
|
||||
university 00000000000000001111 -
|
||||
vending_machine 00000000000000000000 +
|
||||
cigarettes 00000000000000000111 -
|
||||
drinks 00000000000000000111 -
|
||||
parking_tickets 00000000000000000111 -
|
||||
public_transport_tickets 00000000000000000111 -
|
||||
{}
|
||||
veterinary 00000000000000001111 -
|
||||
waste_basket 00000000000000000011 -
|
||||
waste_disposal 00000000000000000011 -
|
||||
veterinary 00000000000000000000 -
|
||||
waste_basket 00000000000000000000 -
|
||||
waste_disposal 00000000000000000000 -
|
||||
{}
|
||||
area:highway 00000000000000000000 +
|
||||
cycleway 00000000000000000000 -
|
||||
footway 00000000000000111111 -
|
||||
living_street 00000000000000111111 -
|
||||
footway 00000000000000000000 -
|
||||
living_street 00000000000000000000 -
|
||||
motorway 00000000000000000000 -
|
||||
path 00000000000000000000 -
|
||||
pedestrian 00000000000000111111 -
|
||||
pedestrian 00000000000000000000 -
|
||||
primary 00000000000000000000 -
|
||||
residential 00000000000000000000 -
|
||||
secondary 00000000000000000000 -
|
||||
|
@ -128,18 +128,18 @@ world 00000000000000000000 +
|
|||
unclassified 00000000000000000000 -
|
||||
{}
|
||||
barrier 00000000000000000000 +
|
||||
block 00000000000000001111 -
|
||||
bollard 00000000000000001111 -
|
||||
block 00000000000000000000 -
|
||||
bollard 00000000000000000000 -
|
||||
border_control 00000000000000011111 -
|
||||
city_wall 00000000000000001111 -
|
||||
cycle_barrier 00000000000000000000 -
|
||||
entrance 00000000000000001111 -
|
||||
entrance 00000000000000000000 -
|
||||
fence 00000000000000001111 -
|
||||
gate 00000000000000001111 -
|
||||
gate 00000000000000000000 -
|
||||
hedge 00000000000000001111 -
|
||||
lift_gate 00000000000000001111 -
|
||||
retaining_wall 00000000000000001111 -
|
||||
stile 00000000000000001111 -
|
||||
retaining_wall 00000000000000000000 -
|
||||
stile 00000000000000000000 -
|
||||
toll_booth 00000000000011111111 -
|
||||
wall 00000000000000001111 -
|
||||
{}
|
||||
|
@ -168,11 +168,11 @@ world 00000000000000000000 +
|
|||
{}
|
||||
national_park 00000000000111111111 -
|
||||
{}
|
||||
building 00000000000000111111 +
|
||||
building 00000000000000011111 +
|
||||
address 00000000000000001111 -
|
||||
garage 00000000000000111111 -
|
||||
has_parts 00000000000000111111 -
|
||||
train_station 00000000000001111111 -
|
||||
garage 00000000000000011111 -
|
||||
has_parts 00000000000000011111 -
|
||||
train_station 00000000000111111111 -
|
||||
{}
|
||||
building:part 00000000000000001111 -
|
||||
communication 00000000000000000000 +
|
||||
|
@ -181,51 +181,51 @@ world 00000000000000000000 +
|
|||
{}
|
||||
{}
|
||||
craft 00000000000000000000 +
|
||||
brewery 00000000000000000011 -
|
||||
carpenter 00000000000000000011 -
|
||||
electrician 00000000000000000011 -
|
||||
gardener 00000000000000000011 -
|
||||
hvac 00000000000000000011 -
|
||||
metal_construction 00000000000000000011 -
|
||||
painter 00000000000000000011 -
|
||||
photographer 00000000000000000011 -
|
||||
plumber 00000000000000000011 -
|
||||
shoemaker 00000000000000000011 -
|
||||
tailor 00000000000000000011 -
|
||||
brewery 00000000000000000000 -
|
||||
carpenter 00000000000000000000 -
|
||||
electrician 00000000000000000000 -
|
||||
gardener 00000000000000000000 -
|
||||
hvac 00000000000000000000 -
|
||||
metal_construction 00000000000000000000 -
|
||||
painter 00000000000000000000 -
|
||||
photographer 00000000000000000000 -
|
||||
plumber 00000000000000000000 -
|
||||
shoemaker 00000000000000000000 -
|
||||
tailor 00000000000000000000 -
|
||||
{}
|
||||
earthquake:damage 00000000000000000000 +
|
||||
spontaneous_camp 00000000000000000000 -
|
||||
{}
|
||||
emergency 00000000000000000000 +
|
||||
phone 00000000000000000111 -
|
||||
phone 00000000000000000000 -
|
||||
{}
|
||||
entrance 00000000000000000011 -
|
||||
entrance 00000000000000000000 -
|
||||
highway 00000000000000000000 +
|
||||
bridleway 00000000000000111111 +
|
||||
bridge 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
tunnel 00000000000000111111 -
|
||||
bridleway 00000000000000000000 +
|
||||
bridge 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
bus_stop 00000000000000001111 -
|
||||
bus_stop 00000000000000000000 -
|
||||
construction 00000000000001111111 -
|
||||
cycleway 00000000000001111111 +
|
||||
bridge 00000000000001111111 -
|
||||
permissive 00000000000001111111 -
|
||||
tunnel 00000000000001111111 -
|
||||
cycleway 00000000000000000000 +
|
||||
bridge 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
footway 00000000000000111111 +
|
||||
alpine_hiking 00000000000000111111 -
|
||||
area 00000000000000111111 -
|
||||
bridge 00000000000000111111 -
|
||||
demanding_alpine_hiking 00000000000000111111 -
|
||||
demanding_mountain_hiking 00000000000000111111 -
|
||||
difficult_alpine_hiking 00000000000000111111 -
|
||||
hiking 00000000000000111111 -
|
||||
mountain_hiking 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
tunnel 00000000000000111111 -
|
||||
footway 00000000000000000000 +
|
||||
alpine_hiking 00000000000000000000 -
|
||||
area 00000000000000000000 -
|
||||
bridge 00000000000000000000 -
|
||||
demanding_alpine_hiking 00000000000000000000 -
|
||||
demanding_mountain_hiking 00000000000000000000 -
|
||||
difficult_alpine_hiking 00000000000000000000 -
|
||||
hiking 00000000000000000000 -
|
||||
mountain_hiking 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
ford 00000000000001111111 -
|
||||
ford 00000000000000000000 -
|
||||
living_street 00000000000011111111 +
|
||||
bridge 00000000000011111111 -
|
||||
tunnel 00000000000011111111 -
|
||||
|
@ -239,23 +239,23 @@ world 00000000000000000000 +
|
|||
bridge 00000000001111111111 -
|
||||
tunnel 00000000001111111111 -
|
||||
{}
|
||||
path 00000000000000111111 +
|
||||
alpine_hiking 00000000000000111111 -
|
||||
bicycle 00000000000000111111 -
|
||||
bridge 00000000000000111111 -
|
||||
demanding_alpine_hiking 00000000000000111111 -
|
||||
demanding_mountain_hiking 00000000000000111111 -
|
||||
difficult_alpine_hiking 00000000000000111111 -
|
||||
hiking 00000000000000111111 -
|
||||
horse 00000000000000111111 -
|
||||
mountain_hiking 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
tunnel 00000000000000111111 -
|
||||
path 00000000000000000000 +
|
||||
alpine_hiking 00000000000000000000 -
|
||||
bicycle 00000000000000000000 -
|
||||
bridge 00000000000000000000 -
|
||||
demanding_alpine_hiking 00000000000000000000 -
|
||||
demanding_mountain_hiking 00000000000000000000 -
|
||||
difficult_alpine_hiking 00000000000000000000 -
|
||||
hiking 00000000000000000000 -
|
||||
horse 00000000000000000000 -
|
||||
mountain_hiking 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
pedestrian 00000000000001111111 +
|
||||
area 00000000000001111111 -
|
||||
bridge 00000000000001111111 -
|
||||
tunnel 00000000000001111111 -
|
||||
pedestrian 00000000000000000000 +
|
||||
area 00000000000000000000 -
|
||||
bridge 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
platform 00000000000000000000 -
|
||||
primary 00000000111111111111 +
|
||||
|
@ -267,7 +267,7 @@ world 00000000000000000000 +
|
|||
tunnel 00000000001111111111 -
|
||||
{}
|
||||
proposed 00000000000001111111 -
|
||||
raceway 00000000000000111111 -
|
||||
raceway 00000000000000000000 -
|
||||
residential 00000000000111111111 +
|
||||
area 00000000000111111111 -
|
||||
bridge 00000000000111111111 -
|
||||
|
@ -286,21 +286,21 @@ world 00000000000000000000 +
|
|||
bridge 00000000000000111111 -
|
||||
tunnel 00000000000000111111 -
|
||||
{}
|
||||
service 00000000000000011111 +
|
||||
area 00000000000000011111 -
|
||||
bridge 00000000000000011111 -
|
||||
driveway 00000000000000001111 +
|
||||
area 00000000000000001111 -
|
||||
bridge 00000000000000001111 -
|
||||
tunnel 00000000000000001111 -
|
||||
service 00000000000000111111 +
|
||||
area 00000000000000111111 -
|
||||
bridge 00000000000000111111 -
|
||||
driveway 00000000000000101111 +
|
||||
area 00000000000000101111 -
|
||||
bridge 00000000000000101111 -
|
||||
tunnel 00000000000000101111 -
|
||||
{}
|
||||
parking_aisle 00000000000000011111 -
|
||||
tunnel 00000000000000011111 -
|
||||
parking_aisle 00000000000000111111 -
|
||||
tunnel 00000000000000111111 -
|
||||
{}
|
||||
speed_camera 00000000000000001111 -
|
||||
steps 00000000000000001111 +
|
||||
bridge 00000000000000001111 -
|
||||
tunnel 00000000000000001111 -
|
||||
speed_camera 00000000000001111111 -
|
||||
steps 00000000000000000000 +
|
||||
bridge 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
tertiary 00000000000111111111 +
|
||||
bridge 00000000000111111111 -
|
||||
|
@ -310,26 +310,26 @@ world 00000000000000000000 +
|
|||
bridge 00000000000000011111 -
|
||||
tunnel 00000000000000011111 -
|
||||
{}
|
||||
track 00000000000000111111 +
|
||||
area 00000000000000111111 -
|
||||
bridge 00000000000000111111 -
|
||||
grade1 00000000000000111111 -
|
||||
grade2 00000000000000111111 -
|
||||
grade3 00000000000000111111 +
|
||||
no-access 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
track 00000000000000000000 +
|
||||
area 00000000000000000000 -
|
||||
bridge 00000000000000000000 -
|
||||
grade1 00000000000000000000 -
|
||||
grade2 00000000000000000000 -
|
||||
grade3 00000000000000000000 +
|
||||
no-access 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
{}
|
||||
grade4 00000000000000111111 +
|
||||
no-access 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
grade4 00000000000000000000 +
|
||||
no-access 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
{}
|
||||
grade5 00000000000000111111 +
|
||||
no-access 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
grade5 00000000000000000000 +
|
||||
no-access 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
{}
|
||||
no-access 00000000000000111111 -
|
||||
permissive 00000000000000111111 -
|
||||
tunnel 00000000000000111111 -
|
||||
no-access 00000000000000000000 -
|
||||
permissive 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
traffic_signals 00000000000000000000 -
|
||||
trunk 00000001111111111111 +
|
||||
|
@ -349,20 +349,20 @@ world 00000000000000000000 +
|
|||
world_towns_level 00000011110000000000 -
|
||||
{}
|
||||
historic 00000000000000000000 +
|
||||
archaeological_site 00000000000000000111 -
|
||||
archaeological_site 00000000000000000000 -
|
||||
battlefield 00000000000000000000 -
|
||||
boundary_stone 00000000000000001111 -
|
||||
castle 00000000000011111111 -
|
||||
citywalls 00000000000000001111 -
|
||||
fort 00000000000011111111 -
|
||||
memorial 00000000000000011111 -
|
||||
monument 00000000000001111111 -
|
||||
museum 00000000000000001111 -
|
||||
ruins 00000000000000000111 -
|
||||
ship 00000000000000001111 -
|
||||
tomb 00000000000000001111 -
|
||||
wayside_cross 00000000000000001111 -
|
||||
wayside_shrine 00000000000000001111 -
|
||||
boundary_stone 00000000000000000000 -
|
||||
castle 00000000000000000000 -
|
||||
citywalls 00000000000000000000 -
|
||||
fort 00000000000000000000 -
|
||||
memorial 00000000000000000000 -
|
||||
monument 00000000000000000000 -
|
||||
museum 00000000000000000000 -
|
||||
ruins 00000000000000000000 -
|
||||
ship 00000000000000000000 -
|
||||
tomb 00000000000000000000 -
|
||||
wayside_cross 00000000000000000000 -
|
||||
wayside_shrine 00000000000000000000 -
|
||||
{}
|
||||
hwtag 00000000000000000000 +
|
||||
bidir_bicycle 00000000000000000000 -
|
||||
|
@ -383,35 +383,35 @@ world 00000000000000000000 +
|
|||
roundabout 00000000000000000000 -
|
||||
{}
|
||||
landuse 00000000000000000000 +
|
||||
allotments 00000000000011111111 -
|
||||
allotments 00000000000000111111 -
|
||||
basin 00000000000011111111 -
|
||||
brownfield 00000000000000000000 -
|
||||
cemetery 00000000000000111111 +
|
||||
christian 00000000000000111111 -
|
||||
{}
|
||||
commercial 00000000000000000111 -
|
||||
commercial 00000000000000000000 -
|
||||
construction 00000000000000011111 -
|
||||
farm 00000000000000000000 -
|
||||
farmland 00000000000011111111 -
|
||||
farmland 00000000000000111111 -
|
||||
farmyard 00000000000000000000 -
|
||||
field 00000000000011111111 -
|
||||
field 00000000000000111111 -
|
||||
forest 00000000001111111111 +
|
||||
coniferous 00000000001111111111 -
|
||||
deciduous 00000000001111111111 -
|
||||
mixed 00000000001111111111 -
|
||||
{}
|
||||
garages 00000000000000111111 -
|
||||
grass 00000000000011111111 -
|
||||
garages 00000000000000011111 -
|
||||
grass 00000000000000111111 -
|
||||
greenfield 00000000000000000000 -
|
||||
greenhouse_horticulture 00000000000000000000 -
|
||||
industrial 00000000000000011111 -
|
||||
landfill 00000000000000011111 -
|
||||
meadow 00000000000011111111 -
|
||||
military 00000000000000001111 -
|
||||
orchard 00000000000011111111 -
|
||||
meadow 00000000000000111111 -
|
||||
military 00000000000000000000 -
|
||||
orchard 00000000000000111111 -
|
||||
quarry 00000000000000011111 -
|
||||
railway 00000000000000011111 -
|
||||
recreation_ground 00000000000011111111 -
|
||||
recreation_ground 00000000000000111111 -
|
||||
reservoir 00000000001111111111 -
|
||||
residential 00000000000000000000 +
|
||||
rural 00000000000000000000 -
|
||||
|
@ -419,53 +419,53 @@ world 00000000000000000000 +
|
|||
{}
|
||||
retail 00000000000000000000 -
|
||||
salt_pond 11111111111111111111 -
|
||||
village_green 00000000000011111111 -
|
||||
vineyard 00000000000011111111 -
|
||||
village_green 00000000000000111111 -
|
||||
vineyard 00000000000000111111 -
|
||||
{}
|
||||
leisure 00000000000000000000 +
|
||||
common 00000000000000000111 -
|
||||
dog_park 00000000000000001111 +
|
||||
tennis 00000000000000001111 -
|
||||
common 00000000000000000000 -
|
||||
dog_park 00000000000000000000 +
|
||||
tennis 00000000000000000000 -
|
||||
{}
|
||||
fitness_centre 00000000000000000111 -
|
||||
fitness_centre 00000000000000000000 -
|
||||
garden 00000000000011111111 -
|
||||
golf_course 00000000000011111111 -
|
||||
landscape_reserve 00000000000000000111 -
|
||||
golf_course 00000000000000111111 -
|
||||
landscape_reserve 00000000000000000000 -
|
||||
nature_reserve 00000000001111111111 -
|
||||
park 00000000001111111111 +
|
||||
no-access 00000000001111111111 -
|
||||
permissive 00000000001111111111 -
|
||||
private 00000000001111111111 -
|
||||
{}
|
||||
pitch 00000000000000011111 +
|
||||
tennis 00000000000000011111 -
|
||||
pitch 00000000000000000000 +
|
||||
tennis 00000000000000000000 -
|
||||
{}
|
||||
playground 00000000000000000111 +
|
||||
tennis 00000000000000000111 -
|
||||
playground 00000000000000000000 +
|
||||
tennis 00000000000000000000 -
|
||||
{}
|
||||
playing_fields 00000000000000000000 +
|
||||
tennis 00000000000000000111 -
|
||||
tennis 00000000000000000000 -
|
||||
{}
|
||||
recreation_ground 00000000000000000111 -
|
||||
sauna 00000000000000000111 -
|
||||
slipway 00000000000000000111 -
|
||||
sports_centre 00000000000000000111 +
|
||||
climbing 00000000000000000111 -
|
||||
shooting 00000000000000000111 -
|
||||
swimming 00000000000000000111 -
|
||||
yoga 00000000000000000111 -
|
||||
recreation_ground 00000000000000000000 -
|
||||
sauna 00000000000000000000 -
|
||||
slipway 00000000000000000000 -
|
||||
sports_centre 00000000000000000000 +
|
||||
climbing 00000000000000000000 -
|
||||
shooting 00000000000000000000 -
|
||||
swimming 00000000000000000000 -
|
||||
yoga 00000000000000000000 -
|
||||
{}
|
||||
stadium 00000000000001111111 -
|
||||
stadium 00000000000000011111 -
|
||||
swimming_pool 00000000000001111111 -
|
||||
track 00000000000000111111 -
|
||||
water_park 00000000000000001111 -
|
||||
track 00000000000000000000 -
|
||||
water_park 00000000000000000000 -
|
||||
{}
|
||||
man_made 00000000000000000000 +
|
||||
breakwater 00000000000011111111 -
|
||||
cairn 00000000000000000000 -
|
||||
chimney 00000000000000000011 -
|
||||
chimney 00000000000000000000 -
|
||||
cutline 00000000000000111111 -
|
||||
lighthouse 00000000000000111111 -
|
||||
lighthouse 00000000000000000000 -
|
||||
pier 00000000000011111111 -
|
||||
pipeline 00000000000000000000 +
|
||||
overground 00000000000000000000 -
|
||||
|
@ -474,7 +474,7 @@ world 00000000000000000000 +
|
|||
wastewater_plant 00000000000000000000 -
|
||||
water_tower 00000000000000000000 -
|
||||
water_well 00000000000000000000 -
|
||||
windmill 00000000000000001111 -
|
||||
windmill 00000000000000000000 -
|
||||
{}
|
||||
mapswithme 00000000000000000000 +
|
||||
grid 00000000000000000000 -
|
||||
|
@ -491,30 +491,30 @@ world 00000000000000000000 +
|
|||
bunker 00000000000000000000 -
|
||||
{}
|
||||
natural 00000000000000000000 +
|
||||
bare_rock 00000000000000011111 -
|
||||
bare_rock 00000000000000000000 -
|
||||
bay 00000000001111111111 -
|
||||
beach 00000000001111111111 -
|
||||
cape 00000000000000111111 -
|
||||
cave_entrance 00000000000111111111 -
|
||||
cave_entrance 00000000000000000000 -
|
||||
cliff 00000000000000000000 -
|
||||
coastline 11111111111111111111 -
|
||||
glacier 11111111111111111111 -
|
||||
grassland 00000000000011111111 -
|
||||
heath 00000000000011111111 -
|
||||
grassland 00000000000000111111 -
|
||||
heath 00000000000000111111 -
|
||||
lake 11111111111111111111 -
|
||||
land 11111111111111111111 -
|
||||
meadow 00000000000000000000 -
|
||||
orchard 00000000000000000000 -
|
||||
peak 00000000000011111111 -
|
||||
peak 00000000000000000000 -
|
||||
pond 11111111111111111111 -
|
||||
rock 00000000000000011111 -
|
||||
rock 00000000000000000000 -
|
||||
salt_pond 11111111111111111111 -
|
||||
scrub 00000000000011111111 -
|
||||
spring 00000000000000111111 -
|
||||
scrub 00000000000000111111 -
|
||||
spring 00000000000000000000 -
|
||||
tree 00000000000000000000 -
|
||||
tree_row 00000000000000000000 -
|
||||
vineyard 00000000000000000000 -
|
||||
volcano 00000000001111111111 -
|
||||
volcano 00000000000000000000 -
|
||||
water 11111111111111111111 -
|
||||
wetland 00000000000111111111 +
|
||||
bog 00000000000111111111 -
|
||||
|
@ -529,12 +529,12 @@ world 00000000000000000000 +
|
|||
noexit 00000000000000000000 +
|
||||
motor_vehicle 00000000000000000000 -
|
||||
{}
|
||||
office 00000000000000000011 +
|
||||
company 00000000000000000011 -
|
||||
estate_agent 00000000000000000011 -
|
||||
government 00000000000000000011 -
|
||||
lawyer 00000000000000000111 -
|
||||
telecommunication 00000000000000000011 -
|
||||
office 00000000000000000000 +
|
||||
company 00000000000000000000 -
|
||||
estate_agent 00000000000000000000 -
|
||||
government 00000000000000000000 -
|
||||
lawyer 00000000000000000000 -
|
||||
telecommunication 00000000000000000000 -
|
||||
{}
|
||||
olympics 00000000000000000000 +
|
||||
attraction 00000000000000000000 -
|
||||
|
@ -553,23 +553,23 @@ world 00000000000000000000 +
|
|||
water_sport 00000000000000000000 -
|
||||
{}
|
||||
piste:lift 00000000000000000000 +
|
||||
j-bar 00000000000011111111 -
|
||||
magic_carpet 00000000000011111111 -
|
||||
platter 00000000000011111111 -
|
||||
rope_tow 00000000000011111111 -
|
||||
t-bar 00000000000011111111 -
|
||||
j-bar 00000000000000000000 -
|
||||
magic_carpet 00000000000000000000 -
|
||||
platter 00000000000000000000 -
|
||||
rope_tow 00000000000000000000 -
|
||||
t-bar 00000000000000000000 -
|
||||
{}
|
||||
piste:type 00000000000000000000 +
|
||||
downhill 00000000000000111111 +
|
||||
advanced 00000000000000111111 -
|
||||
easy 00000000000000111111 -
|
||||
expert 00000000000000111111 -
|
||||
freeride 00000000000000111111 -
|
||||
intermediate 00000000000000111111 -
|
||||
novice 00000000000000111111 -
|
||||
downhill 00000000000000000000 +
|
||||
advanced 00000000000000000000 -
|
||||
easy 00000000000000000000 -
|
||||
expert 00000000000000000000 -
|
||||
freeride 00000000000000000000 -
|
||||
intermediate 00000000000000000000 -
|
||||
novice 00000000000000000000 -
|
||||
{}
|
||||
nordic 00000000000000111111 -
|
||||
sled 00000000000000111111 -
|
||||
nordic 00000000000000000000 -
|
||||
sled 00000000000000000000 -
|
||||
{}
|
||||
place 00000000000000000000 +
|
||||
city 00001111111111111111 +
|
||||
|
@ -591,11 +591,11 @@ world 00000000000000000000 +
|
|||
county 00000000000000000000 -
|
||||
farm 00000000000000111111 -
|
||||
hamlet 00000000000001111111 -
|
||||
island 00000000000011111111 -
|
||||
island 00000000000011100000 -
|
||||
islet 00000000001111111111 -
|
||||
isolated_dwelling 00000000000000111111 -
|
||||
locality 00000000000001111111 -
|
||||
neighbourhood 00000000000001111111 -
|
||||
neighbourhood 00000000000001111000 -
|
||||
ocean 01111111111111111111 -
|
||||
region 00000000110000000000 -
|
||||
sea 00001111111111111111 -
|
||||
|
@ -612,14 +612,14 @@ world 00000000000000000000 +
|
|||
photovoltaic 00000000000000000000 -
|
||||
wind 00000000000000000000 -
|
||||
{}
|
||||
line 00000000000000000001 +
|
||||
underground 00000000000000000001 -
|
||||
line 00000000000000000000 +
|
||||
underground 00000000000000000000 -
|
||||
{}
|
||||
minor_line 00000000000000000000 -
|
||||
pole 00000000000000000000 -
|
||||
station 00000000000000000111 -
|
||||
substation 00000000000000000111 -
|
||||
tower 00000000000000001111 -
|
||||
station 00000000000000000000 -
|
||||
substation 00000000000000000000 -
|
||||
tower 00000000000000000000 -
|
||||
{}
|
||||
psurface 00000000000000000000 +
|
||||
paved_bad 00000000000000000000 -
|
||||
|
@ -628,7 +628,7 @@ world 00000000000000000000 +
|
|||
unpaved_good 00000000000000000000 -
|
||||
{}
|
||||
public_transport 00000000000000000000 +
|
||||
platform 00000000000000001111 -
|
||||
platform 00000000000000000000 -
|
||||
{}
|
||||
railway 00000000000000000000 +
|
||||
abandoned 00000000000000001111 +
|
||||
|
@ -638,9 +638,9 @@ world 00000000000000000000 +
|
|||
construction 00000000000000001111 -
|
||||
crossing 00000000000000000000 -
|
||||
disused 00000000000000001111 -
|
||||
funicular 00000000000011111111 +
|
||||
bridge 00000000000011111111 -
|
||||
tunnel 00000000000011111111 -
|
||||
funicular 00000000000000000000 +
|
||||
bridge 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
halt 00000000000111111111 -
|
||||
incline 00000000000000000000 +
|
||||
|
@ -660,7 +660,7 @@ world 00000000000000000000 +
|
|||
bridge 00000000000000011111 -
|
||||
tunnel 00000000000000011111 -
|
||||
{}
|
||||
platform 00000000000000001111 -
|
||||
platform 00000000000000000000 -
|
||||
preserved 00000000000000001111 +
|
||||
bridge 00000000000000001111 -
|
||||
tunnel 00000000000000001111 -
|
||||
|
@ -680,34 +680,34 @@ world 00000000000000000000 +
|
|||
bridge 00000000000000000000 -
|
||||
tunnel 00000000000000000000 -
|
||||
{}
|
||||
station 00000000000001111111 +
|
||||
light_rail 00000000000001111111 -
|
||||
monorail 00000000000001111111 -
|
||||
subway 00000000000001111111 +
|
||||
barcelona 00000000000001111111 -
|
||||
berlin 00000000000001111111 -
|
||||
blue 00000000000001111111 -
|
||||
brown 00000000000001111111 -
|
||||
darkgreen 00000000000001111111 -
|
||||
gray 00000000000001111111 -
|
||||
green 00000000000001111111 -
|
||||
grey 00000000000001111111 -
|
||||
kiev 00000000000001111111 -
|
||||
lightblue 00000000000001111111 -
|
||||
lightgreen 00000000000001111111 -
|
||||
london 00000000000001111111 -
|
||||
madrid 00000000000001111111 -
|
||||
minsk 00000000000001111111 -
|
||||
station 00000000000011111111 +
|
||||
light_rail 00000000000011111111 -
|
||||
monorail 00000000000011111111 -
|
||||
subway 00000000000011111111 +
|
||||
barcelona 00000000000011111111 -
|
||||
berlin 00000000000011111111 -
|
||||
blue 00000000000011111111 -
|
||||
brown 00000000000011111111 -
|
||||
darkgreen 00000000000011111111 -
|
||||
gray 00000000000011111111 -
|
||||
green 00000000000011111111 -
|
||||
grey 00000000000011111111 -
|
||||
kiev 00000000000011111111 -
|
||||
lightblue 00000000000011111111 -
|
||||
lightgreen 00000000000011111111 -
|
||||
london 00000000000011111111 -
|
||||
madrid 00000000000011111111 -
|
||||
minsk 00000000000011111111 -
|
||||
moscow 00000000000111111111 -
|
||||
newyork 00000000000001111111 -
|
||||
orange 00000000000001111111 -
|
||||
paris 00000000000001111111 -
|
||||
purple 00000000000001111111 -
|
||||
red 00000000000001111111 -
|
||||
roma 00000000000001111111 -
|
||||
newyork 00000000000011111111 -
|
||||
orange 00000000000011111111 -
|
||||
paris 00000000000011111111 -
|
||||
purple 00000000000011111111 -
|
||||
red 00000000000011111111 -
|
||||
roma 00000000000011111111 -
|
||||
spb 00000000000111111111 -
|
||||
violet 00000000000001111111 -
|
||||
yellow 00000000000001111111 -
|
||||
violet 00000000000011111111 -
|
||||
yellow 00000000000011111111 -
|
||||
{}
|
||||
{}
|
||||
subway 00000000000000000000 +
|
||||
|
@ -740,20 +740,20 @@ world 00000000000000000000 +
|
|||
roma 00000000000000001111 -
|
||||
spb 00000000000000001111 -
|
||||
{}
|
||||
tram 00000000000001111111 +
|
||||
bridge 00000000000001111111 -
|
||||
tunnel 00000000000001111111 -
|
||||
tram 00000000000000001111 +
|
||||
bridge 00000000000000001111 -
|
||||
tunnel 00000000000000001111 -
|
||||
{}
|
||||
tram_stop 00000000000000111111 -
|
||||
tram_stop 00000000000000000111 -
|
||||
yard 00000000000111111111 +
|
||||
bridge 00000000000111111111 -
|
||||
tunnel 00000000000111111111 -
|
||||
{}
|
||||
{}
|
||||
route 00000000000000000000 +
|
||||
ferry 00000000001111111111 +
|
||||
motor_vehicle 00000000001111111111 -
|
||||
motorcar 00000000001111111111 -
|
||||
ferry 00000000000000000000 +
|
||||
motor_vehicle 00000000000000000000 -
|
||||
motorcar 00000000000000000000 -
|
||||
{}
|
||||
shuttle_train 00000000000000000000 -
|
||||
{}
|
||||
|
@ -792,7 +792,7 @@ world 00000000000000000000 +
|
|||
jewelry 00000000000000001111 -
|
||||
kiosk 00000000000000001111 -
|
||||
laundry 00000000000000001111 -
|
||||
mall 00000000000000111111 -
|
||||
mall 00000000000011111111 -
|
||||
mobile_phone 00000000000000001111 -
|
||||
optician 00000000000000001111 -
|
||||
outdoor 00000000000000001111 -
|
||||
|
@ -801,7 +801,7 @@ world 00000000000000000000 +
|
|||
seafood 00000000000000001111 -
|
||||
shoes 00000000000000001111 -
|
||||
sports 00000000000000001111 -
|
||||
supermarket 00000000000000001111 -
|
||||
supermarket 00000000000000111111 -
|
||||
ticket 00000000000000001111 -
|
||||
toys 00000000000000001111 -
|
||||
travel_agency 00000000000000001111 -
|
||||
|
@ -825,53 +825,53 @@ world 00000000000000000000 +
|
|||
opentable 00000000000000000000 -
|
||||
{}
|
||||
sport 00000000000000000000 +
|
||||
american_football 00000000000000000111 -
|
||||
archery 00000000000000000111 -
|
||||
athletics 00000000000000000111 -
|
||||
australian_football 00000000000000000111 -
|
||||
baseball 00000000000000000111 -
|
||||
basketball 00000000000000000111 -
|
||||
bowls 00000000000000000111 -
|
||||
cricket 00000000000000000111 -
|
||||
curling 00000000000000000111 -
|
||||
diving 00000000000000000111 -
|
||||
equestrian 00000000000000001111 -
|
||||
football 00000000000000000111 -
|
||||
golf 00000000000000000111 -
|
||||
gymnastics 00000000000000000111 -
|
||||
handball 00000000000000000111 -
|
||||
multi 00000000000000000111 -
|
||||
scuba_diving 00000000000000000111 -
|
||||
shooting 00000000000000000111 -
|
||||
skiing 00000000000000000111 -
|
||||
soccer 00000000000000001111 -
|
||||
swimming 00000000000000000111 -
|
||||
tennis 00000000000000000111 -
|
||||
american_football 00000000000000000000 -
|
||||
archery 00000000000000000000 -
|
||||
athletics 00000000000000000000 -
|
||||
australian_football 00000000000000000000 -
|
||||
baseball 00000000000000000000 -
|
||||
basketball 00000000000000000000 -
|
||||
bowls 00000000000000000000 -
|
||||
cricket 00000000000000000000 -
|
||||
curling 00000000000000000000 -
|
||||
diving 00000000000000000000 -
|
||||
equestrian 00000000000000000000 -
|
||||
football 00000000000000000000 -
|
||||
golf 00000000000000000000 -
|
||||
gymnastics 00000000000000000000 -
|
||||
handball 00000000000000000000 -
|
||||
multi 00000000000000000000 -
|
||||
scuba_diving 00000000000000000000 -
|
||||
shooting 00000000000000000000 -
|
||||
skiing 00000000000000000000 -
|
||||
soccer 00000000000000000000 -
|
||||
swimming 00000000000000000000 -
|
||||
tennis 00000000000000000000 -
|
||||
{}
|
||||
tourism 00000000000000000000 +
|
||||
alpine_hut 00000000000000111111 -
|
||||
apartment 00000000000000111111 -
|
||||
artwork 00000000000000011111 -
|
||||
attraction 00000000000000111111 -
|
||||
camp_site 00000000000000011111 -
|
||||
caravan_site 00000000000000001111 -
|
||||
chalet 00000000000000111111 -
|
||||
gallery 00000000000000011111 -
|
||||
guest_house 00000000000000111111 -
|
||||
hostel 00000000000000111111 -
|
||||
hotel 00000000000000111111 -
|
||||
information 00000000000000001111 +
|
||||
board 00000000000000001111 -
|
||||
guidepost 00000000000000001111 -
|
||||
map 00000000000000001111 -
|
||||
office 00000000000000001111 -
|
||||
alpine_hut 00000000000000000000 -
|
||||
apartment 00000000000000000000 -
|
||||
artwork 00000000000000000000 -
|
||||
attraction 00000000000000000000 -
|
||||
camp_site 00000000000000000000 -
|
||||
caravan_site 00000000000000000000 -
|
||||
chalet 00000000000000000000 -
|
||||
gallery 00000000000000000000 -
|
||||
guest_house 00000000000000000000 -
|
||||
hostel 00000000000000000000 -
|
||||
hotel 00000000000000000000 -
|
||||
information 00000000000000000000 +
|
||||
board 00000000000000000000 -
|
||||
guidepost 00000000000000000000 -
|
||||
map 00000000000000000000 -
|
||||
office 00000000000000000000 -
|
||||
{}
|
||||
motel 00000000000000111111 -
|
||||
museum 00000000000001111111 -
|
||||
picnic_site 00000000000000001111 -
|
||||
resort 00000000000000111111 -
|
||||
viewpoint 00000000000000111111 -
|
||||
zoo 00000000000001111111 -
|
||||
motel 00000000000000000000 -
|
||||
museum 00000000000000000000 -
|
||||
picnic_site 00000000000000000000 -
|
||||
resort 00000000000000000000 -
|
||||
viewpoint 00000000000000000000 -
|
||||
zoo 00000000000000000000 -
|
||||
{}
|
||||
traffic_calming 00000000000000000000 +
|
||||
bump 00000000000000000000 -
|
||||
|
@ -879,28 +879,28 @@ world 00000000000000000000 +
|
|||
{}
|
||||
waterway 00000000000000000000 +
|
||||
canal 00000000000001111111 +
|
||||
tunnel 00000000000000000000 -
|
||||
tunnel 00000000000001111111 -
|
||||
{}
|
||||
dam 00000000000000011111 -
|
||||
ditch 00000000000000000111 +
|
||||
tunnel 00000000000000000000 -
|
||||
tunnel 00000000000000000111 -
|
||||
{}
|
||||
dock 11111111111111111111 -
|
||||
drain 00000000000000000111 +
|
||||
tunnel 00000000000000000000 -
|
||||
tunnel 00000000000000000111 -
|
||||
{}
|
||||
lock 00000000000000001111 -
|
||||
lock_gate 00000000000000001111 -
|
||||
river 00000000001111111111 +
|
||||
tunnel 00000000000000000000 -
|
||||
tunnel 00000000001111111111 -
|
||||
{}
|
||||
riverbank 11111111111111111111 -
|
||||
stream 00000000000001111111 +
|
||||
ephemeral 00000000000001111111 -
|
||||
intermittent 00000000000001111111 -
|
||||
tunnel 00000000000000000000 -
|
||||
tunnel 00000000000001111111 -
|
||||
{}
|
||||
waterfall 00000000000111111111 -
|
||||
waterfall 00000000000000000000 -
|
||||
weir 00000000000000011111 -
|
||||
{}
|
||||
wheelchair 00000000000000000000 +
|
||||
|
|
|
@ -11,6 +11,10 @@ MapStyle MapStyleFromSettings(std::string const & str)
|
|||
return MapStyleClear;
|
||||
else if (str == "MapStyleDark")
|
||||
return MapStyleDark;
|
||||
else if (str == "MapStyleVehicleClear")
|
||||
return MapStyleVehicleClear;
|
||||
else if (str == "MapStyleVehicleDark")
|
||||
return MapStyleVehicleDark;
|
||||
|
||||
return kDefaultMapStyle;
|
||||
}
|
||||
|
@ -25,6 +29,10 @@ std::string MapStyleToString(MapStyle mapStyle)
|
|||
return "MapStyleClear";
|
||||
case MapStyleMerged:
|
||||
return "MapStyleMerged";
|
||||
case MapStyleVehicleDark:
|
||||
return "MapStyleVehicleDark";
|
||||
case MapStyleVehicleClear:
|
||||
return "MapStyleVehicleClear";
|
||||
|
||||
case MapStyleCount:
|
||||
break;
|
||||
|
|
|
@ -7,6 +7,8 @@ enum MapStyle
|
|||
MapStyleClear = 0,
|
||||
MapStyleDark = 1,
|
||||
MapStyleMerged = 2,
|
||||
MapStyleVehicleClear = 3,
|
||||
MapStyleVehicleDark = 4,
|
||||
// Add new map style here
|
||||
|
||||
// Specifies number of MapStyle enum values, must be last
|
||||
|
|
|
@ -13,15 +13,43 @@ namespace
|
|||
|
||||
const char * const kSuffixDark = "_dark";
|
||||
const char * const kSuffixClear = "_clear";
|
||||
const char * const kSuffixVehicleDark = "_vehicle_dark";
|
||||
const char * const kSuffixVehicleClear = "_vehicle_clear";
|
||||
|
||||
string GetStyleSuffix(MapStyle mapStyle)
|
||||
string GetStyleRulesSuffix(MapStyle mapStyle)
|
||||
{
|
||||
switch (mapStyle)
|
||||
{
|
||||
case MapStyleDark:
|
||||
case MapStyleDark:
|
||||
return kSuffixDark;
|
||||
case MapStyleClear:
|
||||
return kSuffixClear;
|
||||
case MapStyleVehicleDark:
|
||||
return kSuffixVehicleDark;
|
||||
case MapStyleVehicleClear:
|
||||
return kSuffixVehicleClear;
|
||||
case MapStyleMerged:
|
||||
return string();
|
||||
|
||||
case MapStyleCount:
|
||||
break;
|
||||
}
|
||||
LOG(LWARNING, ("Unknown map style", mapStyle));
|
||||
return kSuffixClear;
|
||||
}
|
||||
|
||||
string GetStyleResourcesSuffix(MapStyle mapStyle)
|
||||
{
|
||||
// We use the same resources for default and vehicle styles
|
||||
// to avoid textures duplication and package size increasing.
|
||||
switch (mapStyle)
|
||||
{
|
||||
case MapStyleDark:
|
||||
case MapStyleVehicleDark:
|
||||
return kSuffixDark;
|
||||
case MapStyleClear:
|
||||
case MapStyleVehicleClear:
|
||||
return kSuffixClear;
|
||||
case MapStyleMerged:
|
||||
return string();
|
||||
|
||||
|
@ -51,13 +79,13 @@ MapStyle StyleReader::GetCurrentStyle()
|
|||
|
||||
ReaderPtr<Reader> StyleReader::GetDrawingRulesReader()
|
||||
{
|
||||
string const rulesFile = string("drules_proto") + GetStyleSuffix(GetCurrentStyle()) + ".bin";
|
||||
string const rulesFile = string("drules_proto") + GetStyleRulesSuffix(GetCurrentStyle()) + ".bin";
|
||||
return GetPlatform().GetReader(rulesFile);
|
||||
}
|
||||
|
||||
ReaderPtr<Reader> StyleReader::GetResourceReader(string const & file, string const & density)
|
||||
{
|
||||
string const resourceDir = string("resources-") + density + GetStyleSuffix(GetCurrentStyle());
|
||||
string const resourceDir = string("resources-") + density + GetStyleResourcesSuffix(GetCurrentStyle());
|
||||
return GetPlatform().GetReader(my::JoinFoldersToPath(resourceDir, file));
|
||||
}
|
||||
|
||||
|
|
|
@ -424,6 +424,12 @@
|
|||
34FE4C451BCC013500066718 /* MWMMapWidgets.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34FE4C441BCC013500066718 /* MWMMapWidgets.mm */; };
|
||||
4519503A1B7A3E070085DA05 /* patterns.txt in Resources */ = {isa = PBXBuildFile; fileRef = 451950391B7A3E070085DA05 /* patterns.txt */; };
|
||||
452FCA3B1B6A3DF7007019AB /* colors.txt in Resources */ = {isa = PBXBuildFile; fileRef = 452FCA3A1B6A3DF7007019AB /* colors.txt */; };
|
||||
4554B6EA1E55F02B0084017F /* drules_proto_vehicle_clear.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4554B6E81E55F02B0084017F /* drules_proto_vehicle_clear.bin */; };
|
||||
4554B6EB1E55F02B0084017F /* drules_proto_vehicle_dark.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4554B6E91E55F02B0084017F /* drules_proto_vehicle_dark.bin */; };
|
||||
4554B6EC1E55F0EF0084017F /* drules_proto_vehicle_clear.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4554B6E81E55F02B0084017F /* drules_proto_vehicle_clear.bin */; };
|
||||
4554B6ED1E55F0F00084017F /* drules_proto_vehicle_clear.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4554B6E81E55F02B0084017F /* drules_proto_vehicle_clear.bin */; };
|
||||
4554B6EE1E55F0F30084017F /* drules_proto_vehicle_dark.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4554B6E91E55F02B0084017F /* drules_proto_vehicle_dark.bin */; };
|
||||
4554B6EF1E55F0F40084017F /* drules_proto_vehicle_dark.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4554B6E91E55F02B0084017F /* drules_proto_vehicle_dark.bin */; };
|
||||
46F26CD810F623BA00ECCA39 /* EAGLView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 46F26CD710F623BA00ECCA39 /* EAGLView.mm */; };
|
||||
4A00DBDF1AB704C400113624 /* drules_proto_dark.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4A00DBDE1AB704C400113624 /* drules_proto_dark.bin */; };
|
||||
4A23D15B1B8B4DD700D4EB6F /* drules_proto_clear.bin in Resources */ = {isa = PBXBuildFile; fileRef = 4A23D1561B8B4DD700D4EB6F /* drules_proto_clear.bin */; };
|
||||
|
@ -1674,6 +1680,8 @@
|
|||
3DDB4BC31DAB98F000F4D021 /* libpartners_api.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpartners_api.a; path = "../../../omim-xcode-build/Debug-iphonesimulator/libpartners_api.a"; sourceTree = "<group>"; };
|
||||
451950391B7A3E070085DA05 /* patterns.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = patterns.txt; path = ../../data/patterns.txt; sourceTree = "<group>"; };
|
||||
452FCA3A1B6A3DF7007019AB /* colors.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = colors.txt; path = ../../data/colors.txt; sourceTree = "<group>"; };
|
||||
4554B6E81E55F02B0084017F /* drules_proto_vehicle_clear.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; name = drules_proto_vehicle_clear.bin; path = ../../data/drules_proto_vehicle_clear.bin; sourceTree = "<group>"; };
|
||||
4554B6E91E55F02B0084017F /* drules_proto_vehicle_dark.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; name = drules_proto_vehicle_dark.bin; path = ../../data/drules_proto_vehicle_dark.bin; sourceTree = "<group>"; };
|
||||
458287C21AD3BE2000BA8940 /* DownloadIndicatorProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DownloadIndicatorProtocol.h; sourceTree = "<group>"; };
|
||||
46F26CD610F623BA00ECCA39 /* EAGLView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = EAGLView.h; sourceTree = "<group>"; };
|
||||
46F26CD710F623BA00ECCA39 /* EAGLView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = EAGLView.mm; sourceTree = "<group>"; };
|
||||
|
@ -3749,6 +3757,8 @@
|
|||
FA065FC61286143F00FEA989 /* External Resources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4554B6E81E55F02B0084017F /* drules_proto_vehicle_clear.bin */,
|
||||
4554B6E91E55F02B0084017F /* drules_proto_vehicle_dark.bin */,
|
||||
F623DA6A1C9C2731006A3436 /* opening_hours_how_to_edit.html */,
|
||||
6B9978341C89A316003B8AA0 /* editor.config */,
|
||||
671182DE1C7F0DD400CB8177 /* countries_obsolete.txt */,
|
||||
|
@ -3984,6 +3994,8 @@
|
|||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
4554B6EA1E55F02B0084017F /* drules_proto_vehicle_clear.bin in Resources */,
|
||||
4554B6EB1E55F02B0084017F /* drules_proto_vehicle_dark.bin in Resources */,
|
||||
EEA61601134C496A003A9827 /* 01_dejavusans.ttf in Resources */,
|
||||
341C2A571B72092A00AD41A1 /* 02_droidsans-fallback.ttf in Resources */,
|
||||
EEA61603134C496A003A9827 /* 03_jomolhari-id-a3d.ttf in Resources */,
|
||||
|
@ -4155,6 +4167,7 @@
|
|||
F6E2FEB21E097BA00083EBEC /* _MWMPPPSchedule.xib in Resources */,
|
||||
F6E2FEB51E097BA00083EBEC /* _MWMPPPSpace.xib in Resources */,
|
||||
F6E2FEB81E097BA00083EBEC /* _MWMPPPSubtitle.xib in Resources */,
|
||||
4554B6EE1E55F0F30084017F /* drules_proto_vehicle_dark.bin in Resources */,
|
||||
F6E2FEBB1E097BA00083EBEC /* _MWMPPPTitle.xib in Resources */,
|
||||
6741A9781BF340DE002C974C /* AddSetTableViewCell.xib in Resources */,
|
||||
340E1EEC1E2F614400CE49BF /* Authorization.storyboard in Resources */,
|
||||
|
@ -4224,6 +4237,7 @@
|
|||
F6E2FDEF1E097BA00083EBEC /* MWMOpeningHoursAddClosedTableViewCell.xib in Resources */,
|
||||
F6E2FDF51E097BA00083EBEC /* MWMOpeningHoursAddScheduleTableViewCell.xib in Resources */,
|
||||
F6E2FDFB1E097BA00083EBEC /* MWMOpeningHoursAllDayTableViewCell.xib in Resources */,
|
||||
4554B6EC1E55F0EF0084017F /* drules_proto_vehicle_clear.bin in Resources */,
|
||||
F6E2FE761E097BA00083EBEC /* MWMOpeningHoursCell.xib in Resources */,
|
||||
F6E2FE011E097BA00083EBEC /* MWMOpeningHoursClosedSpanTableViewCell.xib in Resources */,
|
||||
F6E2FE071E097BA00083EBEC /* MWMOpeningHoursDaysSelectorTableViewCell.xib in Resources */,
|
||||
|
@ -4311,6 +4325,7 @@
|
|||
F6E2FEB31E097BA00083EBEC /* _MWMPPPSchedule.xib in Resources */,
|
||||
F6E2FEB61E097BA00083EBEC /* _MWMPPPSpace.xib in Resources */,
|
||||
F6E2FEB91E097BA00083EBEC /* _MWMPPPSubtitle.xib in Resources */,
|
||||
4554B6EF1E55F0F40084017F /* drules_proto_vehicle_dark.bin in Resources */,
|
||||
F6E2FEBC1E097BA00083EBEC /* _MWMPPPTitle.xib in Resources */,
|
||||
849CF6441DE842290024A8A5 /* AddSetTableViewCell.xib in Resources */,
|
||||
340E1EED1E2F614400CE49BF /* Authorization.storyboard in Resources */,
|
||||
|
@ -4380,6 +4395,7 @@
|
|||
F6E2FDF61E097BA00083EBEC /* MWMOpeningHoursAddScheduleTableViewCell.xib in Resources */,
|
||||
F6E2FDFC1E097BA00083EBEC /* MWMOpeningHoursAllDayTableViewCell.xib in Resources */,
|
||||
F6E2FE771E097BA00083EBEC /* MWMOpeningHoursCell.xib in Resources */,
|
||||
4554B6ED1E55F0F00084017F /* drules_proto_vehicle_clear.bin in Resources */,
|
||||
F6E2FE021E097BA00083EBEC /* MWMOpeningHoursClosedSpanTableViewCell.xib in Resources */,
|
||||
F6E2FE081E097BA00083EBEC /* MWMOpeningHoursDaysSelectorTableViewCell.xib in Resources */,
|
||||
F6E2FE0E1E097BA00083EBEC /* MWMOpeningHoursDeleteScheduleTableViewCell.xib in Resources */,
|
||||
|
|
|
@ -56,8 +56,10 @@ agg::rgba8 GetLineColor(MapStyle mapStyle)
|
|||
LOG(LERROR, ("Wrong map style param."));
|
||||
// No need break or return here.
|
||||
case MapStyleDark:
|
||||
case MapStyleVehicleDark:
|
||||
return agg::rgba8(255, 230, 140, 255);
|
||||
case MapStyleClear:
|
||||
case MapStyleVehicleClear:
|
||||
case MapStyleMerged:
|
||||
return agg::rgba8(30, 150, 240, 255);
|
||||
}
|
||||
|
@ -71,8 +73,10 @@ agg::rgba8 GetCurveColor(MapStyle mapStyle)
|
|||
LOG(LERROR, ("Wrong map style param."));
|
||||
// No need break or return here.
|
||||
case MapStyleDark:
|
||||
case MapStyleVehicleDark:
|
||||
return agg::rgba8(255, 230, 140, 20);
|
||||
case MapStyleClear:
|
||||
case MapStyleVehicleClear:
|
||||
case MapStyleMerged:
|
||||
return agg::rgba8(30, 150, 240, 20);
|
||||
}
|
||||
|
|
|
@ -151,24 +151,41 @@ pair<int, int> GetMinMax(int level, vector<uint32_t> const & types, drule::rule_
|
|||
return res;
|
||||
}
|
||||
|
||||
string CombineArrT(StringIL const & arrT)
|
||||
{
|
||||
string result;
|
||||
for (auto it = arrT.begin(); it != arrT.end(); ++it)
|
||||
{
|
||||
if (it != arrT.begin())
|
||||
result.append("-");
|
||||
result.append(*it);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void CheckPriority(vector<StringIL> const & arrT, vector<size_t> const & arrI, drule::rule_type_t ruleType)
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
vector<vector<uint32_t> > types;
|
||||
vector<vector<string> > typesInfo;
|
||||
|
||||
styles::RunForEveryMapStyle([&](MapStyle style)
|
||||
{
|
||||
types.clear();
|
||||
typesInfo.clear();
|
||||
|
||||
size_t ind = 0;
|
||||
for (size_t i = 0; i < arrI.size(); ++i)
|
||||
{
|
||||
types.push_back(vector<uint32_t>());
|
||||
types.back().reserve(arrI[i]);
|
||||
typesInfo.push_back(vector<string>());
|
||||
typesInfo.back().reserve(arrI[i]);
|
||||
|
||||
for (size_t j = 0; j < arrI[i]; ++j)
|
||||
{
|
||||
types.back().push_back(c.GetTypeByPath(arrT[ind]));
|
||||
typesInfo.back().push_back(CombineArrT(arrT[ind]));
|
||||
++ind;
|
||||
}
|
||||
}
|
||||
|
@ -178,11 +195,15 @@ void CheckPriority(vector<StringIL> const & arrT, vector<size_t> const & arrI, d
|
|||
for (int level = scales::GetUpperWorldScale() + 1; level <= scales::GetUpperStyleScale(); ++level)
|
||||
{
|
||||
pair<int, int> minmax(numeric_limits<int>::max(), numeric_limits<int>::min());
|
||||
vector<string> minmaxInfo;
|
||||
for (size_t i = 0; i < types.size(); ++i)
|
||||
{
|
||||
pair<int, int> const mm = GetMinMax(level, types[i], ruleType);
|
||||
TEST_LESS(minmax.second, mm.first, ("Priority bug on zoom", level, "group", i, ":", minmax.first, minmax.second, "vs", mm.first, mm.second));
|
||||
TEST_LESS(minmax.second, mm.first, ("Priority bug on zoom", level, "group", i, ":",
|
||||
minmaxInfo, minmax.first, minmax.second, "vs",
|
||||
typesInfo[i], mm.first, mm.second));
|
||||
minmax = mm;
|
||||
minmaxInfo = typesInfo[i];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -141,6 +141,8 @@ copy_resources(
|
|||
countries_obsolete.txt
|
||||
drules_proto_clear.bin
|
||||
drules_proto_dark.bin
|
||||
drules_proto_vehicle_clear.bin
|
||||
drules_proto_vehicle_dark.bin
|
||||
editor.config
|
||||
fonts_blacklist.txt
|
||||
fonts_whitelist.txt
|
||||
|
|
|
@ -154,10 +154,16 @@ void SearchPanel::OnSearchResult(ResultsT * results)
|
|||
bool SearchPanel::TryChangeMapStyleCmd(QString const & str)
|
||||
{
|
||||
// Hook for shell command on change map style
|
||||
bool const isDark = (str == "mapstyle:dark") || (str == "?dark");
|
||||
bool const isLight = isDark ? false : (str == "mapstyle:light") || (str == "?light");
|
||||
|
||||
if (!isDark && !isLight)
|
||||
MapStyle desiredStyle = MapStyleCount;
|
||||
if (str == "mapstyle:dark" || str == "?dark")
|
||||
desiredStyle = MapStyleDark;
|
||||
else if (str == "mapstyle:light" || str == "?light")
|
||||
desiredStyle = MapStyleClear;
|
||||
else if (str == "mapstyle:vehicle_dark" || str == "?vdark")
|
||||
desiredStyle = MapStyleVehicleDark;
|
||||
else if (str == "mapstyle:vehicle_light" || str == "?vlight")
|
||||
desiredStyle = MapStyleVehicleClear;
|
||||
else
|
||||
return false;
|
||||
|
||||
// close Search panel
|
||||
|
@ -165,8 +171,7 @@ bool SearchPanel::TryChangeMapStyleCmd(QString const & str)
|
|||
parentWidget()->hide();
|
||||
|
||||
// change color scheme for the Map activity
|
||||
MapStyle const mapStyle = isDark ? MapStyleDark : MapStyleClear;
|
||||
m_pDrawWidget->SetMapStyle(mapStyle);
|
||||
m_pDrawWidget->SetMapStyle(desiredStyle);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -30,5 +30,10 @@ done
|
|||
# Building drawing rules
|
||||
BuildDrawingRules clear clear _clear
|
||||
BuildDrawingRules clear night _dark
|
||||
BuildDrawingRules vehicle clear _vehicle_clear
|
||||
BuildDrawingRules vehicle night _vehicle_dark
|
||||
|
||||
cp "$DATA_PATH/drules_proto_clear.bin" "$DATA_PATH/drules_proto.bin"
|
||||
echo "Merging default and vehicle styles"
|
||||
python "$OMIM_PATH/tools/python/stylesheet/drules_merge.py" \
|
||||
"$DATA_PATH/drules_proto_clear.bin" "$DATA_PATH/drules_proto_vehicle_clear.bin" \
|
||||
"$DATA_PATH/drules_proto.bin" "$DATA_PATH/drules_proto.txt" > /dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue