Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
8dd26e6cfc TEMP Migrated files demo
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-02 22:16:37 +03:00
6b6daf452d TEMP Update kothic (WIP Rewrite mapcss files from pseudo-tags to OM types)
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-02 22:15:20 +03:00
6f52125b80 TEMP Rewrite default-light mapcss files only
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-02 22:15:14 +03:00
8 changed files with 4528 additions and 4128 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -22,362 +22,362 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
line[highway]
line|highway
{text-position: line;}
/* 2.SHIELD 10-22 ZOOM */
line|z10-[highway=motorway]::shield,
line|z10-[highway=trunk]::shield,
line|z10-[highway=motorway_link]::shield,
line|z10-[highway=trunk_link]::shield,
line|z10-[highway=primary]::shield,
line|z11-[highway=primary_link]::shield,
line|z12-[highway=secondary]::shield,
line|z13-[highway=tertiary]::shield,
line|z15-[highway=residential]::shield,
line|z10-|highway-motorway::shield,
line|z10-|highway-trunk::shield,
line|z10-|highway-motorway_link::shield,
line|z10-|highway-trunk_link::shield,
line|z10-|highway-primary::shield,
line|z11-|highway-primary_link::shield,
line|z12-|highway-secondary::shield,
line|z13-|highway-tertiary::shield,
line|z15-|highway-residential::shield,
{shield-font-size: 9;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]::shield,
line|z10[highway=trunk]::shield,
line|z10[highway=motorway_link]::shield,
line|z10[highway=trunk_link]::shield,
line|z10[highway=primary]::shield,
line|z10|highway-motorway::shield,
line|z10|highway-trunk::shield,
line|z10|highway-motorway_link::shield,
line|z10|highway-trunk_link::shield,
line|z10|highway-primary::shield,
{shield-min-distance: 85;}
line|z11-12[highway=motorway]::shield,
line|z11-12[highway=trunk]::shield,
line|z11-12[highway=motorway_link]::shield,
line|z11-12[highway=trunk_link]::shield,
line|z11-12[highway=primary]::shield,
line|z11-12[highway=primary_link]::shield,
line|z12[highway=secondary]::shield,
line|z11-12|highway-motorway::shield,
line|z11-12|highway-trunk::shield,
line|z11-12|highway-motorway_link::shield,
line|z11-12|highway-trunk_link::shield,
line|z11-12|highway-primary::shield,
line|z11-12|highway-primary_link::shield,
line|z12|highway-secondary::shield,
{shield-min-distance: 90;}
line|z13[highway=motorway]::shield,
line|z13[highway=trunk]::shield,
line|z13[highway=motorway_link]::shield,
line|z13[highway=trunk_link]::shield,
line|z13[highway=primary]::shield,
line|z13[highway=primary_link]::shield,
line|z13[highway=secondary]::shield,
line|z13[highway=tertiary]::shield,
line|z13|highway-motorway::shield,
line|z13|highway-trunk::shield,
line|z13|highway-motorway_link::shield,
line|z13|highway-trunk_link::shield,
line|z13|highway-primary::shield,
line|z13|highway-primary_link::shield,
line|z13|highway-secondary::shield,
line|z13|highway-tertiary::shield,
{shield-min-distance: 120;}
line|z14[highway=motorway]::shield,
line|z14[highway=trunk]::shield,
line|z14[highway=motorway_link]::shield,
line|z14[highway=trunk_link]::shield,
line|z14[highway=primary]::shield,
line|z14[highway=primary_link]::shield,
line|z14[highway=secondary]::shield,
line|z14[highway=tertiary]::shield,
line|z14|highway-motorway::shield,
line|z14|highway-trunk::shield,
line|z14|highway-motorway_link::shield,
line|z14|highway-trunk_link::shield,
line|z14|highway-primary::shield,
line|z14|highway-primary_link::shield,
line|z14|highway-secondary::shield,
line|z14|highway-tertiary::shield,
{shield-min-distance: 175;}
line|z15[highway=motorway]::shield,
line|z15[highway=trunk]::shield,
line|z15[highway=motorway_link]::shield,
line|z15[highway=trunk_link]::shield,
line|z15[highway=primary]::shield,
line|z15[highway=primary_link]::shield,
line|z15[highway=secondary]::shield,
line|z15[highway=tertiary]::shield,
line|z15[highway=residential]::shield,
line|z15|highway-motorway::shield,
line|z15|highway-trunk::shield,
line|z15|highway-motorway_link::shield,
line|z15|highway-trunk_link::shield,
line|z15|highway-primary::shield,
line|z15|highway-primary_link::shield,
line|z15|highway-secondary::shield,
line|z15|highway-tertiary::shield,
line|z15|highway-residential::shield,
{shield-min-distance: 250;}
line|z16[highway=motorway]::shield,
line|z16[highway=trunk]::shield,
line|z16[highway=motorway_link]::shield,
line|z16[highway=trunk_link]::shield,
line|z16[highway=primary]::shield,
line|z16[highway=primary_link]::shield,
line|z16[highway=secondary]::shield,
line|z16[highway=tertiary]::shield,
line|z16[highway=residential]::shield,
line|z16|highway-motorway::shield,
line|z16|highway-trunk::shield,
line|z16|highway-motorway_link::shield,
line|z16|highway-trunk_link::shield,
line|z16|highway-primary::shield,
line|z16|highway-primary_link::shield,
line|z16|highway-secondary::shield,
line|z16|highway-tertiary::shield,
line|z16|highway-residential::shield,
{shield-min-distance: 300;}
line|z17[highway=motorway]::shield,
line|z17[highway=trunk]::shield,
line|z17[highway=motorway_link]::shield,
line|z17[highway=trunk_link]::shield,
line|z17[highway=primary]::shield,
line|z17[highway=primary_link]::shield,
line|z17[highway=secondary]::shield,
line|z17[highway=tertiary]::shield,
line|z17[highway=residential]::shield,
line|z17|highway-motorway::shield,
line|z17|highway-trunk::shield,
line|z17|highway-motorway_link::shield,
line|z17|highway-trunk_link::shield,
line|z17|highway-primary::shield,
line|z17|highway-primary_link::shield,
line|z17|highway-secondary::shield,
line|z17|highway-tertiary::shield,
line|z17|highway-residential::shield,
{shield-font-size: 10;shield-min-distance: 300;}
line|z18[highway=motorway]::shield,
line|z18[highway=trunk]::shield,
line|z18[highway=motorway_link]::shield,
line|z18[highway=trunk_link]::shield,
line|z18[highway=primary]::shield,
line|z18[highway=primary_link]::shield,
line|z18[highway=secondary]::shield,
line|z18[highway=residential]::shield,
line|z18[highway=tertiary]::shield,
line|z18|highway-motorway::shield,
line|z18|highway-trunk::shield,
line|z18|highway-motorway_link::shield,
line|z18|highway-trunk_link::shield,
line|z18|highway-primary::shield,
line|z18|highway-primary_link::shield,
line|z18|highway-secondary::shield,
line|z18|highway-residential::shield,
line|z18|highway-tertiary::shield,
{shield-font-size: 10;shield-min-distance: 300;}
line|z19-[highway=motorway]::shield,
line|z19-[highway=trunk]::shield,
line|z19-[highway=motorway_link]::shield,
line|z19-[highway=trunk_link]::shield,
line|z19-[highway=primary]::shield,
line|z19-[highway=primary_link]::shield,
line|z19-[highway=secondary]::shield,
line|z19-[highway=residential]::shield,
line|z19-[highway=tertiary]::shield,
line|z19-|highway-motorway::shield,
line|z19-|highway-trunk::shield,
line|z19-|highway-motorway_link::shield,
line|z19-|highway-trunk_link::shield,
line|z19-|highway-primary::shield,
line|z19-|highway-primary_link::shield,
line|z19-|highway-secondary::shield,
line|z19-|highway-residential::shield,
line|z19-|highway-tertiary::shield,
{shield-font-size: 11;shield-min-distance: 350;}
/* 3.TRUNK & MOTORWAY 10-22 ZOOM */
line|z10-[highway=trunk],
line|z10-[highway=motorway],
line|z10-[highway=motorway_link],
line|z10-[highway=trunk_link],
line|z10-|highway-trunk,
line|z10-|highway-motorway,
line|z10-|highway-motorway_link,
line|z10-|highway-trunk_link,
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z10-11[highway=motorway],
line|z10-11[highway=trunk],
line|z10-11|highway-motorway,
line|z10-11|highway-trunk,
{font-size: 11; text-color: @label_medium; text-halo-opacity: 0.9;}
line|z12-13[highway=motorway],
line|z12-13[highway=trunk],
line|z12-13|highway-motorway,
line|z12-13|highway-trunk,
{font-size: 12; text-color: @label_medium; text-halo-opacity: 1;}
line|z14-[highway=trunk],
line|z14-[highway=motorway],
line|z14-|highway-trunk,
line|z14-|highway-motorway,
{font-size: 14; text-color: @label_dark; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
line|z10-13[highway=motorway_link],
line|z10-13[highway=trunk_link],
line|z10-13|highway-motorway_link,
line|z10-13|highway-trunk_link,
{font-size: 10; text-color: @label_medium; text-halo-opacity: 0.7;}
line|z14-15[highway=motorway_link],
line|z14-15[highway=trunk_link],
line|z14-15|highway-motorway_link,
line|z14-15|highway-trunk_link,
{font-size: 11; text-color: @label_medium; text-halo-opacity: 0.9;}
line|z16-[highway=motorway_link],
line|z16-[highway=trunk_link],
line|z16-|highway-motorway_link,
line|z16-|highway-trunk_link,
{font-size: 12; text-color: @label_medium; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
/* 4.PRIMARY 10-22 ZOOM */
line|z10-[highway=primary],
line|z11-[highway=primary_link],
line|z10-|highway-primary,
line|z11-|highway-primary_link,
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z10-13[highway=primary],
line|z11-13[highway=primary_link],
line|z10-13|highway-primary,
line|z11-13|highway-primary_link,
{font-size: 10; text-color: @label_medium; text-halo-opacity: 0.7;}
line|z14-15[highway=primary],
line|z14-15|highway-primary,
{font-size: 13; text-color: @label_dark; text-halo-opacity: 0.9;}
line|z16-[highway=primary],
line|z16-|highway-primary,
{font-size: 14; text-color: @label_dark; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
line|z14-15[highway=primary_link],
line|z14-15|highway-primary_link,
{font-size: 10; text-color: @label_medium; text-halo-opacity: 0.9;}
line|z16-[highway=primary_link],
line|z16-|highway-primary_link,
{font-size: 12; text-color: @label_medium; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
/* 5.SECONDARY 10-22 ZOOM */
line|z10-[highway=secondary],
line|z16-[highway=secondary_link],
line|z10-|highway-secondary,
line|z16-|highway-secondary_link,
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z10-13[highway=secondary],
line|z10-13|highway-secondary,
{font-size: 10; text-color: @label_light; text-halo-opacity: 0.7;}
line|z14-15[highway=secondary],
line|z14-15|highway-secondary,
{font-size: 11; text-color: @label_medium; text-halo-opacity: 0.9;}
line|z16-[highway=secondary],
line|z16-|highway-secondary,
{font-size: 14; text-color: @label_dark; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
line|z16-[highway=secondary_link],
line|z16-|highway-secondary_link,
{font-size: 12; text-color: @label_medium; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
/* 6.RESIDENTAL & TERTIARY 12-22 ZOOM */
line|z14-[railway=rail][usage=tourism],
line|z14-|railway-rail-tourism,
{font-size: 10; text: name; text-position: line; text-color: @label_medium; text-halo-opacity: 0.8; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z15[railway=rail][usage=tourism],
line|z15|railway-rail-tourism,
{font-size: 11;}
line|z16-[railway=rail][usage=tourism],
line|z16-|railway-rail-tourism,
{font-size: 12; text-halo-color: @label_halo_light;}
line|z12-[highway=tertiary],
line|z13-[highway=unclassified],
line|z13-[highway=residential],
line|z14-[highway=road],
line|z18-[highway=tertiary_link],
line|z12-|highway-tertiary,
line|z13-|highway-unclassified,
line|z13-|highway-residential,
line|z14-|highway-road,
line|z18-|highway-tertiary_link,
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z12-13[highway=tertiary],
line|z13[highway=unclassified],
line|z13[highway=residential],
line|z12-13|highway-tertiary,
line|z13|highway-unclassified,
line|z13|highway-residential,
{font-size: 10; text-color: @label_light; text-halo-opacity: 0.7;}
line|z14-15[highway=tertiary],
line|z14-15[highway=unclassified],
line|z14-15[highway=residential],
line|z14-15[highway=road],
line|z14-15|highway-tertiary,
line|z14-15|highway-unclassified,
line|z14-15|highway-residential,
line|z14-15|highway-road,
{font-size: 10; text-color: @label_medium; text-halo-opacity: 0.9;}
line|z16-[highway=tertiary],
line|z16-[highway=unclassified],
line|z16-[highway=residential],
line|z16-[highway=road],
line|z18-[highway=tertiary_link],
line|z16-|highway-tertiary,
line|z16-|highway-unclassified,
line|z16-|highway-residential,
line|z16-|highway-road,
line|z18-|highway-tertiary_link,
{font-size: 12; text-color: @label_medium; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
/* 7.STREETS & SERVICE 14-22 ZOOM */
line|z14-[highway=living_street],
line|z14-[highway=pedestrian],
line|z16-[highway=service],
line|z16-[highway=service][service=busway],
line|z16-[highway=busway],
line|z14-|highway-living_street,
line|z14-|highway-pedestrian,
line|z16-|highway-service,
line|z16-|[highway=service][service=busway] /*NO-TYPE-MATCH*/,
line|z16-|highway-busway,
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z14-15[highway=living_street],
line|z14-15[highway=pedestrian],
line|z14-15|highway-living_street,
line|z14-15|highway-pedestrian,
{font-size: 10; text-color: @label_light; text-halo-opacity: 0.9;}
line|z16-17[highway=living_street],
line|z16-17[highway=pedestrian],
line|z16-17[highway=service],
line|z16-17[highway=service][service=busway],
line|z16-17[highway=busway],
line|z16-17|highway-living_street,
line|z16-17|highway-pedestrian,
line|z16-17|highway-service,
line|z16-17|[highway=service][service=busway] /*NO-TYPE-MATCH*/,
line|z16-17|highway-busway,
{font-size: 10; text-color: @label_medium; text-halo-opacity: 1; text-halo-color: @label_halo_light;}
line|z18-[highway=living_street],
line|z18-[highway=pedestrian],
line|z18-[highway=service],
line|z18-[highway=service][service=busway],
line|z18-[highway=busway],
line|z18-|highway-living_street,
line|z18-|highway-pedestrian,
line|z18-|highway-service,
line|z18-|[highway=service][service=busway] /*NO-TYPE-MATCH*/,
line|z18-|highway-busway,
{font-size: 12; text-color: @label_medium; 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=track],
line|z15-[highway=path],
line|z15-[highway=bridleway],
line|z15-[highway=footway],
line|z16-[leisure=track],
line|z16-[highway=steps],
line|z16-[highway=ford],
line|z16-[highway=raceway],
line|z15-|highway-cycleway,
line|z15-|highway-construction,
line|z15-|highway-track,
line|z15-|highway-path,
line|z15-|highway-bridleway,
line|z15-|highway-footway,
line|z16-|leisure-track,
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;}
/* Don't display names of sidewalks and pedestrian crossings. */
line|z15-[highway=footway][footway=sidewalk],
line|z15-[highway=footway][footway=crossing],
line|z15-|highway-footway-sidewalk,
line|z15-|highway-footway-crossing,
{text: none;}
line|z15[highway=construction],
line|z15[highway=bridleway],
line|z15[highway=path],
line|z15[highway=footway],
line|z15[highway=cycleway],
line|z15[highway=track]
line|z15|highway-construction,
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=track],
line|z16-17[highway=raceway],
line|z16-17[leisure=track],
line|z16-17[highway=path],
line|z16-17[highway=bridleway],
line|z16-17[highway=footway],
line|z16-17|highway-ford,
line|z16-17|highway-cycleway,
line|z16-17|highway-construction,
line|z16-17|highway-track,
line|z16-17|highway-raceway,
line|z16-17|leisure-track,
line|z16-17|highway-path,
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=track],
line|z18-[highway=raceway],
line|z18-[leisure=track],
line|z18-[highway=path],
line|z18-[highway=bridleway],
line|z18-[highway=footway],
line|z18-|highway-ford,
line|z18-|highway-cycleway,
line|z18-|highway-construction,
line|z18-|highway-track,
line|z18-|highway-raceway,
line|z18-|leisure-track,
line|z18-|highway-path,
line|z18-|highway-bridleway,
line|z18-|highway-footway,
{font-size: 10;}
/* 10.PISTE 15-22 ZOOM */
line|z15-[aerialway=cable_car],
line|z15-[aerialway=gondola],
line|z15-[aerialway=mixed_lift],
line|z15-[aerialway=chair_lift],
line|z15-[aerialway=drag_lift],
line|z15-[aerialway=j-bar],
line|z15-[aerialway=t-bar],
line|z15-[aerialway=magic_carpet],
line|z15-[aerialway=platter],
line|z15-[aerialway=rope_tow],
line|z15-[piste:type=downhill],
line|z15-[piste:type=nordic],
line|z15-[piste:type=sled],
line|z15-[piste:type=hike],
line|z15-[piste:type=skitour],
line|z15-|aerialway-cable_car,
line|z15-|aerialway-gondola,
line|z15-|aerialway-mixed_lift,
line|z15-|aerialway-chair_lift,
line|z15-|aerialway-drag_lift,
line|z15-|aerialway-j-bar,
line|z15-|aerialway-t-bar,
line|z15-|aerialway-magic_carpet,
line|z15-|aerialway-platter,
line|z15-|aerialway-rope_tow,
line|z15-|piste:type-downhill,
line|z15-|piste:type-nordic,
line|z15-|piste:type-sled,
line|z15-|piste:type-hike,
line|z15-|piste:type-skitour,
{font-size: 9; text: name; text-color: @label_dark; text-halo-radius: 1; text-halo-opacity: 0.7; text-halo-color: @label_halo_light; text-position: line;}
line|z16-17[aerialway=cable_car],
line|z16-17[aerialway=gondola],
line|z16-17[aerialway=mixed_lift],
line|z16-17[aerialway=chair_lift],
line|z16-17[aerialway=drag_lift],
line|z16-17[aerialway=j-bar],
line|z16-17[aerialway=t-bar],
line|z16-17[aerialway=magic_carpet],
line|z16-17[aerialway=platter],
line|z16-17[aerialway=rope_tow],
line|z16-17[piste:type=downhill],
line|z16-17[piste:type=nordic],
line|z16-17[piste:type=sled],
line|z16-17[piste:type=hike],
line|z16-17[piste:type=skitour],
line|z16-17|aerialway-cable_car,
line|z16-17|aerialway-gondola,
line|z16-17|aerialway-mixed_lift,
line|z16-17|aerialway-chair_lift,
line|z16-17|aerialway-drag_lift,
line|z16-17|aerialway-j-bar,
line|z16-17|aerialway-t-bar,
line|z16-17|aerialway-magic_carpet,
line|z16-17|aerialway-platter,
line|z16-17|aerialway-rope_tow,
line|z16-17|piste:type-downhill,
line|z16-17|piste:type-nordic,
line|z16-17|piste:type-sled,
line|z16-17|piste:type-hike,
line|z16-17|piste:type-skitour,
{font-size: 10;}
line|z18-[aerialway=cable_car],
line|z18-[aerialway=gondola],
line|z18-[aerialway=mixed_lift],
line|z18-[aerialway=chair_lift],
line|z18-[aerialway=drag_lift],
line|z18-[aerialway=j-bar],
line|z18-[aerialway=t-bar],
line|z18-[aerialway=magic_carpet],
line|z18-[aerialway=platter],
line|z18-[aerialway=rope_tow],
line|z18-[piste:type=downhill],
line|z18-[piste:type=nordic],
line|z18-[piste:type=sled],
line|z18-[piste:type=hike],
line|z18-[piste:type=skitour],
line|z18-|aerialway-cable_car,
line|z18-|aerialway-gondola,
line|z18-|aerialway-mixed_lift,
line|z18-|aerialway-chair_lift,
line|z18-|aerialway-drag_lift,
line|z18-|aerialway-j-bar,
line|z18-|aerialway-t-bar,
line|z18-|aerialway-magic_carpet,
line|z18-|aerialway-platter,
line|z18-|aerialway-rope_tow,
line|z18-|piste:type-downhill,
line|z18-|piste:type-nordic,
line|z18-|piste:type-sled,
line|z18-|piste:type-hike,
line|z18-|piste:type-skitour,
{font-size: 12;}
/* No captions for areal ski runs as they're supposed to have a labelled centerline. */
area|z15-[piste:type=downhill][area],
area|z15-[piste:type=sled][area],
area|z15-|[piste:type=downhill][area] /*NO-TYPE-MATCH*/,
area|z15-|[piste:type=sled][area] /*NO-TYPE-MATCH*/,
{text: none;}
/* 11. FERRY */
line|z10-[route=ferry],
line|z10-|route-ferry,
{text: name;text-color: @water_label;text-position: line;}
line|z10-16[route=ferry],
line|z10-16|route-ferry,
{font-size: 9;}
line|z17-[route=ferry],
line|z17-|route-ferry,
{font-size: 10;}
/* 12. ONEWAY ARROWS */
/* line|z15-[highway=primary][hwtag=oneway]::arrows <-- не работает по типам магистралей */
line|z15[hwtag=oneway]::arrows
line|z15|hwtag-oneway::arrows
{pattern-offset: 30;pattern-image: arrow-xs.svg;pattern-spacing: 60;}
line|z16[hwtag=oneway]::arrows
line|z16|hwtag-oneway::arrows
{pattern-offset: 50;pattern-image: arrow-s.svg;pattern-spacing: 70;}
line|z17[hwtag=oneway]::arrows
line|z17|hwtag-oneway::arrows
{pattern-offset: 70;pattern-image: arrow-s.svg;pattern-spacing: 80;}
line|z18-[hwtag=oneway]::arrows
line|z18-|hwtag-oneway::arrows
{pattern-offset: 90;pattern-image: arrow-m.svg;pattern-spacing: 90;}
/* 13.JUNCTION */
node|z15-[highway=motorway_junction],
node|z17-[junction],
node|z15-|highway-motorway_junction,
node|z17-|junction,
{text: name;text-color: @subway_label;text-position: center;}
node|z15[highway=motorway_junction]
node|z15|highway-motorway_junction
{font-size: 9;}
node|z16-[highway=motorway_junction],
node|z17-[junction],
node|z16-|highway-motorway_junction,
node|z17-|junction,
{font-size: 10;}

File diff suppressed because it is too large Load diff

@ -1 +1 @@
Subproject commit 2796db7ae3c3f3c00ae07880dc2d8dfc8edd776b
Subproject commit de239719479ffab1172555c59656995a0be3cfa4

View file

@ -22,34 +22,34 @@ function BuildDrawingRules() {
}
# Cleanup
cleanup=(classificator.txt types.txt visibility.txt colors.txt patterns.txt)
for item in ${cleanup[*]}
do
rm $DATA_PATH/$item || true
done
#cleanup=(classificator.txt types.txt visibility.txt colors.txt patterns.txt)
#for item in ${cleanup[*]}
#do
# rm $DATA_PATH/$item || true
#done
# Building drawing rules
BuildDrawingRules default light _default_light
BuildDrawingRules default dark _default_dark
BuildDrawingRules outdoors light _outdoors_light
BuildDrawingRules outdoors dark _outdoors_dark
#BuildDrawingRules default dark _default_dark
#BuildDrawingRules outdoors light _outdoors_light
#BuildDrawingRules outdoors dark _outdoors_dark
# Keep vehicle style last to produce same visibility.txt & classificator.txt
BuildDrawingRules vehicle light _vehicle_light
BuildDrawingRules vehicle dark _vehicle_dark
#BuildDrawingRules vehicle light _vehicle_light
#BuildDrawingRules vehicle dark _vehicle_dark
# In designer mode we use drules_proto_design file instead of standard ones
cp $OMIM_PATH/data/drules_proto_default_light.bin $OMIM_PATH/data/drules_proto_default_design.bin
#cp $OMIM_PATH/data/drules_proto_default_light.bin $OMIM_PATH/data/drules_proto_default_design.bin
echo "Exporting transit colors..."
python3 "$OMIM_PATH/tools/python/transit/transit_colors_export.py" \
"$DATA_PATH/colors.txt" > /dev/null
#echo "Exporting transit colors..."
#python3 "$OMIM_PATH/tools/python/transit/transit_colors_export.py" \
# "$DATA_PATH/colors.txt" > /dev/null
echo "Merging default and vehicle styles..."
python3 "$OMIM_PATH/tools/python/stylesheet/drules_merge.py" \
"$DATA_PATH/drules_proto_default_light.bin" "$DATA_PATH/drules_proto_vehicle_light.bin" \
"$DATA_PATH/drules_proto.bin.tmp" > /dev/null
echo "Merging in outdoors style..."
python3 "$OMIM_PATH/tools/python/stylesheet/drules_merge.py" \
"$DATA_PATH/drules_proto.bin.tmp" "$DATA_PATH/drules_proto_outdoors_light.bin" \
"$DATA_PATH/drules_proto.bin" "$DATA_PATH/drules_proto.txt" > /dev/null
rm "$DATA_PATH/drules_proto.bin.tmp" || true
#echo "Merging default and vehicle styles..."
#python3 "$OMIM_PATH/tools/python/stylesheet/drules_merge.py" \
# "$DATA_PATH/drules_proto_default_light.bin" "$DATA_PATH/drules_proto_vehicle_light.bin" \
# "$DATA_PATH/drules_proto.bin.tmp" > /dev/null
#echo "Merging in outdoors style..."
#python3 "$OMIM_PATH/tools/python/stylesheet/drules_merge.py" \
# "$DATA_PATH/drules_proto.bin.tmp" "$DATA_PATH/drules_proto_outdoors_light.bin" \
# "$DATA_PATH/drules_proto.bin" "$DATA_PATH/drules_proto.txt" > /dev/null
#rm "$DATA_PATH/drules_proto.bin.tmp" || true