Olivier, with r556 with and log_level 8 tinyows.log I've found the following records:<br><br>[Mon May 23 17:01:29 2011] [SQL] BEGIN;<br>[Mon May 23 17:01:29 2011] [SQL] SELECT nextval('public.views_ogc_fid_seq');<br>
[Mon May 23 17:01:29 2011] [SQL] SELECT ST_GeomFromGML('<gml:Point xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" xmlns:feature="<a href="http://nextgis.org/sf">http://nextgis.org/sf</a>" xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" srsName="EPSG:4326"><gml:coordinates decimal="." cs="," ts=" ">39.120465966804,57.288564708814</gml:coordinates></gml:Point>',0)<br>
[Mon May 23 17:01:29 2011] [SQL] ROLLBACK;<br><br>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.<br>
<br><div class="gmail_quote">On Mon, May 23, 2011 at 5:41 AM, Olivier Courtin <span dir="ltr"><<a href="mailto:olivier.courtin@gmail.com">olivier.courtin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
On May 23, 2011, at 12:22 AM, Denis Rykov wrote:<br>
<br>
Denis,<br>
<br>
> Hi Oliver, yes rc2.<br>
<br>
Ok,<br>
Could you try with latest r556 ?<br>
<div class="im"><br>
<br>
> <wfs:Transaction xmlns:wfs="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>"<br>
> service="WFS" version="1.0.0" xsi:schemaLocation="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a><br>
> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd" target="_blank">http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd</a>"<br>
> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
> <wfs:Insert><br>
> <feature:temp xmlns:feature="<a href="http://nextgis.org/sf" target="_blank">http://nextgis.org/sf</a>"><br>
> <feature:wkb_geometry><br>
> <gml:Point xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>" srsName="EPSG:4326"><br>
> <gml:coordinates decimal="." cs="," ts="<br>
> ">39.139692041022,57.214647880166</gml:coordinates><br>
> </gml:Point><br>
> </feature:wkb_geometry><br>
> <feature:name>New point</feature:name><br>
> </feature:temp><br>
> </wfs:Insert><br>
> </wfs:Transaction><br>
><br>
> Does point layer could be invalid? I think that validation procedure<br>
> is used only for polygonal layers.<br>
<br>
</div>You're right Point geometry nor Linestring cannot be SFS invalid.<br>
<br>
<br>
i've done on my latest trunk version these two tests upon your request,<br>
they are both fine...<br>
<br>
SELECT ST_AsEWKT(St_GeomFromGml('<gml:Point xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a><br>
<div class="im">" srsName="EPSG:4326"><br>
<gml:coordinates decimal="." cs="," ts="<br>
">39.139692041022,57.214647880166</gml:coordinates><br>
</div></gml:Point>'));<br>
st_asewkt<br>
--------------------------------------------------<br>
SRID=4326;POINT(39.139692041022 57.214647880166)<br>
<br>
<br>
and<br>
<div class="im"><br>
<wfs:Transaction xmlns:wfs="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>" service="WFS"<br>
version="1.0.0" xsi:schemaLocation="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd" target="_blank">http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd</a><br>
" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
<wfs:Insert><br>
</div><sf:PrimitiveGeoFeature xmlns:sf="<a href="http://cite.opengeospatial.org/gmlsf" target="_blank">http://cite.opengeospatial.org/gmlsf</a>"><br>
<sf:pointProperty><br>
<div class="im"><gml:Point xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>" srsName="EPSG:4326"><br>
<gml:coordinates decimal="." cs="," ts="<br>
">39.139692041022,57.214647880166</gml:coordinates><br>
</gml:Point><br>
</div></sf:pointProperty><br>
<sf:intProperty>4</sf:intProperty><br>
<sf:measurand>4</sf:measurand><br>
<sf:decimalProperty>4</sf:decimalProperty><br>
</sf:PrimitiveGeoFeature><br>
</wfs:Insert><br>
</wfs:Transaction><br>
<br>
<br>
<br>
So i don't yet understand why you get an error, with such a request,<br>
- Could you provide the TinyOWS --check output ?<br>
- Could you activate log with log_level 8 (sql query) and provide<br>
the latests queries performed ?<br>
<br>
<br>
Thanks<br>
<div><div></div><div class="h5"><br>
--<br>
Olivier<br>
_______________________________________________<br>
TinyOWS-dev mailing list<br>
<a href="mailto:TinyOWS-dev@lists.maptools.org">TinyOWS-dev@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/tinyows-dev" target="_blank">http://lists.maptools.org/mailman/listinfo/tinyows-dev</a><br>
</div></div></blockquote></div><br>