[GeoJSON] AsJSON(geometry)

David William Bitner david.bitner at gmail.com
Mon Mar 19 13:05:55 PDT 2007


>
> >
> >  { "id": "alesia",
> >       "title": "Alesia",
> >       "classname": "settlement",
> >       "geometry": {
> >        "type": "point",
> >        "value": [47.535, 4.478, 0.0]
> >       }
> >       "srs": "EPSG:4326",
> >     }
> >
> > instead of
> >
> >  { "id": "alesia",
> >       "title": "Alesia",
> >       "classname": "settlement",
> >       "geometryType": "point",
> >       "spatialCoordinates": [[47.535, 4.478, 0.0]],
> >       "srs": "EPSG:4326",
> >     }
> >
> > ?
> >
> > Chris
> >
>
> I'm in favor of the above.
>
> Sean
>
> Should the SRS go in with the geometry as well?

{ "id": "alesia",
       "title": "Alesia",
       "classname": "settlement",
       "geometry": {
          "type": "point",
          "value": [47.535, 4.478, 0.0]
          "srs": "EPSG:4326",
        }
}
-- 
************************************
David William Bitner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geojson.org/pipermail/geojson-geojson.org/attachments/20070319/63caea03/attachment-0005.htm>


More information about the GeoJSON mailing list