[OpenLayers-Users] GeoJSON: members versus features

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Oct 19 09:50:13 EDT 2007


You're right Chris, sorry.

I was in an old version of the spec on geojson.org.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: Chris Holmes <cholmes at openplans.org>
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: users at openlayers.org
Onderwerp: Re: [OpenLayers-Users] GeoJSON: members versus features
Datum: 19/10/07 11:43

> Er, I'm pretty sure GeoServer is wrong, we just this week got around to 
> updating to the latest geojson spec, I think it's in svn, but not 
> released yet.  OpenLayers has definitely been ahead of us on spec 
> implementation.
> 
> Bart van den Eijnden (OSGIS) wrote:
> &gt; Hi list,
> &gt; 
> &gt; when trying the Geoserver GeoJSON output against OpenLayers it does
not work
> &gt; out of the box.
> &gt; 
> &gt; Geoserver outputs
> &gt; 
> &gt;
{&quot;type&quot;:&quot;FeatureCollection&quot;,&quot;members&quot;:[{
> &gt; 
> &gt; whereas OpenLayers expects:
> &gt; 
> &gt;
{&quot;type&quot;:&quot;FeatureCollection&quot;,&quot;features&quot;:[{
> &gt; 
> &gt; Looking at the last GeoJSON spec Geoserver seems to be in the right.
> &gt; 
> &gt; Best regards,
> &gt; Bart
> &gt; 
> &gt; --
> &gt; Bart van den Eijnden
> &gt; OSGIS, Open Source GIS
> &gt; http://www.osgis.nl
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> &gt; _______________________________________________
> &gt; Users mailing list
> &gt; Users at openlayers.org
> &gt; http://openlayers.org/mailman/listinfo/users
> &gt; 
> &gt; !DSPAM:4005,4718b2e8233462143011171!
> &gt; 
> 
> 






More information about the Users mailing list