[GeoJSON] properties on FeatureCollection objects.

Calvin Metcalf calvin.metcalf at gmail.com
Fri May 17 14:55:17 PDT 2013


Thanks for getting back to me. Opened up a pull request. So you'd suggest
something more along the line of
    A feature collection object MAY have a member with any other name
besides type,features,[other reserved words to be added]. The
    value of the member is an object (any JSON object or a
    JSON null value).


---------- Forwarded message ----------
From: Sean Gillies <sean.gillies at gmail.com>
Date: Fri, May 17, 2013 at 4:46 PM
Subject: Re: [GeoJSON] properties on FeatureCollection objects.
To: Calvin Metcalf <calvin.metcalf at gmail.com>


Calvin,

It's okay to send pull requests for middle.mkd alone. We'll run the
pandoc/rfc2xml scripts.

More generally, maybe we just need to add a reminder that the must-ignore
rule applies to JSON: processors must ignore objects (like a
FeatureCollection properties or schema) that they don't understand. This
makes JSON easy to extend. You can add objects freely to your GeoJSON and
unless they collide with the objects we're specifying in the GeoJSON
profile, you can't trouble anybody.

Later, if FeatureCollection properties turn out to be a great idea and
catch on, they might become part of a new profile.


On Fri, May 17, 2013 at 6:29 AM, Calvin Metcalf <calvin.metcalf at gmail.com>wrote:

> It might make sense to clarify whether a properties object can be in a
> feature collection, currently since you can have any extra values in there
> you can put a properties object there. Instead I'd suggest a adding a
> paragraph to the feature collection def which says
>
>     A feature collection object MAY have a member with the name
> "properties". The
>     value of the properties member is an object (any JSON object or a
>     JSON null value).
>
> yes technically redundant but on the other hand there quite a few
> questions on stack exchange asking just this, plus depending on how the CRS
> discution goes, feature collection level properties might be the most sense
> to communication information about the data in the feature collection.
>
> I can submit a pull request once I get to a computer that has haskel
> installed on it.
> --
> -Calvin W. Metcalf
>
> _______________________________________________
> GeoJSON mailing list
> GeoJSON at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>
>


-- 
Sean Gillies



-- 
-Calvin W. Metcalf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geojson.org/pipermail/geojson-geojson.org/attachments/20130517/05886bad/attachment-0005.htm>


More information about the GeoJSON mailing list