kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add cascade to drops
rodzic
f98ade427e
commit
8b30e5ddc2
|
@ -1,3 +1,4 @@
|
|||
|
||||
-- etldoc: layer_transportation_name[shape=record fillcolor=lightpink, style="rounded,filled",
|
||||
-- etldoc: label="layer_transportation_name | <z8> z8 |<z9> z9 |<z10> z10 |<z11> z11 |<z12> z12|<z13> z13|<z14_> z14+" ] ;
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
DROP TABLE IF EXISTS osm_transportation_name_linestring;
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring_gen1;
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring_gen2;
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring_gen3;
|
||||
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring CASCADE;
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring_gen1 CASCADE;
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring_gen2 CASCADE;
|
||||
DROP TABLE IF EXISTS osm_transportation_name_linestring_gen3 CASCADE;
|
||||
|
||||
-- Instead of using relations to find out the road names we
|
||||
-- stitch together the touching ways with the same name
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
DROP TABLE IF EXISTS osm_water_lakeline;
|
||||
|
||||
DROP TABLE IF EXISTS osm_water_lakeline CASCADE;
|
||||
|
||||
-- etldoc: osm_water_polygon -> osm_water_lakeline
|
||||
-- etldoc: lake_centerline -> osm_water_lakeline
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
DROP TABLE IF EXISTS osm_water_point;
|
||||
|
||||
DROP TABLE IF EXISTS osm_water_point CASCADE;
|
||||
|
||||
-- etldoc: osm_water_polygon -> osm_water_point
|
||||
-- etldoc: lake_centerline -> osm_water_point
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
DROP TABLE IF EXISTS osm_important_waterway_linestring;
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring_gen1;
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring_gen2;
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring_gen3;
|
||||
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring CASCADE;
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring_gen1 CASCADE;
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring_gen2 CASCADE;
|
||||
DROP TABLE IF EXISTS osm_important_waterway_linestring_gen3 CASCADE;
|
||||
|
||||
-- We merge the waterways by name like the highways
|
||||
-- This helps to drop not important rivers (since they do not have a name)
|
||||
|
|
Ładowanie…
Reference in New Issue