[GeoJSON] Extra Fields OK
Tim Schaub
tschaub at opengeo.org
Thu May 16 11:45:57 PDT 2013
Hey Frank,
Yes, adding a "schema" member to a FeatureCollection would still be valid,
and clients should ignore it if they don't know how to deal with it.
Regarding bbox, you can add a bbox to a FeatureCollection if it is an array
of length 2*dim (see http://geojson.org/geojson-spec.html#bounding-boxes).
It would be great to have more of your thoughts on the "crs" member
discussion.
Really cool to see the Maps Engine usage.
Tim
On Thu, May 16, 2013 at 12:38 PM, Frank Warmerdam <warmerdam at pobox.com>wrote:
> Folks,
>
> I think I already know the answer to this, but I'm checking in just in
> case.
>
> In reading the GeoJSON doc it says:
>
> "
> 2. GeoJSON Objects
> GeoJSON always consists of a single object. This object (referred to as
> the GeoJSON object below) represents a geometry, feature, or collection of
> features.
>
> The GeoJSON object may have any number of members (name/value pairs).
> ..."
>
> Can I construe this to mean that it is acceptable to extra fields not in
> the spec in GeoJSON objects under the assumption that baseline clients will
> just ignore them?
>
> I'm thinking of adding schema, bounding box and other stuff info feature
> collections and I want to know if it is still legitimate to define it as
> type: FeatureCollection.
>
> BTW, in case it hadn't been noted before the newly published Google Maps
> Engine API uses GeoJSON as the feature exchange format.
>
> https://developers.google.com/maps-engine/documentation
>
> PS. as you might guess I wish the CRS was preserved but I obviously lean
> towards paleolithic complexity, so I'm not objecting to a slim and trim
> specification.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Software Developer
>
> _______________________________________________
> GeoJSON mailing list
> GeoJSON at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>
>
--
Tim Schaub
OpenGeo http://opengeo.org/
Expert service straight from the developers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geojson.org/pipermail/geojson-geojson.org/attachments/20130516/ecbbb821/attachment-0005.htm>
More information about the GeoJSON
mailing list