[GeoJSON] GeoJSON "Interior Ring" and "Hole" Definitions

Tom MacWright tom at macwright.org
Tue Nov 12 11:10:27 PST 2013


> Is there a reference implementation for generation and/or consumption of
GeoJSON objects. Alternatively, is there a test suite of some sort
involving GeoJSON objects?

https://github.com/mapbox/geojsonhint covers the entire standard as far as
I can read it - of course punting in cases like validating that CRS strings
actually exist.

For the rest of the questions, I'll let the experts chip in.


On Tue, Nov 12, 2013 at 12:54 PM, David Ellis <ellis at uber.com> wrote:

> Hello all,
>
> Just joined this mailing list looking for some clarification on the spec.
>
> The GeoJSON specification document contains no definition of what it means
> by the terms "Interior Ring" and "Hole".
>
> I'm part of an on-going debate as my company tries to implement true
> GeoJSON support in the Node.js in-n-out library<https://github.com/uber/in-n-out/pull/7/files#diff-068591b5cb8abf665e6104587d821d57R13>
> .
>
> Some questions on the spec:
>
>
>    1. Is there a reference implementation for generation and/or
>    consumption of GeoJSON objects. Alternatively, is there a test suite of
>    some sort involving GeoJSON objects?
>    2. What are "Interior Rings" and what are "Holes"? Are they synonyms?
>    3. What happens if interior rings overlap? If holes overlap? If an
>    interior ring overlaps a hole? What happens if they partially intersect?
>    (See image in the link above.)
>    4. Finally, the specification does not define what a GeoJSON
>    interpreter should do with malformed and/or extended GeoJSON objects. Is
>    this truly implementation specific? (This would seem to limit the ability
>    for interop between GeoJSON producers and consumers written by different
>    software teams.)
>
> Regards,
>
> David Ellis
>
> Uber Technologies, Inc
>
> _______________________________________________
> GeoJSON mailing list
> GeoJSON at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geojson.org/pipermail/geojson-geojson.org/attachments/20131112/723bdc23/attachment-0005.htm>


More information about the GeoJSON mailing list