Implement shipway labels (#1179)
Fixes #403 This PR adds labels to shipway linestrings in the `transportation_name` level, up through zoom 12. 
This commit is contained in:
committed by
GitHub
parent
6ef138635d
commit
a93b708327
@@ -110,7 +110,7 @@ FROM (
|
||||
FROM osm_transportation_name_linestring
|
||||
WHERE zoom_level = 12
|
||||
AND LineLabel(zoom_level, COALESCE(name, ref), geometry)
|
||||
AND highway_class(highway, '', subclass) NOT IN ('minor', 'track', 'path')
|
||||
AND (highway_class(highway, '', subclass) NOT IN ('minor', 'track', 'path') OR highway='shipway')
|
||||
AND NOT highway_is_link(highway)
|
||||
UNION ALL
|
||||
|
||||
@@ -133,7 +133,7 @@ FROM (
|
||||
FROM osm_transportation_name_linestring
|
||||
WHERE zoom_level = 13
|
||||
AND LineLabel(zoom_level, COALESCE(name, ref), geometry)
|
||||
AND highway_class(highway, '', subclass) NOT IN ('track', 'path')
|
||||
AND (highway_class(highway, '', subclass) NOT IN ('track', 'path') OR highway='shipway')
|
||||
UNION ALL
|
||||
|
||||
-- etldoc: osm_transportation_name_linestring -> layer_transportation_name:z14_
|
||||
|
||||
Reference in New Issue
Block a user