[mapserver-users] RE: WFS set up
Alberto Najera
anajera at bicimapas.com.mx
Thu May 24 09:08:25 PDT 2012
Thanks for the response. I removed the template call in the mapfile to force
the WFS call and check what was going on. It seems to be a compilation
problem so I will start a new thread on the subject.
Greetings
Alberto Najera
De: pcreso at pcreso.com [mailto:pcreso at pcreso.com]
Enviado el: miércoles, 23 de mayo de 2012 11:54 p.m.
Para: Alberto Najera
CC: mapserver-users at lists.osgeo.org
Asunto: Re: [mapserver-users] RE: WFS set up
Not sure about the compilation problem, I have used prebuilt packages for
years now...
Regarding the error message, see http://mapserver.org/mapfile/web.html
You still need an HTML template file specified, even if you don't use it.
The file does not need to exist, unless you do use it.
--- On Thu, 5/24/12, Alberto Najera <anajera at bicimapas.com.mx> wrote:
From: Alberto Najera <anajera at bicimapas.com.mx>
Subject: [mapserver-users] RE: WFS set up
To: "'mapserver-users'" <mapserver-users at lists.osgeo.org>
Date: Thursday, May 24, 2012, 1:07 PM
Hi all
I have checked this all over again and the problem seems to be caused by the
mapserv cgi build. I have configured it using "--with-wfs" and when done,
the response shows
WFS Server: -DUSE_WFS_SVR
as expected, confirming this feature to be enabled in the build.
I then run "make" and when testing the supported features with ./mapserv -v,
it shows no support for WFS.
Also when running the capabilities test, I got this response:
"mapserv(): Web application error. Traditional BROWSE mode requires a
TEMPLATE in the WEB section, but none was provided. msOWSDispatch(): WFS
server error. SERVICE=WFS requested, but WFS support not configured in
MapServer."
Why is this happening?
I am using Mapserver 6.0.1 in a Centos5 environment. Could this be a bug
in Mapserver or am I missing something here?
Your help is greatly appreciated
Alberto Najera
-----Mensaje original-----
De: Alberto Najera [mailto:anajera at bicimapas.com.mx]
Enviado el: martes, 22 de mayo de 2012 12:06 p.m.
Para: 'mapserver-users'
Asunto: WFS set up
Hello
I am setting up a map file for WFS access but I do not get a response when
testing for capabilities, just a 404 error. Following the guidelines in the
Mapserver documentation, the CGI was compiled using "-with-wfs" and I am
using this URL to test capabilities:
_______________________________________________
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