[OpenLayers-Users] GeoJSON: members versus features

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


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








More information about the Users mailing list