[mapserver-users] WFS returning empty features

mlinden at zeelandnet.nl mlinden at zeelandnet.nl
Wed Jun 24 06:51:42 PDT 2009


Do as Roy says.

Calculate (with a postgis query) the extent of ALL the features for the
given layer.
Use this extent to set the "wms_extent" (do not know if I name it
correctly, no access to my development machine at this moment).

This will help mapserver find objects.

> What  version of mapserver are you using? Have you set the map extent and
> layer extents?
>
> Roy
>
>
>   _____
>
> From: DeDuikertjes [mailto:DeDuikertjes at xs4all.nl]
> To: mapserver-users at lists.osgeo.org
> Sent: Wed, 24 Jun 2009 15:12:29 +0200
> Subject: [mapserver-users] WFS returning empty features
>
> Dear List,
>
>   I've mapserver all set up.
>   The mapfile is working and produces a nice and working WMS.
>
>   The WFS is giving me troubles.
>   It returns a valid capabilities document with no warnings
>   A getfeature request returns GML, with the bounds defined, but otherwise
>   with NO features.
>   This for a layer which draws perfectly well in the WMS.
>
>   uDig sees all colums (attributes) of the layer, but every column is
> empty.
>
>   I've not a clue what I am doing wrong.
>
>   any help greatly appreciated.
>
>   MArco
>   _______________________________________________
>   mapserver-users mailing list
>   mapserver-users at lists.osgeo.org
>   http://lists.osgeo.org/mailman/listinfo/mapserver-users
>     _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


Milo van der Linden

<a href="http://somafm.com/"><img
src="http://somafm.com/linktous/450x25sfm1.gif" alt="SomaFM" border=0
width=450 height=25 ></a>





More information about the MapServer-users mailing list