[TinyOWS-dev] Error invalid Geometry

Olivier Courtin olivier.courtin at gmail.com
Mon May 23 11:35:16 EST 2011


On May 23, 2011, at 3:19 PM, Denis Rykov wrote:

HI Denis,

> [Mon May 23 17:01:29 2011] [SQL] BEGIN;
> [Mon May 23 17:01:29 2011] [SQL] SELECT  
> nextval('public.views_ogc_fid_seq');
> [Mon May 23 17:01:29 2011] [SQL] SELECT ST_GeomFromGML('<gml:Point  
> xmlns:gml="http://www.opengis.net/gml" xmlns:feature="http://nextgis.org/sf 
> " xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> " srsName="EPSG:4326"><gml:coordinates decimal="." cs="," ts="  
> ">39.120465966804,57.288564708814</gml:coordinates></gml:Point>',0)
> [Mon May 23 17:01:29 2011] [SQL] ROLLBACK;
>
> I guess that cause of error is ST_GeomFromGML function. Accordingly  
> log files this function contains two parameters, but actually  
> ST_GeomFromGML takes only one argument.

It should be the case if your PostGIS version is 2.0,
but should not on 1.5 branch

Could you provide ./tinyows --check ?

--
Olivier


More information about the TinyOWS-dev mailing list