Permalink
Browse files

Remove the catchall on road-text

This used to pick up lots of non-rendered features, as well as a few others
that will need to be re-instated elsewhere (e.g. admin boundaries).
  • Loading branch information...
1 parent c42b5ff commit 286d0981675b9dcf795c2ceef9524fbed73f75ac @gravitystorm committed Feb 21, 2014
Showing with 1 addition and 14 deletions.
  1. +1 −1 project.mml
  2. +0 −13 roads.mss
View
@@ -1480,7 +1480,7 @@
],
"Datasource": {
"type": "postgis",
- "table": " (select way,highway,name\n from planet_osm_line\n where waterway IS NULL\n and leisure IS NULL\n and landuse IS NULL\n and name is not null\n ) as roads_text_name",
+ "table": " (select way, highway, name\n from planet_osm_line\n where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','tertiary_link','residential','unclassified','road','service','pedestrian','raceway','living_street', 'construction') \n and name is not null\n ) as roads_text_name",
"extent": "-20037508,-19929239,20037508,19929239",
"key_field": "",
"geometry_field": "way",
View
@@ -2390,19 +2390,6 @@
text-spacing: 400;
}
}
- /* Other things, not just roads */
- [zoom >= 15] {
- text-name: "[name]";
- text-size: 9;
- text-fill: #000;
- text-clip: false;
- text-placement: line;
- text-face-name: @book-fonts;
- text-halo-radius: 1;
- }
- [zoom >= 17] {
- text-size: 11;
- }
}
.directions {

0 comments on commit 286d098

Please sign in to comment.