[OpenLayers-Users] GeoJSON: members versus features

Chris Holmes cholmes at openplans.org
Fri Oct 19 09:42:07 EDT 2007


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:
> Hi list,
> 
> when trying the Geoserver GeoJSON output against OpenLayers it does not work
> out of the box.
> 
> Geoserver outputs
> 
> {"type":"FeatureCollection","members":[{
> 
> whereas OpenLayers expects:
> 
> {"type":"FeatureCollection","features":[{
> 
> Looking at the last GeoJSON spec Geoserver seems to be in the right.
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> !DSPAM:4005,4718b2e8233462143011171!
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cholmes.vcf
Type: text/x-vcard
Size: 282 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071019/bdfcc37f/cholmes.vcf


More information about the Users mailing list