Opened 2 years ago

Closed 2 years ago

#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:
Cc:

Description

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, 2 years ago

Resolution: fixed
Status: newclosed

Done at fc5ef68f5 in main, 3.10.

Note: See TracTickets for help on using tickets.