Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add support for neighbourhood label rendering

commit 179fba3e6e6540fced674a37ac9457b846261345 1 parent c68b4bc
@skorasaurus skorasaurus authored
Showing with 4 additions and 1 deletion.
  1. +2 −0  imposm-mapping.py
  2. +2 −1  osm-bright/labels.mss
View
2  imposm-mapping.py
@@ -80,6 +80,7 @@ class Highway(LineStrings):
'village',
'hamlet',
'suburb',
+ 'neighbourhood',
'locality',
),
},
@@ -94,6 +95,7 @@ class Highway(LineStrings):
'village',
'hamlet',
'suburb',
+ 'neighbourhood',
'locality',
])),
('population', Integer()),
View
3  osm-bright/labels.mss
@@ -187,7 +187,8 @@
#place::small[type='village'][zoom>=13],
#place::small[type='suburb'][zoom>=13],
-#place::small[type='hamlet'][zoom>=13] {
+#place::small[type='hamlet'][zoom>=13],
+#place::small[type='neighbourhood'][zoom>=13] {
text-name:'[name]';
text-face-name:@sans;
text-placement:point;
Please sign in to comment.
Something went wrong with that request. Please try again.