[GRASS-dev] How to check if a vector map is multi-layer?

Luca Delucchi lucadeluge at gmail.com
Thu Nov 13 02:23:09 PST 2014


On 13 November 2014 02:47, Anna Petrášová <kratochanna at gmail.com> wrote:

>
> Hi Luca,
>

Hi Anna,

>>
>>
>> I improved you patch adding a new combobox to choose the layer number.
>> I have some problems with wxpython:
>> - I added two GError (if the vector has no areas or if the vector has
>> no dblinks), but when they appear they are back to the layertree, I
>> tried to close the layertree before using Dismiss() but it return me
>> and error
>>
>> - I'm not able to cleanup the layer number combox if the vector is
>> without dblinks o without areas
>>
> can you try this new version? I also did some changes for wxPython 3
> compatibility
>

thanks a lot I committed it (with some small changes).
Your was a workaround, not a fix of my problem, but I like the idea,
it is simpler and it works ;-)

Just a question, my implementation was wrong or is a limit of wxpython?

> Anna
>

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list