[GRASS-user] How we can pickup catagory, lat, long of a point by mouse click event with reference to a vector point map

Anna Kratochvílová kratochanna at gmail.com
Thu Jul 19 04:39:08 PDT 2012


On Thu, Jul 19, 2012 at 1:11 PM, SWAPAN GHOSH <swap.ghsh at gmail.com> wrote:

> Dear All,
>
> I am developer not user I would like to edit the window like-
> [image: Inline image 2]
> And in this case want to shift the point with catagory 110 by changing
> latDD_1, longDD_1 as user specify the new position. I am unable to do this
> because I could't find the source code relating to "Update Attribute". Any
> one please give me a technical reference.
>

You can find it in ./gui/wxpython/dbmgr/dialogs.py as class
DisplayAttributesDialog

Anna


> Thanks & Regards,
>
> Swapan
>
>
> On Thu, Jul 19, 2012 at 2:13 PM, Hamish <hamish_b at yahoo.com> wrote:
>
>> please reply to the whole list; others here know the vector, gui, db, and
>> ms windows
>> side of things much better than I do, and other readers might learn from
>> finding
>> the thread in the archives.
>>
>> note that changing the attribute table does not change the geometry in
>> GRASS.
>> for actually moving the point spatially you might try a tool like v.edit.
>>
>>
>> regards,
>> Hamish
>>
>>
>> --- On *Wed, 7/18/12, SWAPAN GHOSH <swap.ghsh at gmail.com>* wrote:
>>
>>
>> From: SWAPAN GHOSH <swap.ghsh at gmail.com>
>> Subject: Re: [GRASS-user] How we can pickup catagory, lat, long of a
>> point by mouse click event with reference to a vector point map
>> To: "Hamish" <hamish_b at yahoo.com>
>> Date: Wednesday, July 18, 2012, 6:11 AM
>>
>>
>> Dear Hamish,
>>
>> I am developer not user I would like to edit the window like-
>>  [image: Inline image 2]
>>  And in this case want to shift the point with catagory 110 by changing
>> latDD_1, longDD_1 as user specify the new position. I am unable to do this
>> because I could't find the source code relating to "Update Attribute"
>> Please give me a technical reference.
>>
>> Thanks & Regards,
>>
>> Swapan
>>
>>
>> On Wed, Jul 18, 2012 at 5:29 PM, Hamish <hamish_b at yahoo.com<http://mc/compose?to=hamish_b@yahoo.com>
>> > wrote:
>>
>> Swapan wrote:
>> > Yes I have lat long column but I would like to pickup these value to a
>> > text file by single click event. How I can do it.
>>
>> if using the UNIX xmons (not the wxGUI), you can use 'd.what.vect -x' and
>> -t for that. If using the wxGUI you have to cut and paste the results of
>> the query tool out of the output tab in the layer manager. (select + right
>> click in the text canvas)
>>
>>
>> Hamish
>>
>>
>>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120719/ce553fd3/attachment.html>


More information about the grass-user mailing list