getFeature

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Thu Sep 8 09:45:24 EDT 2005


What is the value of the EXTENT of your MAP object?

If you don't specify BBOX, Mapserver WFS uses that EXTENT in the query.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Miguel Gonçalves <mgoncalves at DSI.UMINHO.PT> 09/08/05 3:41 pm >>>
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