Re: [GRASS-user] d.rast.edit does not save edited map although Save button is pressed

2008-12-16 Thread Hamish
George:
   Hi, I must be doing something wrong with the following:

   The edited data is not saved in the output map 

   Any clues what I might be doing wrong. ?

Glynn:
 You can't enter values into the Value and Aspect fields on the top row
 (it may let you type into them, but it won't have any effect).
 
 You choose the new value either by right-clicking on a cell (to use
 that cell's value), or by typing the cell value into the Value field
 on the bottom row (to the left of the colour sample).
 
 You can then set cells to the chosen value by left-clicking on the
 cells.


perhaps this is a factor here:  http://trac.osgeo.org/grass/ticket/86


Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] d.rast.edit does not save edited map although Save button is pressed

2008-12-15 Thread Glynn Clements

georgew wrote:

 Hi, I must be doing something wrong with the following:
 
 d.rast.edit input=track21_r...@permanent output=track21_edited_rast
 aspect=contours21_r...@permanent width=640 height=480 size=12 rows=200
 cols=200 --overwrite 
 
 The edited data is not saved in the output map which remains identical to
 the input map, although I pressed the Save button in the grid display.
  All the data is in my home directory (and anyway using sudo d.rast.edit
 results in d.rast.edit not found error.)
 Any clues what I might be doing wrong. ?

What is the nature of the editing? If the only changes are setting
specific cells to null, that's one thing which d.rast.edit can't
handle. You would need to set the cells to some unused value then
subsequently change them to nulls with r.null.

If you're changing cells to non-null values, then I don't know what
the problem is.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] d.rast.edit does not save edited map although Save button is pressed

2008-12-15 Thread georgew

thanks Glynn, here is what I am doing. After I type the command two new
windows open up: one a grid with a faint outline of the input raster maps,
the other what I consider to be a navigation window, to help displaying on
the grid the area to be edited.
I want to extend the track21_raster map line, a walking track. So I click on
the cell nearest to the last colored cell in the grid and enter the two
category values I have, in the bottom grid display boxes: one called value
(I enter a 1, the track segment value), the other aspect (I enter the
elevation, 640) then press enter. (There is a third box called also Value,
which I leave blank as I don't know what to place there!).
A new whitish cell is created. I repeat the process for a few cells then
save, but nothing is saved. The output map is identical to the input. The
following is displayed in the terminal:
WARNING: Raster map tmp.d.rast.edit not found
WARNING: tmp.d.rast.edit nothing removed
Is it possible that the new cells are painted in white therefore invisible
when seen in the display? I have not found a way to change their color.
Any further help you can give will be most welcome.
By the way I am on GRASS 6.3 and  Ubuntu 8.04.


Glynn Clements wrote:
 
 
 georgew wrote:
 
 Hi, I must be doing something wrong with the following:
 
 d.rast.edit input=track21_r...@permanent output=track21_edited_rast
 aspect=contours21_r...@permanent width=640 height=480 size=12 rows=200
 cols=200 --overwrite 
 
 The edited data is not saved in the output map which remains identical to
 the input map, although I pressed the Save button in the grid display.
  All the data is in my home directory (and anyway using sudo
 d.rast.edit
 results in d.rast.edit not found error.)
 Any clues what I might be doing wrong. ?
 
 What is the nature of the editing? If the only changes are setting
 specific cells to null, that's one thing which d.rast.edit can't
 handle. You would need to set the cells to some unused value then
 subsequently change them to nulls with r.null.
 
 If you're changing cells to non-null values, then I don't know what
 the problem is.
 
 -- 
 Glynn Clements gl...@gclements.plus.com
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
 
 

-- 
View this message in context: 
http://www.nabble.com/d.rast.edit-does-not-save-edited-map-although-Save-button-is-pressed-tp21011399p21020243.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user