[mapserver-users] Providing WFS through MapServer with Shapefiles?
Rafael Almeida Fernandez Soto
rafael at opengeo.com.br
Sun Jun 14 16:09:59 PDT 2009
Try to remove all WMS metadata!
2009/6/14 Bistrais, Bob <Bob.Bistrais at maine.gov>
> 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/megug/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?
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
RAFAEL Almeida Fernandez Soto :: rafael at opengeo.com.br
Consultant in FOSS GIS :: 55 21 2518-6233 :: 55 71 8802-0600
OpenGEO :: On-demand training and solutions :: www.opengeo.com.br
GEO Livre community:: Because Geoinformation should be free ::
www.geolivre.org.br
Be free by using Free Software, such as MapServer, PostgreSQL/PostGIS,
gvSIG...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090614/30387c28/attachment.htm>
More information about the MapServer-users
mailing list