On 09/26/2012 14:17, basvmrs 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:
your mapfile is missing .. ?are you sure that your layer METADATA section contains "wfs_enable_request" "*" (or "ows_enable_request" "*") ?
* *
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 [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
-- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
<<attachment: jcigar.vcf>>
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
