[GeoJSON] Point as list of one point, or list of coords

Allan Doyle adoyle at eogeo.org
Thu Apr 12 13:55:28 PDT 2007


On Apr 12, 2007, at 16:45, Sean Gillies wrote:

> 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 [[]].

Good enough for me. I tweaked RFC-001.

	Allan

>
> Sean
>
> _______________________________________________
> geojson mailing list
> geojson at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org

-- 
Allan Doyle
+1.781.433.2695
adoyle at eogeo.org






More information about the GeoJSON mailing list