[GeoJSON] Status of empty geometry

Sean Gillies sean.gillies at gmail.com
Tue Oct 1 06:38:00 PDT 2013


Hi Mateusz,

No, there are no typed empties as in WKT.

POINT(EMPTY), GEOMETRYCOLLECTION(POINT(EMPTY), POINT(EMPTY)), etc are all
represented in GeoJSON as {"geometry": null}.


On Tue, Oct 1, 2013 at 7:18 AM, Mateusz Loskot <mateusz at loskot.net> wrote:

> On 1 October 2013 13:51, Tom MacWright <tom at macwright.org> wrote:
> > Hey Mateusz,
> >
> > I always assumed that the provision for null geometries covered this:
> >
> >> A feature object must have a member with the name "geometry". The value
> of
> >> the geometry member is a geometry object as defined above or a JSON null
> >> value.
> >
> > http://geojson.org/geojson-spec.html#feature-objects
>
> Tom,
>
> I owe a clarification. I'm concerned about emptiness of individual
> geometry objects,
> standalone and part of multi geometries.
>
> IOW, is there an equivalent to EMPTY from OGC WKT?
>
> Best regards,
> --
> Mateusz  Loskot, http://mateusz.loskot.net
> _______________________________________________
> GeoJSON mailing list
> GeoJSON at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>



-- 
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geojson.org/pipermail/geojson-geojson.org/attachments/20131001/2de51fce/attachment.htm>


More information about the GeoJSON mailing list