mirror of
https://github.com/bellingcat/osm-search.git
synced 2026-06-11 13:08:32 +03:00
Add database setup scripts
This commit is contained in:
6
database/views.sql
Normal file
6
database/views.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE VIEW planet_osm AS
|
||||
SELECT "osm_id", "tags", "way" FROM planet_osm_point
|
||||
UNION ALL
|
||||
SELECT "osm_id", "tags", "way" FROM planet_osm_line
|
||||
UNION ALL
|
||||
SELECT "osm_id", "tags", "way" FROM planet_osm_polygon;
|
||||
Reference in New Issue
Block a user