opendatalab-de / geojson-jackson

GeoJson POJOs for Jackson - serialize and deserialize objects with ease
http://blog.opendatalab.de
Apache License 2.0
264 stars 94 forks source link

conversion to JTS geometry #33

Closed abrin closed 7 years ago

abrin commented 7 years ago

is there a straightforward way to convert between a JTS shape and your GeoJSON shape back and forth?

apologies if I missed it.

grundid commented 7 years ago

sorry, I'm not familiar with JTS shape.

abrin commented 7 years ago

JTS shapes (Java Topology Suite) https://sourceforge.net/projects/jts-topo-suite/ is the backbone of how SOLR (Lucene), HibernateSpatial, and Geotools represent Spatial objects. So, having a direct transform would facilitate ease of moving between a GeoJSON Point, Polygon, etc. and a more standard java representation of the object.