[TinyOWS-users] xml isn't valid

Olivier Courtin olivier.courtin at gmail.com
Wed May 19 03:28:59 EST 2010


On May 19, 2010, at 10:10 AM, Alexander Schäfer wrote:


Alexander,

>> Ok, could you send at least one GML query that give you this invalid
>> geometry error ?
>
> sure
>
> <wfs:Insert><feature:frida
> xmlns:feature="http:// 
> ************"><feature:the_geom><gml:MultiSurface
> xmlns:gml="http://www.opengis.net/gml"
> srsName="EPSG: 
> 31467 
> "> 
> < 
> gml:surfaceMember 
> ><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>3486400
> 5908400 3513600 5817200 3540800 5893200 3486400
> 5908400</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ 
> gml:surfaceMember></gml:MultiSurface></feature:the_geom></ 
> feature:frida></wfs:Insert></wfs:Transaction>


I use this request (base on yours) on frida TinyOWS demo server,
and it 'just' works:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"  
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd 
  http://www.tinyows.org/ http://www.tinyows.org/cgi-bin/tinyows?service=wfs&amp;request=DescribeFeatureType&amp;version=1.1.0&amp;typename=tows:frida 
" xmlns:xsi="http://www.w3.org/2001/XMLSchema- 
instance"><wfs:Insert><feature:frida xmlns:feature="http://www.tinyows.org/ 
"><feature:the_geom><gml:MultiSurface xmlns:gml="http://www.opengis.net/gml 
" srsName="EPSG: 
31467 
"> 
< 
gml:surfaceMember 
 ><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>3486400  
5908400 3513600 5817200 3540800 5893200 3486400 5908400</gml:posList></ 
gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></ 
gml:MultiSurface></feature:the_geom></feature:frida></wfs:Insert></ 
wfs:Transaction>


What version of PostGIS do you use ?

SELECT postgis_full_version();

--
Olivier



More information about the TinyOWS-users mailing list