Try to remove all WMS metadata!<br><br><div class="gmail_quote">2009/6/14 Bistrais, Bob <span dir="ltr">&lt;<a href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>&gt;</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: &quot;Courier New&quot;;">    METADATA</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wfs_title&quot;
&quot;wfs_test&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">   
&quot;wfs_onlineresource&quot;
&quot;<a href="http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/megug/WFStest.map&amp;" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=../../apps/ka-map-1.0/htdocs/megug/WFStest.map&amp;</a>&quot;</span></font></p>



<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wfs_srs&quot;
&quot;EPSG:26919&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">   
&quot;wfs_request_method&quot; &quot;GET&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wfs_service&quot;
&quot;WFS&quot;</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: &quot;Courier New&quot;;">  METADATA</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">   
&quot;gml_featureid&quot; &quot;OBJECTID&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">   
&quot;gml_include_items&quot; &quot;all&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wfs_abstract&quot;
&quot;County boundaries from Counties250&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wms_title&quot;
&quot;Counties&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wms_srs&quot;
&quot;EPSG:26919&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">   
&quot;wms_server_version&quot; &quot;1.1.1&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wms_include_items&quot;
&quot;all&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;wms_abstract&quot;
&quot;County boundaries from Counties250&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;opacity&quot;
&quot;75&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;queryable&quot;
&quot;true&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;DESCRIPTION&quot;
&quot;Counties&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;SEARCHFIELD&quot;
&quot;COUNTY&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;fields&quot;
&quot;COUNTY:County&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">    &quot;hyperlink&quot;
&quot;COUNTY&quot;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">  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>