Hi,<br>I remenber better what was the error I noticed :)<br><br>What really I notice was that Kosmo send some request wrongly for TinyOWS.<br>Infact I found these errors in the report log of TinyOWS:<br><br>But after these errors Kosmo seem send the right request and TinyOWS send the GML asked.<br>
<br>------<br>[Sun Sep 4 02:03:18 2011] [EVENT] == Filling Storage ==<br>[Sun Sep 4 02:03:18 2011] [QUERY] <wfs:GetFeature xmlns:ogc="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>" xmlns:gml="<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>" xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" service="WFS" version="1.0.0" maxFeatures="1000" outputFormat="GML2"><wfs:Query xmlns:idcomuni="<a href="http://www.tinyows.org/">http://www.tinyows.org/</a>" typeName="idcomuni:am_com_region_am_com"><ogc:PropertyName>idcomuni:am_com_</ogc:PropertyName><ogc:PropertyName>idcomuni:am_com_id</ogc:PropertyName><ogc:PropertyName>idcomuni:area</ogc:PropertyName><ogc:PropertyName>idcomuni:codcom</ogc:PropertyName><ogc:PropertyName>idcomuni:codprov</ogc:PropertyName><ogc:PropertyName>idcomuni:nome</ogc:PropertyName><ogc:PropertyName>idcomuni:perimeter</ogc:PropertyName><ogc:PropertyName>idcomuni:geom</ogc:PropertyName></wfs:Query></wfs:GetFeature><br>
[Sun Sep 4 02:03:18 2011] [ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema}import">http://www.w3.org/2001/XMLSchema}import</a>': Failed to locate a schema at location '<a href="http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=am_com_region_am_com&version=1.0.0">http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=am_com_region_am_com&version=1.0.0</a>'. Skipping the import.<br>
<br>[Sun Sep 4 02:03:18 2011] [ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema}import">http://www.w3.org/2001/XMLSchema}import</a>': Failed to locate a schema at location '<a href="http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=am_com_arc&version=1.0.0">http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=am_com_arc&version=1.0.0</a>'. Skipping the import.<br>
<br>[Sun Sep 4 02:03:18 2011] [ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema}import">http://www.w3.org/2001/XMLSchema}import</a>': Failed to locate a schema at location '<a href="http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_fi_polygon&version=1.0.0">http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_fi_polygon&version=1.0.0</a>'. Skipping the import.<br>
<br>[Sun Sep 4 02:03:18 2011] [ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema}import">http://www.w3.org/2001/XMLSchema}import</a>': Failed to locate a schema at location '<a href="http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_ar_polygon&version=1.0.0">http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_ar_polygon&version=1.0.0</a>'. Skipping the import.<br>
<br>[Sun Sep 4 02:03:18 2011] [ERROR] Element '{<a href="http://www.w3.org/2001/XMLSchema}import">http://www.w3.org/2001/XMLSchema}import</a>': Failed to locate a schema at location '<a href="http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_si_polygon&version=1.0.0">http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_si_polygon&version=1.0.0</a>'. Skipping the import.<br>
<br>[Sun Sep 4 02:03:18 2011] [SQL] SELECT auth_name, auth_srid, position('+units=m ' in proj4text), position('AXIS["X",NORTH]]' in srtext) FROM spatial_ref_sys WHERE srid = '3003'<br>[Sun Sep 4 02:03:18 2011] [SQL] SELECT ST_xmin(g.extent), ST_ymin(g.extent), ST_xmax(g.extent), ST_ymax(g.extent) FROM (SELECT ST_Extent(foo.the_geom) as extent FROM ( (SELECT ST_Transform("geom"::geometry, 3003) AS "the_geom" FROM caricamento."am_com_region_am_com" LIMIT 1000) ) AS foo) AS g<br>
[Sun Sep 4 02:03:18 2011] [SQL] SELECT "gid","area","perimeter","am_com_","am_com_id","codcom","nome","codprov",ST_AsGML(2, ST_Transform("geom"::geometry,3003),8,0) AS "geom" FROM caricamento."am_com_region_am_com" LIMIT 1000<br>
[Sun Sep 4 02:05:10 2011] [EVENT] == TINYOWS SHUTDOWN ==<br><br>-----------------<br><br>I don't know if the error of Kosmo requests are really error or incompatibility with TinyOWS.<br><br><br><div class="gmail_quote">
2011/9/3 Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>effectively...<br>I re-install Kosmo and now it work well....<br>I don't know why but however now it work also for me.<br><br>Thanks for response.<br>Surely I do a bugged operation.<br>I'm afraid and sorry for noise.<div>
<div></div><div class="h5"><br>
<br><br><div class="gmail_quote">2011/9/3 Rahkonen Jukka <span dir="ltr"><<a href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Sorry, I do not quite understand but let's take an example. This is my layer<br>
<br>
<layer retrievable="1"<br>
writable="1"<br>
ns_prefix="tows"<br>
ns_uri="<a href="http://www.tinyows.org/" target="_blank">http://www.tinyows.org/</a>"<br>
name="france"<br>
title="French Administrative Sub Boundaries (IGN - GeoFLA Departements)" /><br>
<br>
Service is at <a href="http://188.64.1.61/cgi-bin/tinyows" target="_blank">http://188.64.1.61/cgi-bin/tinyows</a>.<br>
<br>
Do you have troubles with Kosmo? For me it works OK.<br>
<br>
-Jukka Rahkonen-<br>
________________________________<br>
Lähettäjä: <a href="mailto:tinyows-users-bounces@lists.maptools.org" target="_blank">tinyows-users-bounces@lists.maptools.org</a> [<a href="mailto:tinyows-users-bounces@lists.maptools.org" target="_blank">tinyows-users-bounces@lists.maptools.org</a>] käyttäjän Andrea Peri [<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>] puolesta<br>
Lähetetty: 3. syyskuuta 2011 20:07<br>
Vastaanottaja: TinyOWS users discuss list<br>
Aihe: [TinyOWS-users] Some difference between clients WFS.<br>
<div><div></div><div><br>
Hi,<br>
I have download and try-ed the Kosmo GIS and it wfs plugin.<br>
<br>
Indeed the wfs plugin of kosmo seem more sophisticated of the wfs plugin of wgis.<br>
But I found a little ingenuity.<br>
<br>
Kosmo wfs client use the<br>
layer ns_prefix as table-name.<br>
<br>
qgis wfs plugin insted use the attribute "name"<br>
<br>
notice this because<br>
<br>
In my test a put the real name of the table in "name" attribute and use a mnemonic identify in the ns_prefix.<br>
The result is that qgis wfs plugin will show me the data, insteed<br>
kosmo plugin give me an error.<br>
Kosmo show the dtaa only if I put the real name of the table in the "ns_prefix" field.<br>
<br>
I guess the right choice is that of qgis,<br>
is this correct ?<br>
<br>
Thx,<br>
<br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
<br>
</div></div>_______________________________________________<br>
TinyOWS-users mailing list<br>
<a href="mailto:TinyOWS-users@lists.maptools.org" target="_blank">TinyOWS-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/tinyows-users" target="_blank">http://lists.maptools.org/mailman/listinfo/tinyows-users</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>