<span lang="EN"><div>Hi Brent</div><div> </div><div>I used the following code, for the identify.html file.</div><div> </div><div>Kindly have a look. <a href="http://141.117.248.26/geomoose2/geomoose.html">http://141.117.248.26/geomoose2/geomoose.html</a></div>
<div> </div><div> </div><div> </div><div><!-- MapServer Template --></div>
<p><tr bgcolor="#AA55AA"></p>
<p>        <td colspan="2"><b>[title] ([polygon_id])</b></td></p>
<p></tr></p>
<p><tr>        </p>
<p>        <td>Owner:</td><td>[owner]</td></p>
<p></tr></p>
<p><tr></p>
<p><td></p>
<p>        <a href="javascript:GeoMOOSE.startService('modify_polygon', {'feature:polygon_id' : '[polygon_id]','feature:wkb_geometry' : '[wkt_geometry]', 'feature:title' : '[title]', 'feature:owner' : '[owner]'})">Edit</a></p>
<p></td></p>
<p><td></p>
<p>        <a href="javascript:if(confirm('Are you sure you want to delete this?')) { GeoMOOSE.startService('delete_polygon', {'feature:polygon_id' : '[polygon_id]'}); }">Delete</a></p>
<p></td></p>
<p></tr></p></span><div> </div><div>Secondly, why the above geomoose link can only be working inside firefox, why not IE, and chrome, etc. Do you have any idea ?</div><div><br>Best regards</div><div> </div><div>Atif<br>
</div><div> </div><div> </div><div> </div><div class="gmail_quote">On Wed, Dec 7, 2011 at 10:20 AM, Brent Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>></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">
    Well the PHP is pretty simple for the delete:<br>
    <br>
        } else if($operation == 'delete') {<br>
                if($feature_info[$primaryKeyColumn] < 1) {<br>
                        print 'No Feature ID specified to
    delete.<br/>';<br>
                        die;<br>
                }<br>
    <br>
    So what that tells me is that the value passed from the browser is
    <1.  Possibly your identity.html has a syntax problem?  And what
    is the content of the "Delete" link when you do an identify on the
    polygon?<br>
    <br>
    <pre cols="72">Best Regards,
Brent Fraser</pre><div><div></div><div class="h5">
    <br>
    On 12/6/2011 11:03 PM, Atif Butt wrote:
    <blockquote type="cite">
      <p>Yes</p>
      <p> </p>
      <p>this is my test_polygon.ini file settings</p>
      <p> </p>
      <p>; Basic Connection Information<br>
               host=localhost<br>
               dbname=postgis<br>
               username=postgres<br>
               password=xxxxxxx</p>
      <p>; Table Information<br>
               tablename=test_polygons<br>
               geometry_column=wkb_geometry<br>
               primary_key_column=polygon_id<br>
               primary_key_sequence=test_polygons_seq<br>
               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>
              required_for_create=wkb_geometry,title<br>
              required_for_update=title</p>
      <p> </p>
      <p>; GeoMOOSE Information<br>
               layerpath=poly_editor/polygons</p>
      <p><br>
         </p>
      <div>Regards</div>
      <div> </div>
      <div>Atif</div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div><br>
        <br>
         </div>
      <div class="gmail_quote">On Tue, Dec 6, 2011 at 11:24 PM, Brent
        Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></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> <br>
                On 12/6/2011 7:24 PM, Atif Butt wrote: </div>
            </div>
            <blockquote type="cite">
              <div>
                <div>
                  <p>Hi</p>
                  <p> </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> </p>
                  <p>I think something is missing.</p>
                  <p> </p>
                  <p>kindly check (<a 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> </p>
                  <p>Best Regards</p>
                  <p>Atif</p>
                  <br>
                  <fieldset></fieldset>
                  <br>
                </div>
              </div>
              <pre>_______________________________________________
Geomoose-users mailing list
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a 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>
  </div></div></div>
</blockquote></div><br>