Hi list,
Geoserver (1.6 beta4) returns a NullPointerException when you try to get
outputformat=json for a table/view without a geometry. GML output works okay
in this case.
Is it viable to return GeoJSON in this case without a geometry, i.e. a
feature with only attributes?
Does anyone know if the OpenLayers GeoJSON parser will still parse this?
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
Bart van den Eijnden (OSGIS) ha scritto:
Hi list,
Geoserver (1.6 beta4) returns a NullPointerException when you try to get
outputformat=json for a table/view without a geometry. GML output works okay
in this case.
Is it viable to return GeoJSON in this case without a geometry, i.e. a
feature with only attributes?
Looks similar to a fixed issue:
http://jira.codehaus.org/browse/GEOS-1365
thought your case is a little different. Care to open a jira issue for this one?
Does anyone know if the OpenLayers GeoJSON parser will still parse this?
I have no idea... maybe Tim will know more.
Cheers
Andrea