[Mapbender-users] problems with digitize GUI with geoserver as WFS

Christoph Baudson (WhereGroup) christoph.baudson at wheregroup.com
Thu Mar 22 04:21:19 EDT 2007


Hi Marco,

thanks for your mail. I'm sure it's a configuration issue.

Did you try to feed the WFS-Request to GeoServer directly? Do you get an 
error message? Another way is to throw an exception in geom2wfst.php:

Just add another line at line number 106

$e = new mb_exception('WFS result: '.$data);

Cheers,

Christoph

Marco Lechner schrieb:
> Hallo Mapbender-User,
> 
> I started a little Mapbender-Installation using Version 2.4.1 
> (2007-03-12) (svn)
> Created a nice GUI using the digitize GUI as template. I want to write 
> some polygons via geoserver into a postgis-DB.
> But I just get the message "An error occured" while trying to save the 
> polygon to the wfs in mapbender.
> Having a look to the apache-log it looks o.k.:
> ..."POST /chennai/mapbender_svn/extensions/geom2wfst.php HTTP/1.1" 200 20
> and also the transmitted values seem to be valid:
> ... <wfs:Transaction version="1.0.0" service="WFS" 
> xmlns="http://www.someserver.com/myns" 
> xmlns:chennai="http://www.geographie.uni-freiburg.de:7080/geoserver/wfs?" 
> xmlns:gml="http://www.opengis.net/gml" 
> xmlns:xs="http://www.w3.org/2001/XMLSchema" 
> xmlns:citef="http://www.opengis.net/cite/functions" 
> xmlns:ogc="http://www.opengis.net/ogc" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xmlns:topp="http://www.someserver.com/topp" 
> xmlns:wfs="http://www.opengis.net/wfs" 
> xsi:schemaLocation="http://www.someserver.com/myns 
> http://wms1.ccgis.de/geoserver-1.3-beta4/wfs/getCapabilities?request=describefeaturetype 
> http://www.opengis.net/wfs../wfs/1.0.0/WFS-transaction.xsd"><wfs:UpdatetypeName="chennai:floods"><wfs:Property><wfs:Name>notes</wfs:Name><wfs:Value>blablub</wfs:Value></wfs:Property><wfs:Property><wfs:Name>year</wfs:Name><wfs:Value>1998</wfs:Value></wfs:Property><wfs:Property><wfs:Name>the_geom</wfs:Name><wfs:Value><gml:MultiPolygon 
> srsName="EPSG:4326"><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>80.234,12.971 
> 80.241,12.964 80.253,12.976 
> 80.234,12.971</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></wfs:Value></wfs:Property><ogc:Filter><ogc:FeatureId 
> fid="false"/></ogc:Filter></wfs:Update></wfs:Transaction>
> 
> I'm trying to find the bug (misconfiguration in mapbender because I can 
> edit the relevant WFS-layer using  udig without any problems. Where 
> could there be misconfiguration? What could I try next?
> 
> Marco
> 
> ----------
> Department of Physical Geography
> Werderring 4
> 79085 Freiburg
> 0761/203-3548
> Germany
> 
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Baudson Christoph
http://www.wheregroup.com


More information about the Mapbender_users mailing list