Opened 7 months ago

Closed 7 months ago

#1139 closed defect (fixed)

GeoJSON writer crashes on empty points

Reported by: caspervdw Owned by: geos-devel@…
Priority: major Milestone: 3.10.1
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description

When writing an empty point (or a collection containing one), the GeoJSON writer crashes. Yes, empty points. Again.

Change History (4)

comment:1 by caspervdw, 7 months ago

Related ticket in GDAL: https://trac.osgeo.org/gdal/ticket/6349

GDAL writes “null” for empty points. Not sure what they do in collections.

comment:2 by Paul Ramsey <pramsey@…>, 7 months ago

In 9194c25/git:

Fix crash in GeoJSONWriter in the case of empty points. Add some tests around empty geometries in general. References #1139

comment:3 by Paul Ramsey <pramsey@…>, 7 months ago

In a51060c/git:

Fix crash in GeoJSONWriter in the case of empty points. Add some tests around empty geometries in general. References #1139

comment:4 by pramsey, 7 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.