<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<div>Hello,</div><div><br></div><div>I have a problem configuring a WFS Service.</div><div><br></div><div>My layer is defined like this:</div><div><br></div><div>LAYER</div><div>&nbsp;&nbsp; &nbsp;NAME " forest_plot_layer"</div><div>&nbsp;&nbsp; &nbsp;TYPE POLYGON</div><div>&nbsp;&nbsp; &nbsp;STATUS ON</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;METADATA</div><div>&nbsp;&nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>WFS_TITLE<span class="Apple-tab-span" style="white-space:pre">                </span> &nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; "Forest Plots"</div><div>&nbsp;&nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>"gml_include_items" <span class="Apple-tab-span" style="white-space:pre">                </span>"all"</div><div>&nbsp;&nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>"gml_featureid" &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre">                </span>"cell_id"&nbsp;</div><div>&nbsp;&nbsp; &nbsp;END</div><div>&nbsp;&nbsp; &nbsp;DUMP TRUE</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;CONNECTIONTYPE postgis</div><div>&nbsp;&nbsp; &nbsp;CONNECTION xxxxxxxxxx</div><div>&nbsp;&nbsp; &nbsp;DATA "the_geom FROM forest_plot_layer"&nbsp;</div><div>&nbsp;&nbsp; &nbsp;CLASS</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>NAME "Forest Plot"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;STYLE</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>SIZE 3</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>COLOR 0 255 0</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>OUTLINECOLOR 0 255 0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>END</div><div>&nbsp;&nbsp; &nbsp;END</div><div>&nbsp;&nbsp; &nbsp;PROJECTION</div><div><span class="Apple-tab-span" style="white-space:pre">                </span> &nbsp; &nbsp;"init=epsg:3035"</div><div>&nbsp;&nbsp; &nbsp;END</div><div>END</div><div><br></div><div><br></div><div>And I have the follwing error :</div><div>------------------------------------------</div><div>[Tue Jul &nbsp;6 18:49:16 2010].228958 msPostGISLayerGetShape(): Query error. Error (ERROR: &nbsp;operator does not exist: character varying = integer LINE 1: ...l_id" from forest_plot_layer where "cell_id" = 1</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div>HINT: &nbsp;No operator matches the given name and argument type(s). You might need to add explicit type casts.</div><div>------------------------------------------</div><div><br></div><div>My "forest_plot_layer" table only has a "cell_id" column which is the PK and a "the_geom" column.</div><div><br></div><div>The WMS service works correctly.</div><div><br></div><div>Does anyone have an idea?</div><div><br></div><div>Thanks,</div><div><br></div><br><br>                                               <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>