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
LAYER
  NAME                    Verwaltungseinheiten
  CONNECTIONTYPE          OGR
  #DATA                    VE.shp
  CONNECTION              VE.shp
  TYPE                    POLYGON
  STATUS                  OFF
  TEMPLATE                '/global.html'
  DUMP                    TRUE
  CLASS
    NAME                  Verwaltungseinheiten
    STYLE
      OUTLINECOLOR        000 000 200
      WIDTH               1
    END
  END
  METADATA
    WMS_TITLE           Verwaltungseinheiten
    WMS_SRS             "EPSG:31467"
    WFS_TITLE           Verwaltungseinheiten
    WFS_SRS             "EPSG:31467"
    WFS_FEATUREID       VE
    GML_FEATUREID       VE
    GML_INCLUDE_ITEMS   ALL
  END
END
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to