WFS Metadata versus connection string (envdat WFS)

Daniel Morissette dmorissette at DMSOLUTIONS.CA
Mon Nov 22 12:58:41 EST 2004


Tyler Mitchell wrote:
> I'm working with this WFS data:
> http://map.ns.ec.gc.ca/envdat/map.aspx?service=WFS&version=1.0.0&request=GetCapabilities
>
> It works, but I'm a bit confused when using the data in my map file.  If I put
> the parameters manually into the connection string/URL, it works.  But if I
> put parameters like wfs_version, wfs_request into the metadata section for
> the layer (and remove them from the URL) it doesn't seem to work anymore.
>

Are you using 4.2 or 4.4?

If you are using 4.4, then wfs_* metadata should be supported (and the
old method of passing everything in the CONNECTION string deprecated),
but unfortunately the WFS Client HOWTO still hasn't been updated to
reflect that. You may find some useful hints in bug 417:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=417

Daniel
--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list