kopia lustrzana https://github.com/openmaptiles/openmaptiles
Show railways one level sooner (#270)
* Adjust st_length filter based on zres in transportation layer Probably related to #258 * Adjust building tolerance * Show railways one level soonerpull/278/head
rodzic
6339fbb8f0
commit
881e1c0881
|
@ -117,6 +117,15 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int
|
|||
)
|
||||
UNION ALL
|
||||
|
||||
-- etldoc: osm_railway_linestring_gen3 -> layer_transportation:z10
|
||||
SELECT
|
||||
osm_id, geometry, NULL AS highway, railway,
|
||||
service_value(service) AS service,
|
||||
is_bridge, is_tunnel, is_ford, is_ramp, is_oneway, z_order
|
||||
FROM osm_railway_linestring_gen3
|
||||
WHERE zoom_level = 10 AND (railway='rail' AND service = '')
|
||||
UNION ALL
|
||||
|
||||
-- etldoc: osm_railway_linestring_gen2 -> layer_transportation:z11
|
||||
SELECT
|
||||
osm_id, geometry, NULL AS highway, railway,
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
generalized_tables:
|
||||
# etldoc: imposm3 -> osm_railway_linestring_gen3
|
||||
railway_linestring_gen3:
|
||||
source: railway_linestring_gen2
|
||||
tolerance: ZRES11
|
||||
|
||||
# etldoc: imposm3 -> osm_railway_linestring_gen2
|
||||
railway_linestring_gen2:
|
||||
source: railway_linestring_gen1
|
||||
|
|
Ładowanie…
Reference in New Issue