Closed geoHeil closed 6 years ago
can you attach an example where the parser fails?
I have contacted you with an example
spark.read.parquet("...") .filter(! ($"indoor_geo" contains "MULTIPOLYGON")) .withColumn("polygon", wkt($"indoor_geo")("polygon")).collect()
Looks like this file has a mix of polygon and multi polygon. We don't yet support multi polygons. Thats why this is failing I think
the WKT parser fails with
Caused by: java.lang.RuntimeException: Extra(... 48.3118488844536))), [traced - not evaluated])
however, regular JTS parser seems to work fine.