WIP: [styles] Railway track numbers #5232

Draft
map-per wants to merge 2 commits from map-per/track_number into master
14 changed files with 96 additions and 3 deletions

View file

@ -811,6 +811,7 @@ world +
{}
public_transport +
platform -
stop_position -
{}
railway +
abandoned +

View file

@ -76,6 +76,7 @@
2828327
2836760
2894874
3105945
3155515
3156522
3158064

Binary file not shown.

View file

@ -57638,6 +57638,33 @@ cont {
}
}
}
cont {
name: "public_transport-stop_position"
element {
scale: 18
caption {
primary {
height: 12
color: 3105945
stroke_color: 452984831
text: "ref"
}
priority: 15592
}
}
element {
scale: 19
caption {
primary {
height: 12
color: 3105945
stroke_color: 452984831
text: "ref"
}
priority: 15592
}
}
}
cont {
name: "railway-abandoned"
element {

Binary file not shown.

View file

@ -57140,6 +57140,33 @@ cont {
}
}
}
cont {
name: "public_transport-stop_position"
element {
scale: 18
caption {
primary {
height: 12
color: 3105945
stroke_color: 452984831
text: "ref"
}
priority: 15592
}
}
element {
scale: 19
caption {
primary {
height: 12
color: 3105945
stroke_color: 452984831
text: "ref"
}
priority: 15592
}
}
}
cont {
name: "railway-abandoned"
element {

Binary file not shown.

View file

@ -57225,6 +57225,33 @@ cont {
}
}
}
cont {
name: "public_transport-stop_position"
element {
scale: 18
caption {
primary {
height: 12
color: 3105945
stroke_color: 437326080
text: "ref"
}
priority: 15592
}
}
element {
scale: 19
caption {
primary {
height: 12
color: 3105945
stroke_color: 437326080
text: "ref"
}
priority: 15592
}
}
}
cont {
name: "railway-abandoned"
element {

View file

@ -447,7 +447,7 @@ deprecated|deprecated;446;x
railway|yard;447;
deprecated|deprecated;448;x
natural|meadow;449;landuse|meadow
deprecated|deprecated;450;x
public_transport|stop_position;[public_transport=stop_position];;ref;name;450;
railway|razed;451;
highway|footway|demanding_mountain_hiking;[highway=footway][sac_scale=demanding_mountain_hiking];;name;int_name;452;
deprecated|deprecated;453;x

Can't render this file because it has a wrong number of fields in line 11.

View file

@ -156,7 +156,8 @@ area|z18-[craft],
node[amenity=bbq],
area[amenity=bbq],
node[amenity=toilets],
area[amenity=toilets]
area[amenity=toilets],
node[public_transport=stop_position]
{z-index: 2400;}
/* Bigger than leisure=playground, sports_centre, pitch */
@ -721,6 +722,9 @@ node|z14-[railway=station][transport=subway]::int_name,
node|z17-[railway=subway_entrance]::int_name,
{text: int_name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 0.6;text-halo-color: @label_halo_light;}
node|z18-[public_transport=stop_position],
{text: ref;text-color: @train_stop_position;text-halo-radius: 1;text-halo-opacity: 0.9;text-halo-color: @label_halo_light;}
node|z17-[railway=tram_stop],
area|z17-[railway=tram_stop]
{text: name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
@ -794,6 +798,9 @@ node|z17-[railway=station]::int_name,
node|z17-[railway=halt]::int_name,
{text-offset: 1;font-size: 12;text-halo-opacity: 0.9;}
node|z18-[public_transport=stop_position],
{text-offset: 0;font-size: 12;}
/* 3.2 Subway Station */
node|z13[railway=station][transport=subway]

View file

@ -148,6 +148,7 @@
@powerline: #969586;
@tram: #7A7A7A;
@ferry: #4499Bb;
@train_stop_position: #2F6499;
/* 6.LABELS COLORS */
/* 6.1 Main labels */

View file

@ -148,6 +148,7 @@
@powerline: #333333;
@tram: #5C5C51;
@ferry: #2A4541;
@train_stop_position: #2F6499;
/* 6.LABELS COLORS */
/* 6.1 Main labels */

View file

@ -447,7 +447,7 @@ mapswithme
*railway|yard
mapswithme
landuse|meadow
mapswithme
*public_transport|stop_position
*railway|razed
*highway|footway|demanding_mountain_hiking
mapswithme

View file

@ -811,6 +811,7 @@ world 00000000000000000000 +
{}
public_transport 00000000000000000000 +
platform 00000000000000000000 -
stop_position 00000000000000000000 -
{}
railway 00000000000000000000 +
abandoned 00000000000000001111 +