diff --git a/test/imposm_system_test.py b/test/imposm_system_test.py index 8a8c48b..e10ee5a 100644 --- a/test/imposm_system_test.py +++ b/test/imposm_system_test.py @@ -434,6 +434,11 @@ def test_generalized_linestring_is_valid(): assert road['geometry'].is_valid, road['geometry'].wkt assert road['geometry'].length > 1000000 +@unittest.skip("not implemented") +def test_relation_with_gap(): + """Multipolygon with gap (overlapping but different endpoints) gets closed""" + park = query_row(db_conf, 'osm_landusages', -7301) + assert park['geometry'].is_valid, park ####################################################################### def test_update(): diff --git a/test/test.osm b/test/test.osm index 48d2e06..ac8ed2b 100644 --- a/test/test.osm +++ b/test/test.osm @@ -341,6 +341,30 @@ + + + + + + + + + + + + + + + + + + + + + + + +