[GRASS-user] g.rename & wx GUI

Michael Barton michael.barton at asu.edu
Sun Jan 18 16:23:26 EST 2009


On Jan 18, 2009, at 2:14 PM, Martin Landa wrote:

> Hi,
>
> 2009/1/18 Michael Barton <michael.barton at asu.edu>:
>> On Jan 18, 2009, at 10:00 AM, <grass-user-request at lists.osgeo.org>  
>> wrote:
>>> 6)in Layer Manager ->properties ->"Name of imput vector map" set the
>>> new name of vector map
>>> 7)try re-render map display: get nothing.
>>> 8)To display vector map (which is just  renamed) I have to remove
>>> vector layer from Gis Layer Manager (lost all setting properties)  
>>> and
>>> re-add.
>>>
>>> Is it possible to avoid point 8 (map display refresh with the same
>>> vector with new name)?
>>
>> This is a user error, not a problem with the GUI. The GUI is behaving
>> correctly. While it would be nice to make the GUI sufficiently  
>> robust to
>> deal with such user errors, but I'm not sure how. You have told the
>> rendering system to display a map of a particular name. Then you  
>> changed the
>> name of the map. Lacking cyberpsychic abilities, is no way for the  
>> rendering
>> system to know the new name of the map unless you tell it. So when  
>> it tries
>> to render a map that no longer exists, it correctly gives an error  
>> message
>> that the map doesn't exist.
>
> that's right, but Paulo reported something else,
>
>>> 6)in Layer Manager ->properties ->"Name of imput vector map" set the
>>> new name of vector map
>>> 7)try re-render map display: get nothing.
>
> <- here the map layer should have been rendered again. Now fixed in
> all active branches.


Thanks. My mistake for reading too fast.

Michael



More information about the grass-user mailing list