[mapserver-users] MapServer WFS Request via POST

Cho, Aaron (EC) aaron.cho at canada.ca
Thu Jan 5 12:18:40 PST 2017


Using Mapserver 6.0.1-2

    "<GetFeature
    service="WFS"
    version="1.1.0"
    srsName="EPSG:900913"
    xmlns:topp="http://www.openplans.org/topp"
    xmlns:wfs="http://www.opengis.net/wfs"
    xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.opengis.net/wfs
    http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
    <Query typeName="clc_he_site_e" srsName="EPSG:900913">
    <Filter>
    <Intersects>
    <PropertyName>the_geom</PropertyName>
    <Point srsName="EPSG:900913">
    <coordinates>-13898086.230923885,6532736.454751344</coordinates>
    </Point>
    </Intersects>
    </Filter>
    </Query>
    </GetFeature>"

The following WFS Request works flawlessly, but does not in
Mapserver 6.4.1-2

    <HTML>
    <HEAD><TITLE>MapServer Message</TITLE></HEAD>
    <!-- MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
    <BODY BGCOLOR="#FFFFFF">
    mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided.
    </BODY></HTML>

Anyone know why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170105/17ff51be/attachment.html>


More information about the mapserver-users mailing list