[mapserver-users] WMS works, WFS doesn't
thomas bonfort
thomas.bonfort at gmail.com
Wed Sep 26 05:53:55 PDT 2012
Looking through the code, layer->dump should be set to true for 5.6.
On a side note, you should not be using the docs of 6.0 to configure a
5.6 mapserver, to avoid these kind of issues.
--
thomas
On Wed, Sep 26, 2012 at 2:48 PM, Lime, Steve D (DNR)
<Steve.Lime at state.mn.us> wrote:
> I though the ows_enable... metadata was a 6.x addition and you're at 5.6.5. I thought you needed "DUMP TRUE" in the layer definition to allow WFS feature export. Steve
> ________________________________________
> From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of basvmrs [bas at cipix.nl]
> Sent: Wednesday, September 26, 2012 7:33 AM
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] WMS works, WFS doesn't
>
> cgi-mapserver:
> Installed: 5.6.5-2+squeeze2
>
> Mapfile:
> MAP
> NAME "WFS_server"
> STATUS ON
> SIZE 400 300
> EXTENT -180 -90 180 90
> UNITS DD
> SHAPEPATH "../data"
> IMAGECOLOR 255 255 255
>
>
> #
> # Start of web interface definition
> #
> WEB
> METADATA
> "wfs_title" "WFS Demo Server for MapServer" ## REQUIRED
> "wfs_onlineresource" "http://demo.mapserver.org/cgi-bin/wfs?" ##
> Recommended
> "wfs_srs" "EPSG:4326 EPSG:4269 EPSG:3978 EPSG:3857" ##
> Recommended
> "wfs_abstract" "This text describes my WFS service." ##
> Recommended
> "wfs_enable_request" "*" # necessary
> END
> END
>
> PROJECTION
> "init=epsg:4326"
> END
>
> #
> # Start of layer definitions
> #
>
> ##################
> # World Continents
> ##################
> LAYER
> NAME "continents"
> METADATA
> "wfs_title" "World continents" ##REQUIRED
> "wfs_srs" "EPSG:4326" ## REQUIRED
> "gml_include_items" "all" ## Optional (serves all attributes for
> layer)
> "gml_featureid" "ID" ## REQUIRED
> "wfs_enable_request" "*"
> END
> TEMPLATE "./object.xml"
> TYPE POLYGON
> STATUS ON
> DATA 'countries_area.shp'
> PROJECTION
> "init=epsg:4326"
> END
> CLASS
> NAME 'World Continents'
> STYLE
> COLOR 255 128 128
> OUTLINECOLOR 96 96 96
> END
> END
> END #layer
>
> END #mapfile
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/WMS-works-WFS-doesn-t-tp5004603p5004617.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
>
>
> _______________________________________________
> 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