[TinyOWS-users] What is wrong with my http GET filter?

Olivier Courtin olivier.courtin at gmail.com
Mon May 9 06:14:29 EST 2011


On May 9, 2011, at 11:28 AM, Rahkonen Jukka wrote:

Jukka,

> service
> =
> wfs
> &version
> =
> 1.1.0
> &request
> =
> getfeature
> &typename
> =
> osm_polygon
> &maxfeatures
> =
> 20
> &filter=<ogc:Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>osm_id</ 
> ogc:PropertyName><ogc:Literal>-4052</ogc:Literal></ 
> ogc:PropertyIsEqualTo></ogc:Filter>
>
> This returns me "Internal Server Error"

Great, the first real bug to be reported since rc1 !
Fixed as r520

> For comparison, I tried a very similar Filter with WFS service from  
> Mapserver 6.0 rc1 and it works

Hum i guess mapserver does'nt really check namespace.
So it's why it 'works'.

With TinyOWS (and GeoServer too i suppose), namespace must be defined
so something like:

filter=<ogc:Filter xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc 
">...

HTH,

--
Olivier


More information about the TinyOWS-users mailing list