[mapserver-users] Providing WFS through MapServer with Shapefiles?

Bistrais, Bob Bob.Bistrais at maine.gov
Sun Jun 14 18:40:51 EDT 2009


I'm trying to set up some layers with WFS capability.  I have some that
are shapefile format.  The shapefiles do not work as WFS.  I have
tested, and they work fine both through Ka-Map and as a WMS service.  I
should also note that I have successfully WFS-enabled layers from SDE
data.  Here is the map file metadata...

 

In the main .map file:

 

    METADATA

    "wfs_title" "wfs_test"

    "wfs_onlineresource"
"http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/m
egug/WFStest.map&"

    "wfs_srs" "EPSG:26919"

    "wfs_request_method" "GET"

    "wfs_service" "WFS"

 

And in a layer file:

 

  METADATA

    "gml_featureid" "OBJECTID"

    "gml_include_items" "all"

    "wfs_abstract" "County boundaries from Counties250"

    "wms_title" "Counties"

    "wms_srs" "EPSG:26919"

    "wms_server_version" "1.1.1"

    "wms_include_items" "all"

    "wms_abstract" "County boundaries from Counties250"

    "opacity" "75"

    "queryable" "true"

    "DESCRIPTION" "Counties"

    "SEARCHFIELD" "COUNTY"

    "fields" "COUNTY:County"

    "hyperlink" "COUNTY"

 

  END

 

 

Does anyone have any advice on how to make this work in WFS?  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090614/de74b5b4/attachment.html


More information about the mapserver-users mailing list