[GeoJSON] GeoJSON "Interior Ring" and "Hole" Definitions
jerry at legitimatesounding.com
Tue Nov 12 11:20:54 PST 2013
> On Nov 12, 2013, at 11:10 AM, Tom MacWright <tom at macwright.org> wrote:
> > 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.
>> Some questions on the spec:
>> 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?
>> What are "Interior Rings" and what are "Holes"? Are they synonyms?
>> 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.)
>> 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.)
>> David Ellis
>> Uber Technologies, Inc
>> GeoJSON mailing list
>> GeoJSON at lists.geojson.org
> GeoJSON mailing list
> GeoJSON at lists.geojson.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the GeoJSON