[TinyOWS-users] GetFeature POST fails with TiinyOWS 0.9.0

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Sep 22 10:59:08 EST 2010


Hi

Olivier Courtin wrote:

> Hi Jukka,

>> http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.0.0&request=getFeature&maxFeatures=1&outputFormat=GML2&srsName=EPSG:3067&typeName=osm_point
>
>> This is to my understanding the same request as http POST
>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <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="1" outputFormat="GML2">
>> <wfs:Query xmlns:tows="http://www.tinyows.org/" srsName="EPSG:3067"  
>> typeName="tows:osm_point">
>> </wfs:Query>
>> </wfs:GetFeature>


> srsName is not part of the WFS 1.0.0 schema,
> on the first KVP request it just ignored,
> but on the XML one it should produce a schema validation error.

Actually no, it is not ignored.  Try
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=getfeature&typename=tows:osm_polygon&maxfeatures=1&srsname=EPSG:2392

or
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=getfeature&typename=tows:osm_polygon&maxfeatures=1&srsname=EPSG:2393

TinyOWS is reprojecting on-the-fly also with WFS 1.0.0.  It is a nice additional feature, and Geoserver supports it in a similar way. Perhaps it could be considered as a vendor option and not as an error?


>> The result I am getting back is
>
>> <title>500 Internal Server Error</title>

> Which version of TinyOWS do you use ?
> With a trunk version i cannot yet reproduce these error.

0.9.0 stable, installed by followind the document http://tinyows.org/trac/wiki/ServerInstallation

One thought, WFS 1.1.0 schema does not actually allow underscores in featuretype names but nobody cares about it. Can there be something similar in the attribute names which is making the invalid parameter value that another user was reporting?

-Jukka-



More information about the TinyOWS-users mailing list