@@ -165,10 +165,10 @@ facts("GEOS operations") do
165165 test_pointonsurface (" LINESTRING(0 0, 0 0)" , " POINT (0 0)" )
166166
167167 g1 = parseWKT (
168- """ POLYGON(( \
169- 56.528666666700 25.2101666667, \
170- 56.529000000000 25.2105000000, \
171- 56.528833333300 25.2103333333, \
168+ """ POLYGON((
169+ 56.528666666700 25.2101666667,
170+ 56.529000000000 25.2105000000,
171+ 56.528833333300 25.2103333333,
172172 56.528666666700 25.2101666667))""" )
173173 @fact GeoInterface. coordinates (pointOnSurface (g1)) --> roughly ([56.528917 ,25.210417 ], 1e-5 )
174174
@@ -184,10 +184,10 @@ facts("GEOS operations") do
184184 g2 = simplify (g1, 43.2 )
185185 @fact isEmpty (g2) --> true
186186 g1 = parseWKT (
187- """ POLYGON(( \
188- 56.528666666700 25.2101666667, \
189- 56.529000000000 25.2105000000, \
190- 56.528833333300 25.2103333333, \
187+ """ POLYGON((
188+ 56.528666666700 25.2101666667,
189+ 56.529000000000 25.2105000000,
190+ 56.528833333300 25.2103333333,
191191 56.528666666700 25.2101666667))""" )
192192 equivalent_to_wkt (simplify (g1, 0.0 ), " POLYGON EMPTY" )
193193 @fact equals (g1, topologyPreserveSimplify (g1, 43.2 )) --> true
0 commit comments