Closed mojodna closed 2 years ago
Redirected from a feature request for GeoTrellis - we'd be interested in exposing this functionality through GeoTrellis as we do with WKT
JavaScript implementations: https://github.com/cschwarz/wkx and https://github.com/TWKB/twkb.js
@mojodna @lossyrob sounds like a good idea! Looks like we'd just need to find someone to sort out a Java implementation!
@mojodna @lossyrob, @jodygarnett and I were chatting today, and we were discussing this as a project for the FOSS4G NA 2018 code sprint in St. Louis. Thoughts?
I see there is a branch here, wondering what its status is? https://github.com/locationtech/jts/commits/twkb
@aaime I ran out of time to push it over the edge.
As a note, @elahrvivaz implemented TWKB in Scala for GeoMesa. As you move things forward with TWKB, we should get him to weigh in and review!
There's an implementation in geowave: https://github.com/locationtech/geowave/blob/master/core/geotime/src/main/java/org/locationtech/geowave/core/geotime/util/TWKBReader.java Could it be reported in JTS?
There's an implementation in geowave: https://github.com/locationtech/geowave/blob/master/core/geotime/src/main/java/org/locationtech/geowave/core/geotime/util/TWKBReader.java Could it be reported in JTS?
Generally, yes. I do believe that the ASL 2.0 is compatible with the licenses for JTS. @jodygarnett may be able to make any notes about that.
That said, I'd feel best about it if @rfecher or @jdgarrett contributed the code. Also, a PR ought to have the unit tests with it, etc.
I can see twb included in release here https://locationtech.github.io/jts/javadoc-io/index.html
From https://github.com/TWKB/Specification/blob/master/twkb.md:
Implemented in PostGIS as https://postgis.net/docs/ST_AsTWKB.html (et al) and written up by CARTO at https://carto.com/blog/smaller-faster/