<div dir="ltr"><div>> <span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">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?</span></div>
<div><br></div><div><a href="https://github.com/mapbox/geojsonhint">https://github.com/mapbox/geojsonhint</a> covers the entire standard as far as I can read it - of course punting in cases like validating that CRS strings actually exist.<br>
</div><div><br></div><div>For the rest of the questions, I'll let the experts chip in.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 12, 2013 at 12:54 PM, David Ellis <span dir="ltr"><<a href="mailto:ellis@uber.com" target="_blank">ellis@uber.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br><br>Just joined this mailing list looking for some clarification on the spec.<br><br>The GeoJSON specification document contains no definition of what it means by the terms "Interior Ring" and "Hole".<br>
<br>I'm part of an <a href="https://github.com/uber/in-n-out/pull/7/files#diff-068591b5cb8abf665e6104587d821d57R13" target="_blank">on-going debate as my company tries to implement true GeoJSON support in the Node.js in-n-out library</a>.<br>
<br>Some questions on the spec:<br><br><ol><li>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? </li><li>
What are "Interior Rings" and what are "Holes"? Are they synonyms?</li><li>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.)</li>
<li>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.)</li>
</ol><p>Regards,</p><p>David Ellis</p><p>Uber Technologies, Inc<br></p>
<br>_______________________________________________<br>
GeoJSON mailing list<br>
<a href="mailto:GeoJSON@lists.geojson.org">GeoJSON@lists.geojson.org</a><br>
<a href="http://lists.geojson.org/listinfo.cgi/geojson-geojson.org" target="_blank">http://lists.geojson.org/listinfo.cgi/geojson-geojson.org</a><br>
<br></blockquote></div><br></div>