add simple poi_polygon table ; fix #46

This commit is contained in:
ImreSamu
2016-11-27 14:04:50 +01:00
parent e5b9921593
commit b173b2acd2
4 changed files with 307 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
-- etldoc: osm_poi_polygon -> osm_poi_polygon
UPDATE osm_poi_polygon SET geometry=topoint(geometry)
WHERE ST_GeometryType(geometry) <> 'ST_Point';
ANALYZE osm_poi_polygon;