[TinyOWS-users] Some difference between clients WFS.

Andrea Peri aperi2007 at gmail.com
Sat Sep 3 17:12:25 EST 2011


Hi,
I remenber better what was the error I noticed :)

What really I notice was that Kosmo send some request wrongly for TinyOWS.
Infact I found these errors in the report log of TinyOWS:

But after these errors Kosmo seem send the right request and TinyOWS send
the GML asked.

------
[Sun Sep  4 02:03:18 2011] [EVENT] == Filling Storage ==
[Sun Sep  4 02:03:18 2011] [QUERY] <wfs:GetFeature xmlns:ogc="
http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"
xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0"
maxFeatures="1000" outputFormat="GML2"><wfs:Query xmlns:idcomuni="
http://www.tinyows.org/"
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>
[Sun Sep  4 02:03:18 2011] [ERROR] Element '{
http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at
location '
http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=am_com_region_am_com&version=1.0.0'.
Skipping the import.

[Sun Sep  4 02:03:18 2011] [ERROR] Element '{
http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at
location '
http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=am_com_arc&version=1.0.0'.
Skipping the import.

[Sun Sep  4 02:03:18 2011] [ERROR] Element '{
http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at
location '
http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_fi_polygon&version=1.0.0'.
Skipping the import.

[Sun Sep  4 02:03:18 2011] [ERROR] Element '{
http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at
location '
http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_ar_polygon&version=1.0.0'.
Skipping the import.

[Sun Sep  4 02:03:18 2011] [ERROR] Element '{
http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at
location '
http://localhost:8081/geoportale/ows/tinyows?service=WFS&request=DescribeFeatureType&Typename=ucs_rt_si_polygon&version=1.0.0'.
Skipping the import.

[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'
[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
[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
[Sun Sep  4 02:05:10 2011] [EVENT] == TINYOWS SHUTDOWN ==

-----------------

I don't know if the error of Kosmo requests are really error or
incompatibility with TinyOWS.


2011/9/3 Andrea Peri <aperi2007 at gmail.com>

> Hi,
>
> effectively...
> I re-install Kosmo and now it work well....
> I don't know why but however now it work also for me.
>
> Thanks for response.
> Surely I do a bugged operation.
> I'm afraid and sorry for noise.
>
>
>
> 2011/9/3 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>
>
>> Hi,
>>
>> Sorry, I do not quite understand but let's take an example. This is my
>> layer
>>
>> <layer retrievable="1"
>>     writable="1"
>>     ns_prefix="tows"
>>     ns_uri="http://www.tinyows.org/"
>>         name="france"
>>         title="French Administrative Sub Boundaries (IGN - GeoFLA
>> Departements)" />
>>
>> Service is at http://188.64.1.61/cgi-bin/tinyows.
>>
>> Do you have troubles with Kosmo? For me it works OK.
>>
>> -Jukka Rahkonen-
>> ________________________________
>> Lähettäjä: tinyows-users-bounces at lists.maptools.org [
>> tinyows-users-bounces at lists.maptools.org] käyttäjän Andrea Peri [
>> aperi2007 at gmail.com] puolesta
>> Lähetetty: 3. syyskuuta 2011 20:07
>> Vastaanottaja: TinyOWS users discuss list
>> Aihe: [TinyOWS-users] Some difference between clients WFS.
>>
>> Hi,
>> I have download and try-ed the Kosmo GIS and it wfs plugin.
>>
>> Indeed the wfs plugin of kosmo seem more sophisticated of the wfs plugin
>> of wgis.
>> But I found a little ingenuity.
>>
>> Kosmo wfs client use the
>> layer ns_prefix as table-name.
>>
>> qgis wfs plugin insted use the attribute "name"
>>
>>  notice this because
>>
>> In my test a put the real name of the table in "name" attribute and use a
>> mnemonic identify in the ns_prefix.
>> The result is that qgis wfs plugin will show me the data, insteed
>> kosmo plugin give me an error.
>> Kosmo show the dtaa only if I put the real name of the table in the
>> "ns_prefix" field.
>>
>> I guess the right choice is that of qgis,
>> is this correct ?
>>
>> Thx,
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>>
>> _______________________________________________
>> TinyOWS-users mailing list
>> TinyOWS-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/tinyows-users
>>
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110904/539921e8/attachment-0001.htm 


More information about the TinyOWS-users mailing list