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

@@ -12,7 +12,7 @@ generalized_tables:
# etldoc: imposm3 -> osm_waterway_linestring_gen1
waterway_linestring_gen1:
source: waterway_linestring
sql_filter: waterway IN ('river')
sql_filter: waterway IN ('river') AND ST_IsValid(geometry)
tolerance: ZRES11
tunnel_field: &tunnel