Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions buildings.map
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ LAYER
MINFEATURESIZE AUTO
SIZE _building_lbl_size
COLOR _building_lbl_clr
#if _label_outline_buildings == 1
OUTLINECOLOR _building_lbl_ol_clr
OUTLINEWIDTH _building_lbl_ol_width
#endif
WRAP ' '
MAXLENGTH 6
ALIGN CENTER
Expand Down
30 changes: 30 additions & 0 deletions generate_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
12: '"geometry from (select geometry,osm_id ,OSM_NAME_COLUMN as name,type from OSM_SCHEMA.OSM_PREFIX_waterareas) as foo using unique osm_id using srid=OSM_SRID"'
},
'display_waterarea_lbl' : {0:0, 6:1},
'display_waterarea_lbl_ol': 1,
'display_waterarea_outline': {0:0, 14:1},
'waterarea_opacity': 100,
'waterarea_clr': '"#B3C6D4"',
Expand Down Expand Up @@ -124,6 +125,7 @@
18:30
},
'display_canal_lbl' : {0:0, 10:1},
'display_canal_lbl_ol': 1,
'canal_clr': '"#B3C6D4"',
'canal_font': "sc",
'canal_lbl_size': 8,
Expand All @@ -138,6 +140,7 @@
14:2
},
'display_stream_lbl' : {0:0, 12:1},
'display_stream_lbl_ol': 1,
'stream_clr': '"#B3C6D4"',
'stream_font': "sc",
'stream_lbl_size': 8,
Expand All @@ -159,6 +162,7 @@
18:7
},
'display_river_lbl' : {0:0, 6:1},
'display_river_lbl_ol': 1,
'river_clr': '"#B3C6D4"',
'river_font': "sc",
'river_lbl_size': {0:8,15:9,17:10},
Expand Down Expand Up @@ -197,6 +201,7 @@
'industrial_ol_clr': '"#d1d1d1"',
'industrial_ol_width': 0,
'display_industrial_lbl' : {0:0, 11:1},
'display_industrial_lbl_ol': 1,
'industrial_font': "sc",
'industrial_lbl_size': 8,
'industrial_lbl_clr': '0 0 0',
Expand All @@ -208,6 +213,7 @@
'residential_ol_clr': '"#E3DED4"',
'residential_ol_width': 0,
'display_residential_lbl' : {0:0, 12:1},
'display_residential_lbl_ol': 1,
'residential_font': "sc",
'residential_lbl_size': 8,
'residential_lbl_clr': '0 0 0',
Expand All @@ -217,6 +223,7 @@
'display_park': 1,
'park_clr': '"#DCDCB4"',
'display_park_lbl' : {0:0, 11:1},
'display_park_lbl_ol': 1,
'park_font': "sc",
'park_lbl_size': 8,
'park_lbl_clr': '0 0 0',
Expand All @@ -226,6 +233,7 @@
'display_hospital': 1,
'hospital_clr': '"#E6C8C3"',
'display_hospital_lbl' : {0:0, 12:1},
'display_hospital_lbl_ol': 1,
'hospital_font': "sc",
'hospital_lbl_size': 8,
'hospital_lbl_clr': '0 0 0',
Expand All @@ -235,6 +243,7 @@
'display_education': 1,
'education_clr': '"#DED1AB"',
'display_education_lbl' : {0:0, 12:1},
'display_education_lbl_ol': 1,
'education_font': "sc",
'education_lbl_size': 8,
'education_lbl_clr': '0 0 0',
Expand All @@ -244,6 +253,7 @@
'display_sports': 1,
'sports_clr': '"#DED1AB"',
'display_sports_lbl' : {0:0, 12:1},
'display_sports_lbl_ol': 1,
'sports_font': "sc",
'sports_lbl_size': 8,
'sports_lbl_clr': '0 0 0',
Expand All @@ -253,6 +263,7 @@
'display_cemetery': 1,
'cemetery_clr': '"#d1d1d1"',
'display_cemetery_lbl' : {0:0, 12:1},
'display_cemetery_lbl_ol': 1,
'cemetery_font': "sc",
'cemetery_lbl_size': 8,
'cemetery_lbl_clr': '0 0 0',
Expand All @@ -262,6 +273,7 @@
'display_forest': 1,
'forest_clr': '"#C2D1B2"',
'display_forest_lbl' : {0:0, 12:1},
'display_forest_lbl_ol': 1,
'forest_font': "sc",
'forest_lbl_size': 8,
'forest_lbl_clr': '0 0 0',
Expand All @@ -272,6 +284,7 @@
'transport_opacity': 100,
'transport_clr': '200 200 200',
'display_transport_lbl' : {0:0, 12:1},
'display_transport_lbl_ol': 1,
'transport_font': "sc",
'transport_lbl_size': 8,
'transport_lbl_clr': '0 0 0',
Expand Down Expand Up @@ -419,6 +432,7 @@
0:0,
13:1
},
'label_outline_primaries': 1,
'primary_font': "sc",
'primary_lbl_size': {
0:0,
Expand Down Expand Up @@ -461,6 +475,7 @@
0:0,
13:1
},
'label_outline_secondaries': 1,
'secondary_font': "sc",
'secondary_lbl_size': {
0:0,
Expand Down Expand Up @@ -498,6 +513,7 @@
0:0,
15:1
},
'label_outline_tertiaries': 1,
'tertiary_font': "sc",
'tertiary_lbl_size': {
0:0,
Expand Down Expand Up @@ -533,6 +549,7 @@
0:0,
15:1
},
'label_outline_other_roads': 1,
'other_font': "sc",
'other_lbl_size': {
0:0,
Expand Down Expand Up @@ -565,7 +582,9 @@
0:0,
15:1
},
'label_outline_pedestrian': 1,
'display_pedestrian_lbl' : {0:0, 15:1},
'display_pedestrian_lbl_ol': 1,
'pedestrian_font': "sc",
'pedestrian_lbl_size': {
0:0,
Expand Down Expand Up @@ -600,6 +619,7 @@
0:0,
15:1
},
'label_outline_track': 1,
'track_font': "sc",
'track_lbl_size': {
0:0,
Expand Down Expand Up @@ -813,6 +833,7 @@
0: 0,
15: 1
},
'label_outline_buildings': 1,


####### aeroways #######
Expand Down Expand Up @@ -861,6 +882,7 @@
},
'places_opacity': 100,
'display_capitals': 0,
'display_capitals_outline': 1,
'display_capital_symbol': {
0:1,
10:0
Expand Down Expand Up @@ -888,6 +910,7 @@
0:1,
3:0
},
'display_continents_outline': 1,
'continent_lbl_size': 8,
'continent_lbl_clr': "100 100 100",
'continent_lbl_ol_width': "1",
Expand All @@ -899,6 +922,7 @@
2:1,
8:0
},
'display_countries_outline': 1,
'country_lbl_size': 8,
'country_lbl_clr': "100 100 100",
'country_lbl_ol_width': 2,
Expand All @@ -910,6 +934,7 @@
3:1,
16:0
},
'display_cities_outline': 1,
'display_city_symbol': {
0:1,
10:0
Expand Down Expand Up @@ -947,6 +972,7 @@
0:0,
8:1
},
'display_towns_outline': 1,
'display_town_symbol': {
0:1,
12:0
Expand Down Expand Up @@ -977,6 +1003,7 @@
0:0,
13:1
},
'display_suburbs_outline': 1,
'suburb_font': "sc",
'suburb_lbl_clr': {
0:'"#444444"',
Expand All @@ -998,6 +1025,7 @@
0:0,
11:1
},
'display_villages_outline': 1,
'display_village_symbol': {
0:1,
14:0
Expand Down Expand Up @@ -1027,6 +1055,7 @@
0:0,
13:1
},
'display_hamlets_outline': 1,
'hamlet_font': "sc",
'hamlet_lbl_clr': {
0:'"#444444"',
Expand All @@ -1048,6 +1077,7 @@
0:0,
13:1
},
'display_localities_outline': 1,
'locality_font': "sc",
'locality_lbl_clr': {
0:'"#444444"',
Expand Down
12 changes: 12 additions & 0 deletions highways.map
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ LAYER
REPEATDISTANCE 400
ANGLE FOLLOW
COLOR _other_lbl_clr
#if _label_outline_other_roads == 1
OUTLINECOLOR _other_lbl_ol_clr
OUTLINEWIDTH _other_lbl_ol_width
#endif
ENCODING "UTF-8"
MINFEATURESIZE AUTO
BUFFER 3
Expand Down Expand Up @@ -145,8 +147,10 @@ LAYER
REPEATDISTANCE 400
ANGLE FOLLOW
COLOR _track_lbl_clr
#if _label_outline_track == 1
OUTLINECOLOR _track_lbl_ol_clr
OUTLINEWIDTH _track_lbl_ol_width
#endif
MINFEATURESIZE AUTO
BUFFER 3
ENCODING "UTF-8"
Expand Down Expand Up @@ -191,8 +195,10 @@ LAYER
REPEATDISTANCE 400
ANGLE FOLLOW
COLOR _tertiary_lbl_clr
#if _label_outline_tertiaries == 1
OUTLINECOLOR _tertiary_lbl_ol_clr
OUTLINEWIDTH _tertiary_lbl_ol_width
#endif
MINFEATURESIZE AUTO
BUFFER 3
ENCODING "UTF-8"
Expand Down Expand Up @@ -237,8 +243,10 @@ LAYER
REPEATDISTANCE 400
ANGLE FOLLOW
COLOR _secondary_lbl_clr
#if _label_outline_secondaries == 1
OUTLINECOLOR _secondary_lbl_ol_clr
OUTLINEWIDTH _secondary_lbl_ol_width
#endif
MINFEATURESIZE AUTO
BUFFER 3
ENCODING "UTF-8"
Expand Down Expand Up @@ -355,8 +363,10 @@ LAYER
REPEATDISTANCE 400
MINFEATURESIZE AUTO
COLOR _primary_lbl_clr
#if _label_outline_primaries == 1
OUTLINECOLOR _primary_lbl_ol_clr
OUTLINEWIDTH _primary_lbl_ol_width
#endif
ANGLE FOLLOW
BUFFER 3
ENCODING "UTF-8"
Expand Down Expand Up @@ -400,8 +410,10 @@ LAYER
REPEATDISTANCE 400
ANGLE FOLLOW
COLOR _pedestrian_lbl_clr
#if _label_outline_pedestrian == 1
OUTLINECOLOR _pedestrian_lbl_ol_clr
OUTLINEWIDTH _pedestrian_lbl_ol_width
#endif
MINFEATURESIZE AUTO
BUFFER 3
ENCODING "UTF-8"
Expand Down
Loading