[mapserver-users] Show WFS layer

Alexandre Dube adube at mapgears.com
Tue Jan 13 08:50:43 EST 2009


Maybe this could help : http://faq.openlayers.org/wfs/

Best of luck,

Alexandre

Peesjee wrote:
> Hi,
>
> i'm new to Mapserver, i succesfully added a WMS layer from a shapefile, but
> now i want to add a WFS layer that connects to my Sybase (via ODBC). I
> followed the doc on "Virtual Spatial data". This connection works well
> (tested with ogrinfo). The shp2img tool gives me a map image, with my
> features on, so far so good...
>
> I can do a "getcapabilities" and a "getfeature". The last one return my two
> test records nicely. But here i'm stuck, now i want to display this data.
>
> I tried the following:
>   - I added this WFS layer with OpenLayers (which i also used for my WMS
> layer), nothing shows...
>   - i used uDig to open this WFS layer, the layer opens, but i get an
> RenderingError (and saying 0 features)
>
> These are my "getcapabilities" and a "getfeature". I also added my Map-file.
> I've been stuck since two days on this, so some properties maybe just there
> for testing...
>
> http://n2.nabble.com/file/n2150639/getcapabilities.xml getcapabilities.xml 
> http://n2.nabble.com/file/n2150639/getfeature.xml getfeature.xml 
> http://n2.nabble.com/file/n2150639/test3.map test3.map 
>
> So whats my next step? I don't know what i can do here...
>
> Greetz
> Peesjee 
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the mapserver-users mailing list