Skip to content

Commit

Permalink
Move national park boundaries into admin, and rename layer for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitystorm committed May 10, 2013
1 parent 9228139 commit a744495
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
27 changes: 27 additions & 0 deletions admin.mss
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,30 @@
</Rule>
</Style>
*/

#national-park-boundaries {
[zoom >= 7] {
[zoom < 13] {
polygon-opacity: 0.05;
polygon-fill: green;
}
line-color: green;
line-width: 1.5;
line-dasharray: 4,2;
line-opacity: 0.15;
[zoom >= 10] {
line-width: 3;
line-dasharray: 6,2;
}
}
[way_area > 200000000][zoom >= 8][zoom < 12],
[zoom >= 11][zoom < 12] {
text-name: "[name]";
text-size: 8;
text-fill: #9c9;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-wrap-width: 14;
[zoom >= 11] { text-size: 11; }
}
}
26 changes: 0 additions & 26 deletions other.mss
Original file line number Diff line number Diff line change
Expand Up @@ -69,32 +69,6 @@
}
}

#misc-boundaries {
[zoom >= 7] {
[zoom < 13] {
polygon-opacity: 0.05;
polygon-fill: green;
}
line-color: green;
line-width: 1.5;
line-dasharray: 4,2;
line-opacity: 0.15;
[zoom >= 10] {
line-width: 3;
line-dasharray: 6,2;
}
}
[way_area > 200000000][zoom >= 8][zoom < 12],
[zoom >= 11][zoom < 12] {
text-name: "[name]";
text-size: 8;
text-fill: #9c9;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-wrap-width: 14;
[zoom >= 11] { text-size: 11; }
}
}

#theme-park {
[tourism = 'theme_park'][zoom >= 13] {
Expand Down
4 changes: 2 additions & 2 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -2105,12 +2105,12 @@
"geometry_field": "way",
"dbname": "gis"
},
"id": "misc-boundaries",
"id": "national-park-boundaries",
"class": "",
"srs-name": "900913",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"advanced": {},
"name": "misc-boundaries"
"name": "national-park-boundaries"
},
{
"extent": [
Expand Down

0 comments on commit a744495

Please sign in to comment.