getFeature

Miguel Gonçalves mgoncalves at DSI.UMINHO.PT
Thu Sep 8 09:41:26 EDT 2005


hello,

I am using MapServer 4.6 for windows.
I am using the GetFeature capabilities but the results obtained do not 
have information.

For instance, for the next request

http://localhost/cgi-bin/mapserv.exe?
MAP=../MAPS/tutorial/europe_1.map&
SERVICE=wfs&
VERSION=1.0.0&
REQUEST=getFeature&
TYPENAME=cities

i obtain the next result, with no information

  <?xml version="1.0" encoding="ISO-8859-1" ?>
- <#> <wfs:FeatureCollection xmlns="*http://www.ttt.org/myns*" 
xmlns:myns="*http://www.ttt.org/myns*" 
xmlns:wfs="*http://www.opengis.net/wfs*" 
xmlns:gml="*http://www.opengis.net/gml*" 
xmlns:ogc="*http://www.opengis.net/ogc*" 
xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*" 
xsi:schemaLocation="*http://www.opengis.net/wfs 
http://schemas.opengeospatial.net/wfs/1.0.0/WFS-basic.xsd 
http://www.ttt.org/myns 
http://www.dsi.uminho.pt:80/cgi-bin/mapserv.exe?map=../MAPS/tutorial/europe_1.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=cities*">
- <#> <gml:boundedBy>
 * <gml:null>missing</gml:null>*
  </gml:boundedBy>
  </wfs:FeatureCollection>

but, if I use a BBOX like in the next request

http://localhost/cgi-bin/mapserv.exe?
MAP=../MAPS/tutorial/europe_1.map&
SERVICE=wfs&
VERSION=1.0.0&
REQUEST=getFeature&
TYPENAME=cities&
BBOX=-8.418000,41.539600,-8.418000,41.539600

I obtain a result with the information of the city in the given point.

Can you help me in this problem?
Thanks.
Best regards.


Miguel



More information about the mapserver-users mailing list