add etldoc to layer_place

This commit is contained in:
ImreSamu
2016-11-10 03:09:43 +01:00
parent 5580f42458
commit 7d7ca7f47a
9 changed files with 70 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-- etldoc: layer_country -> layer_place
-- etldoc: layer_state -> layer_place
-- etldoc: layer_city -> layer_place
CREATE OR REPLACE FUNCTION layer_place(bbox geometry, zoom_level int, pixel_width numeric)
RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, class text, "rank" int) AS $$
SELECT osm_id, geometry, name, name_en, 'country' AS class, "rank" FROM layer_country(bbox, zoom_level)