[TinyOWS-dev] Error invalid Geometry

Denis Rykov rykovd at gmail.com
Mon May 23 12:08:27 EST 2011


My tinyows --check:
TinyOWS version: 1.0.0rc2
TinyOWS revision: 556
FCGI support: No
Config File Path: /usr/local/www/nextgis/data/scripts/tinyows/config.xml
(TinyOWS XML)
PostGIS Version: 2.0.0
PostGIS dsn: host=127.0.0.1 user=*** password=*** dbname=*** port=5432
Output Encoding: UTF-8
Database Encoding: UTF8
Schema dir: /usr/local/www/nextgis/data/scripts/tinyows/schema/
Log file: /usr/local/www/nextgis/log/tinyows.log
Log level: SQL
Display bbox: Yes
Estimated extent: No
Check schema: No
Check valid geoms: No
Available layers:
- public.views (4326) -> rk.views [RW]
...

On Mon, May 23, 2011 at 11:35 PM, Olivier Courtin <olivier.courtin at gmail.com
> wrote:

>
> 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
> _______________________________________________
> TinyOWS-dev mailing list
> TinyOWS-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-dev/attachments/20110524/c2bb83fe/attachment.htm 


More information about the TinyOWS-dev mailing list