kopia lustrzana https://github.com/openmaptiles/openmaptiles
Merge pull request #107 from openmaptiles/drop_tables
Drop tables to force redo on updatepull/111/head
commit
60a1727351
|
@ -1,3 +1,9 @@
|
|||
|
||||
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
|
||||
-- to allow for nice label rendering
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
|
||||
DROP TABLE IF EXISTS osm_water_lakeline CASCADE;
|
||||
|
||||
-- etldoc: osm_water_polygon -> osm_water_lakeline
|
||||
-- etldoc: lake_centerline -> osm_water_lakeline
|
||||
CREATE TABLE IF NOT EXISTS osm_water_lakeline AS (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
|
||||
DROP TABLE IF EXISTS osm_water_point CASCADE;
|
||||
|
||||
-- etldoc: osm_water_polygon -> osm_water_point
|
||||
-- etldoc: lake_centerline -> osm_water_point
|
||||
CREATE TABLE IF NOT EXISTS osm_water_point AS (
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
|
||||
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)
|
||||
-- and also makes it possible to filter out too short rivers
|
||||
|
|
Ładowanie…
Reference in New Issue