[Geoserver-users] json output on tables with geometry

Hi Andrea,

it does look quite a bit similar. I am using 1.6beta4 though.

I've opened up:

http://jira.codehaus.org/browse/GEOS-1481

with a stack trace.

If someone needs more info, let me know.

Best regards,
Bart

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

--------- Oorspronkelijk bericht --------
Van: Andrea Aime <aaime@anonymised.com>
Naar: Bart van den Eijnden OSGIS <bartvde@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net, Tim Schaub
<tschaub@anonymised.com>
Onderwerp: Re: [Geoserver-users] json output on tables with geometry
Datum: 06/11/07 11:25

Bart van den Eijnden (OSGIS) ha scritto:
&gt; Hi list,
&gt;
&gt; Geoserver (1.6 beta4) returns a NullPointerException when you try to

get

&gt; outputformat=json for a table/view without a geometry. GML output

works okay

&gt; in this case.
&gt;
&gt; Is it viable to return GeoJSON in this case without a geometry, i.e.

a

&gt; 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?

&gt; Does anyone know if the OpenLayers GeoJSON parser will still parse

this?

I have no idea... maybe Tim will know more.
Cheers
Andrea