[mapserver-users] GetFeature Filterproblem with OGR
Thorsten Stanitzok
stanitzok at hansaluftbild.de
Fri Aug 8 00:07:28 PDT 2008
Hi List,
i have a problem sending a getfeature request, after changing the
connectiontype OGR for a layer.
this request works, i get the gml which i expect
http://localhost/cgi-bin/mapserv.exe?map=./mapfiles/gbh.map&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=Verwaltungseinheiten
&Filter=<Filter><PropertyIsLike wildcard='*' singleChar='.'
escape='!'><PropertyName>Gemarkung</PropertyName><Literal>H*</Literal></PropertyIsLike></Filter>
this request doesnt work:
http://localhost/cgi-bin/mapserv.exe?map=./mapfiles/gbh.map&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=Verwaltungseinheiten
&Filter=<Filter><PropertyIsLike wildcard='*' singleChar='.'
escape='!'><PropertyName>GST</PropertyName><Literal>1</Literal></PropertyIsLike></Filter>
it returns the following:
<ServiceExceptionReport xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd">
<ServiceException>
msQueryByRect(): Search returned no results. No matching record(s) found.
</ServiceException>
</ServiceExceptionReport>
but before changing to OGR everything worked fine.
Has anyone some hints, what is wrong?
i attached the layer-definition.
regards
Thorsten
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: layer.map
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080808/cd204b36/attachment.ksh>
More information about the MapServer-users
mailing list