[GeoJSON] Point as list of one point, or list of coords
Sean Gillies
sgillies at frii.com
Thu Apr 12 13:45:15 PDT 2007
Martin Daly wrote:
>> I wasn't under the impression that we were looking at
>> polygons as an array of rings, I thought they were just a
>> single ring. In any case, my answer to that is 'no', but my
>> opinion on points stands. :)
>
> Chris proposed
> (http://lists.geojson.org/pipermail/geojson-geojson.org/2007-March/00003
> 0.html) this:
>
> "type":"Polygon",
> "exterior":{
> "type":"LinearRing",
> "coordinates":[-129.83,3.46,...,-95.47,21.51]
> }
>
> (That would be "coordinates":[[-129.83,3.46],...,[-95.47,21.51]] now.)
>
> Although the "interiors" aren't mentioned, it is clear that coordinates
> is not three levels deep, because each value represents a single ring.
>
> M
>
Right, I forgot. Mark me down for [[]].
Sean
More information about the GeoJSON
mailing list