WKT parser problem
geoHeil opened this issue · 3 comments
geoHeil commented
the WKT parser fails with Caused by: java.lang.RuntimeException: Extra(... 48.3118488844536))), [traced - not evaluated])
however, regular JTS parser seems to work fine.
harsha2010 commented
can you attach an example where the parser fails?
geoHeil commented
I have contacted you with an example
harsha2010 commented
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