<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Well the PHP is pretty simple for the delete:<br>
    <br>
    &nbsp;&nbsp;&nbsp; } else if($operation == 'delete') {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if($feature_info[$primaryKeyColumn] &lt; 1) {<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print 'No Feature ID specified to
    delete.&lt;br/&gt;';<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; die;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
    <br>
    So what that tells me is that the value passed from the browser is
    &lt;1.&nbsp; Possibly your identity.html has a syntax problem?&nbsp; And what
    is the content of the "Delete" link when you do an identify on the
    polygon?<br>
    <br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 12/6/2011 11:03 PM, Atif Butt wrote:
    <blockquote
cite="mid:CADgRPZ1PBZNcYeBYuzJBc1XeayHhm98jc7N5mGE-D7DX+CR_+w@mail.gmail.com"
      type="cite">
      <p>Yes</p>
      <p>&nbsp;</p>
      <p>this is my test_polygon.ini file settings</p>
      <p>&nbsp;</p>
      <p>; Basic Connection Information<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host=localhost<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbname=postgis<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; username=postgres<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password=xxxxxxx</p>
      <p>; Table Information<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tablename=test_polygons<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; geometry_column=wkb_geometry<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; primary_key_column=polygon_id<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; primary_key_sequence=test_polygons_seq<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srid=26915</p>
      <p>; Required Columns<br>
        ; This is a comma separated list of columns required<br>
        ; for creating or updating features in this layer<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; required_for_create=wkb_geometry,title<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; required_for_update=title</p>
      <p>&nbsp;</p>
      <p>; GeoMOOSE Information<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layerpath=poly_editor/polygons</p>
      <p><br>
        &nbsp;</p>
      <div>Regards</div>
      <div>&nbsp;</div>
      <div>Atif</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div><br>
        <br>
        &nbsp;</div>
      <div class="gmail_quote">On Tue, Dec 6, 2011 at 11:24 PM, Brent
        Fraser <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>&gt;</span>
        wrote:<br>
        <blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex;
          border-left-color: rgb(204, 204, 204); border-left-width: 1px;
          border-left-style: solid;" class="gmail_quote">
          <div text="#000000" bgcolor="#FFFFFF"> Do you have the
            primary_key_column defined in the ini file?<br>
            <pre cols="72">Best Regards,
Brent Fraser</pre>
            <div>
              <div class="h5"> <br>
                On 12/6/2011 7:24 PM, Atif Butt wrote: </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5">
                  <p>Hi</p>
                  <p>&nbsp;</p>
                  <p>Is there any other steps needs to do (except
                    written inside the feature editor document) for
                    "polygon_update and ploygon_delete". Because after
                    doing these steps, when I use update polygon feature
                    I am getting this message (1No Feature ID available
                    for update.) and when I use delete_polygon tool, it
                    says "No Feature ID specified to delete." </p>
                  <p>&nbsp;</p>
                  <p>I think something is missing.</p>
                  <p>&nbsp;</p>
                  <p>kindly check (<a moz-do-not-send="true"
                      href="http://99.243.192.221/geomoose2/geomoose.html"
                      target="_blank">http://99.243.192.221/geomoose2/geomoose.html</a>)
                    and give me your suggestions.</p>
                  <p>&nbsp;</p>
                  <p>Best Regards</p>
                  <p>Atif</p>
                  <br>
                  <fieldset></fieldset>
                  <br>
                </div>
              </div>
              <pre>_______________________________________________
Geomoose-users mailing list
<a moz-do-not-send="true" href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </body>
</html>