[mapserver-users] WMS works, WFS doesn't

thomas bonfort thomas.bonfort at gmail.com
Wed Sep 26 05:18:57 PDT 2012


please include the mapfile, and the mapserver version you are using.

On Wed, Sep 26, 2012 at 2:17 PM, basvmrs <bas at cipix.nl> wrote:
> Hi,
>
> I followed the instructions on http://mapserver.org/ogc/wfs_server.html to
> set up a WFS server with the shown example file. I find that WMS works fine,
> but WFS doesn't, even though I am basically using the same configuration.
>
> The WMS server:
> http://wms.cipix4.cipix.nl/?MAP=%2Fhome%2Figis%2Fwww%2Fdata%2Fwms%2Ftutorial%2Fhtdocs%2Fex.map&service=wms&request=GetMap&bbox=-180.000000,-90.000000,180.000000,83.627419&layers=continents&version=1.0.0&srs=epsg:4326&format=jpeg&width=500&height=500
>
> GetFeatureInfo also works:
> http://wms.cipix4.cipix.nl/?MAP=%2Fhome%2Figis%2Fwww%2Fdata%2Fwms%2Ftutorial%2Fhtdocs%2Fex.map&service=wms&version=1.3.0&request=GetFeatureInfo&bbox=-180.000000,-90.000000,180.000000,83.627419&layers=continents&version=1.0.0&srs=epsg:4326&format=jpeg&width=500&height=500&query_layers=continents&info_formate=xml&X=106&Y=80
>
> But now for WFS:
> http://wms.cipix4.cipix.nl/?MAP=%2Fhome%2Figis%2Fwww%2Fdata%2Fwms%2Ftutorial%2Fhtdocs%2Fex.map&service=wfs&request=GetFeature&TYPENAME=continents&version=1.0.0
>
> It says:
> msWFSGetFeature(): WFS server error. TYPENAME 'continents' doesn't exist in
> this server.  Please check the capabilities and reformulate your request.
>
> I don't get it: the typename should be the same as the layer name and that
> works fine in the WMS request. /var/log/mapserver reveals nothing
> interesting at all.
>
> My mapfile is:
>
>
> After a couple of hours of searching I though I should just ask someone.
>
> Thanks!
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/WMS-works-WFS-doesn-t-tp5004603.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list