Add st_isvalid check to imposm3 generalized tables

Fix #386
This commit is contained in:
jirik
2018-01-31 16:51:46 +01:00
committed by Jiri Kozel
parent c2c5fc8f32
commit 5c67f2769e
11 changed files with 15 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ generalized_tables:
# etldoc: imposm3 -> osm_building_polygon_gen1
building_polygon_gen1:
source: building_polygon
sql_filter: area>power(ZRES12,2)
sql_filter: area>power(ZRES12,2) AND ST_IsValid(geometry)
tolerance: ZRES14
tables: