#1140 closed defect (fixed)

GeoJSON writer is unable to handle linear rings

Reported by: caspervdw Owned by: geos-devel@…
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.

Change History (1)

comment:1 by pramsey, 14 months ago

Resolution: fixed
Status: newclosed

Done at fc5ef68f5 in main, 3.10.

Note: See TracTickets for help on using tickets.