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

Jerry Sievert jerry at legitimatesounding.com
Tue Nov 12 11:20:54 PST 2013


Terraformer https://github.com/Esri/Terraformer also implements the spec sans crs, and in JavaScript. 

> 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.)
>> Regards,
>> 
>> David Ellis
>> 
>> Uber Technologies, Inc
>> 
>> 
>> _______________________________________________
>> GeoJSON mailing list
>> GeoJSON at lists.geojson.org
>> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>> 
> 
> _______________________________________________
> 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/7ea62db3/attachment.htm>


More information about the GeoJSON mailing list