Hi,

Actually I didn't succeed catching the logs...
As a workaround, I used ST_Union function from PostGis instead of
ST_Collect, and it worked.

Thanks for your reply.

Cheers,

Sylvain

Andrea Aime-4 wrote:
> 
> stacquet wrote:
>> Hello,
>> 
>> I am using Geoserver to provide geographic data to another application,
>> and
>> using PostGis as datasource. The link is done with WFS. Everything is
>> working well with some sample data (French countries). 
>> However, when I am using the PostGis function ST_Collect(Geometry) to
>> merge
>> some countries (which create MultiPolygonProperties) ,  then the WFS
>> output
>> (http://localhost:8090/geoserver/wfs?request=GetFeature&typename=topp...)
>> returns something like : 
>> 
>> ServiceExceptionReport version="1.2.0"
>> xsi:schemaLocation="http://www.opengis.net/ogc
>> http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd";>
>> <ServiceException>
>>       Error: Misplaced array.
>> Misplaced array.
>> </ServiceException>
>> </ServiceExceptionReport>
>> 
>> What is suprising is that I can see the map when clicking on Demo->{my
>> feature}
> 
> WFS and WMS path are quite different. Can you enable "verbose exception
> reporting" on the server configuration and paste back the full stack
> trace that will result?
> 
> I guess it's also interesting to see the actual query on the db,
> which you can get enabling "GEOTOOLS_DEVELOPER_LOGGING" and then
> hunting it down in the ton of log that will be generated into
> $DATA_DIR/logs/geoserver.log
> 
> Cheers
> Andrea
> 
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/error-when-outputting-WFS-format-%3A-multiPolygonProperty-tp29266360p29273525.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to