azavea / osmesa

OSMesa is an OpenStreetMap processing stack based on GeoTrellis and Apache Spark
Apache License 2.0
80 stars 26 forks source link

`constructGeometries` should produce a geom column with type `Geometry` #114

Closed jpolchlo closed 5 years ago

jpolchlo commented 5 years ago

Due to the order of joining in ProcessOSM.constructGeometries, the resulting frame has a geom column of type point. Since JTS frames only provides functions to make geometries more specific and reversing the join order is not allowed (for some reason), I've provided a local udf to do the conversion.

mojodna commented 5 years ago

A UDF matching GeoMesa's conventions was added as part of https://geomesa.atlassian.net/browse/GEOMESA-2454 (same/similar issue).