Drop tables to force redo on update
Reorder
This commit is contained in:
parent
4cddab00fb
commit
f98ade427e
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
-- etldoc: layer_transportation_name[shape=record fillcolor=lightpink, style="rounded,filled",
|
-- 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+" ] ;
|
-- etldoc: label="layer_transportation_name | <z8> z8 |<z9> z9 |<z10> z10 |<z11> z11 |<z12> z12|<z13> z13|<z14_> z14+" ] ;
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +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;
|
||||||
|
|
||||||
-- Instead of using relations to find out the road names we
|
-- Instead of using relations to find out the road names we
|
||||||
-- stitch together the touching ways with the same name
|
-- stitch together the touching ways with the same name
|
||||||
-- to allow for nice label rendering
|
-- to allow for nice label rendering
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
DROP TABLE IF EXISTS osm_water_lakeline;
|
||||||
|
|
||||||
-- etldoc: osm_water_polygon -> osm_water_lakeline
|
-- etldoc: osm_water_polygon -> osm_water_lakeline
|
||||||
-- etldoc: lake_centerline -> osm_water_lakeline
|
-- etldoc: lake_centerline -> osm_water_lakeline
|
||||||
CREATE TABLE IF NOT EXISTS osm_water_lakeline AS (
|
CREATE TABLE IF NOT EXISTS osm_water_lakeline AS (
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
DROP TABLE IF EXISTS osm_water_point;
|
||||||
|
|
||||||
-- etldoc: osm_water_polygon -> osm_water_point
|
-- etldoc: osm_water_polygon -> osm_water_point
|
||||||
-- etldoc: lake_centerline -> osm_water_point
|
-- etldoc: lake_centerline -> osm_water_point
|
||||||
CREATE TABLE IF NOT EXISTS osm_water_point AS (
|
CREATE TABLE IF NOT EXISTS osm_water_point AS (
|
||||||
|
|||||||
@ -1,3 +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;
|
||||||
|
|
||||||
-- We merge the waterways by name like the highways
|
-- We merge the waterways by name like the highways
|
||||||
-- This helps to drop not important rivers (since they do not have a name)
|
-- This helps to drop not important rivers (since they do not have a name)
|
||||||
-- and also makes it possible to filter out too short rivers
|
-- and also makes it possible to filter out too short rivers
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user