Just started using Geoserver 2.5.2. On my old server which was Geoserver 2.1 when you ran a WFS request to return GeoJSON (or, for a quick example, clicked Layer Preview -> All Formats -> GeoJSON) the returned JSON contained a bbox property giving the bounding box for the returned results. I've written some applications that rely on this value being present but now they are all failing because the GeoJSON being returned does not conatain the bbox property.
e.g. old:
{
"type":"FeatureCollection",
"features": [..features here...],
"crs":{"type":"EPSG",
"properties":{"code":"4326"}
},
"bbox":[0,52,0,52]
}
New:
{
"type":"FeatureCollection",
"features": [..features here...],
"crs":{"type":"EPSG",
"properties":{"code":"4326"}
}
}
Is there an option I need to enable to encourage it to return this property or has the GeoJSON spec changed since GeoServer 2.1 to exclude it? That would be very inconvenient! Can I get it back?