<br><br><div class="gmail_quote">On Wed, Dec 21, 2011 at 3:11 PM, sana b <span dir="ltr"><<a href="mailto:sana.openmeetings@gmail.com">sana.openmeetings@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Brent Thanks for reply<br><br>When click my delete polygon Button it should ask me (Are you sure you want to delete this?) according to following function<div class="im"><br><br> javascript:if(confirm('Are you sure you want to delete this?')) {<br>
GeoMOOSE.startService('delete_<blockquote class="gmail_quote">polygon', {'<span>feature</span>:polygon_id' :<br>
'[polygon_id]'}); } Delete</blockquote><br></div>but it does nothing, not even selected the stored polygon or highlighted the polygon. <br>
<br>
similarly, when i use the modify polygon feature i have nothing return
from the identify. html file. its seems its not connected or call
properly or may be not stored at proper place.<br>
<br>
Paths where my files are stored related to feature editor configuration:<br>
<br>
<br>
test_polygons.ini <br>
path stored at: \ms4w\apps\geomoose2\conf\editor\test_polygons.ini<br>
<br>
test_polygon.map And identify.html<br>
<br>
path stored at : \ms4w\apps\geomoose2\maps\development\test_polygons\identify.html<br>
<br>
When I run identify.html file only, its out put is like as:<br><br><b>[title] ([polygon_id])</b> Owner:[owner]
<a>Edit</a>
<a>Delete</a>
<br><br>
<br>
Regards<br><font color="#888888">
Sana</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Dec 13, 2011 at 3:45 PM, Brent Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When you do an Identify on the polygon, what is returned?<br>
<br>
Best Regards,<br>
Brent Fraser<br>
<br>
<br>
On 12/13/2011 1:30 PM, sana.openmeetings wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am a new user of geoMoose and I am trying to use its feature editor<br>
function. I have configured all the steps mentioned in the feature editor<br>
guide and able to add into the database new polygon features only whereas I<br>
cant edit or delete the polygon features.<br>
<br>
I guess my identify.html (shown as follow, template comes with the geomoose)<br>
needs something to configure.<br>
<br>
<br>
<tr bgcolor="#AA55AA"><br>
<td colspan="2">*[title] ([polygon_id])*</td><br>
</tr><br>
<tr> <br>
<td>Owner:</td><td>[owner]</<u></u>td><br>
</tr><br>
<tr><br>
<td><br>
javascript:GeoMOOSE.<u></u>startService('modify_polygon', {'feature:polygon_id' :<br>
'[polygon_id]','feature:wkb_<u></u>geometry' : '[wkt_geometry]', 'feature:title' :<br>
'[title]', 'feature:owner' : '[owner]'}) Edit<br>
</td><br>
<td><br>
javascript:if(confirm('Are you sure you want to delete this?')) {<br>
GeoMOOSE.startService('delete_<u></u>polygon', {'feature:polygon_id' :<br>
'[polygon_id]'}); } Delete<br>
</td><br>
</tr><br>
<br>
<br>
I havent started with point feature at this moment as I require only polygon<br>
feature first.<br>
<br>
Anybody, who configure all the steps related to polygon feature and able to<br>
delete and update polygon feature as well?<br>
<br>
Could you please help me how to configure identify.html file ?<br>
<br>
Originally in the map file identify.html file is defined as <br>
METADATA<br>
'identify_record' 'identify.html'<br>
END<br>
<br>
Is that only step needs to performed for calling identify.html file within<br>
map file?<br>
<br>
looking forward for the response who already did this configuration<br>
<br>
<br>
Sana<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://geomoose-users.964460.n3.nabble.com/Geomoose-users-feature-editing-in-geomoose-tp2276648p3583520.html" target="_blank">http://geomoose-users.964460.<u></u>n3.nabble.com/Geomoose-users-<u></u>feature-editing-in-geomoose-<u></u>tp2276648p3583520.html</a><br>
Sent from the Geomoose-users mailing list archive at Nabble.com.<br>
______________________________<u></u>_________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/geomoose-<u></u>users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>