geoarrow-c icon indicating copy to clipboard operation
geoarrow-c copied to clipboard

POINT EMPTY from WKB is rendered as POINT (nan nan)

Open paleolimbot opened this issue 3 months ago • 2 comments

This is confusing!

paleolimbot avatar Aug 27 '25 18:08 paleolimbot

Found this on the geoarrow website FYI: src. Been there since the first draft of the geoarrow spec. Maybe there is an intentional reason for this.

Empty geometries
Except for Points, empty geometries can be faithfully represented as an empty outer list.

Empty points can be represented as POINT (NaN NaN).

petern48 avatar Aug 28 '25 05:08 petern48

Empty points are stored in GeoArrow as Point(NaN NaN). I think this issue is just about how they render in display output, where that would be clearer to display as Point EMPTY

kylebarron avatar Aug 28 '25 14:08 kylebarron