Try to remove all WMS metadata!<br><br><div class="gmail_quote">2009/6/14 Bistrais, Bob <span dir="ltr"><<a href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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…</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">In the main .map file:</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> METADATA</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wfs_title"
"wfs_test"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
"wfs_onlineresource"
"<a href="http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/megug/WFStest.map&" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/megug/WFStest.map&</a>"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wfs_srs"
"EPSG:26919"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
"wfs_request_method" "GET"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wfs_service"
"WFS"</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">And in a layer file:</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> METADATA</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
"gml_featureid" "OBJECTID"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
"gml_include_items" "all"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wfs_abstract"
"County boundaries from Counties250"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wms_title"
"Counties"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wms_srs"
"EPSG:26919"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";">
"wms_server_version" "1.1.1"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wms_include_items"
"all"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "wms_abstract"
"County boundaries from Counties250"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "opacity"
"75"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "queryable"
"true"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "DESCRIPTION"
"Counties"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "SEARCHFIELD"
"COUNTY"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "fields"
"COUNTY:County"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> "hyperlink"
"COUNTY"</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New";"> END</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Does anyone have any advice on how to make this work in
WFS? </span></font></p>
</div>
</div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>RAFAEL Almeida Fernandez Soto :: <a href="mailto:rafael@opengeo.com.br">rafael@opengeo.com.br</a><br>Consultant in FOSS GIS :: 55 21 2518-6233 :: 55 71 8802-0600<br>OpenGEO :: On-demand training and solutions :: <a href="http://www.opengeo.com.br">www.opengeo.com.br</a><br>
GEO Livre community:: Because Geoinformation should be free :: <a href="http://www.geolivre.org.br">www.geolivre.org.br</a><br>Be free by using Free Software, such as MapServer, PostgreSQL/PostGIS, gvSIG...<br><br>