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

@@ -33,7 +33,7 @@ generalized_tables:
# etldoc: imposm3 -> osm_water_polygon_gen1
water_polygon_gen1:
source: water_polygon
sql_filter: area>power(ZRES10,2)
sql_filter: area>power(ZRES10,2) AND ST_IsValid(geometry)
tolerance: ZRES12
tables: