[Geomoose-users] feature editing in geomoose

sana b sana.openmeetings at gmail.com
Wed Dec 21 15:13:51 EST 2011


On Wed, Dec 21, 2011 at 3:11 PM, sana b <sana.openmeetings at gmail.com> wrote:

> Hi Brent Thanks for reply
>
> When click my delete polygon Button it should ask me (Are you sure you
> want to delete this?) according to following function
>
>
>    javascript:if(confirm('Are you sure you want to delete this?')) {
> GeoMOOSE.startService('delete_
>>
>> polygon', {'feature:polygon_id' :
>> '[polygon_id]'}); } Delete
>
>
> but it does nothing, not even selected the stored polygon or highlighted
> the polygon.
>
> 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.
>
> Paths where my files are stored  related to feature editor configuration:
>
>
> test_polygons.ini
> path stored at: \ms4w\apps\geomoose2\conf\editor\test_polygons.ini
>
> test_polygon.map  And identify.html
>
> path stored at :
> \ms4w\apps\geomoose2\maps\development\test_polygons\identify.html
>
> When I run identify.html file only, its out put is like as:
>
> *[title] ([polygon_id])* Owner:[owner] Edit Delete
>
>
> Regards
> Sana
>
>
> On Tue, Dec 13, 2011 at 3:45 PM, Brent Fraser <bfraser at geoanalytic.com>wrote:
>
>> When you do an Identify on the polygon, what is returned?
>>
>> Best Regards,
>> Brent Fraser
>>
>>
>> On 12/13/2011 1:30 PM, sana.openmeetings wrote:
>>
>>> I am a new user of geoMoose and I am trying to use its feature editor
>>> function. I have configured all the steps mentioned in the feature editor
>>> guide and able to add into the database new polygon features only
>>> whereas I
>>> cant edit or delete the polygon features.
>>>
>>> I guess my identify.html (shown as follow, template comes with the
>>> geomoose)
>>> needs something to configure.
>>>
>>>
>>> <tr bgcolor="#AA55AA">
>>>        <td colspan="2">*[title] ([polygon_id])*</td>
>>> </tr>
>>> <tr>
>>>        <td>Owner:</td><td>[owner]</**td>
>>> </tr>
>>> <tr>
>>> <td>
>>>        javascript:GeoMOOSE.**startService('modify_polygon',
>>> {'feature:polygon_id' :
>>> '[polygon_id]','feature:wkb_**geometry' : '[wkt_geometry]',
>>> 'feature:title' :
>>> '[title]', 'feature:owner' : '[owner]'}) Edit
>>> </td>
>>> <td>
>>>        javascript:if(confirm('Are you sure you want to delete this?')) {
>>> GeoMOOSE.startService('delete_**polygon', {'feature:polygon_id' :
>>> '[polygon_id]'}); } Delete
>>> </td>
>>> </tr>
>>>
>>>
>>> I havent started with point feature at this moment as I require only
>>> polygon
>>> feature first.
>>>
>>> Anybody, who configure all the steps related to polygon feature and able
>>> to
>>> delete and update polygon feature as well?
>>>
>>> Could you please help me how to configure identify.html file ?
>>>
>>> Originally in the map file identify.html file is defined as
>>>                 METADATA
>>>                        'identify_record' 'identify.html'
>>>                END
>>>
>>> Is that only step needs to performed for calling identify.html file
>>> within
>>> map file?
>>>
>>> looking forward for the response who already did this configuration
>>>
>>>
>>> Sana
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://geomoose-users.964460.**
>>> n3.nabble.com/Geomoose-users-**feature-editing-in-geomoose-**
>>> tp2276648p3583520.html<http://geomoose-users.964460.n3.nabble.com/Geomoose-users-feature-editing-in-geomoose-tp2276648p3583520.html>
>>> Sent from the Geomoose-users mailing list archive at Nabble.com.
>>> ______________________________**_________________
>>> Geomoose-users mailing list
>>> Geomoose-users at lists.osgeo.org
>>> http://lists.osgeo.org/**mailman/listinfo/geomoose-**users<http://lists.osgeo.org/mailman/listinfo/geomoose-users>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111221/d3c44cf5/attachment.html


More information about the Geomoose-users mailing list