[geos-devel] [GEOS] #1140: GeoJSON writer is unable to handle linear rings

GEOS geos-trac at osgeo.org
Sat Oct 30 06:01:11 PDT 2021


#1140: GeoJSON writer is unable to handle linear rings
------------------------+--------------------------
 Reporter:  caspervdw   |      Owner:  geos-devel@…
     Type:  defect      |     Status:  new
 Priority:  minor       |  Milestone:  3.10.1
Component:  Default     |    Version:  3.9.0
 Severity:  Unassigned  |   Keywords:
------------------------+--------------------------
 Linearrings are currently serialised to “null” which is a bit unexpected.
 Indeed, a linearring is not in the GeoJSON spec.

 I suggest converting to LineString instead. This is also done in the WKB
 writer.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1140>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list