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

Martin Daly Martin.Daly at cadcorp.com
Thu Apr 12 07:47:28 PDT 2007


> 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



More information about the GeoJSON mailing list