[GRASS-user] d.rast.edit with multiple maps

Helmut Kudrnovsky hellik at web.de
Sun Aug 20 09:32:37 PDT 2017


Ken Mankoff wrote
> I nowe select a map from the dropdown, set the "Cell value:" to 9999,
> "Width:" to 30 (the resolution of the map), and select the point option,
> click 3x (3 green "+"'s appear), and then save the raster. If I then
> inspect it with "r.info", it appears to be a new raster created by this
> tool (based on the "Comments" section), but the max is not 9999:
> 
>> r.info DEM
> 
> +----------------------------------------------------------------------------+
>  |   Range of data:    min = 341  max = 589
>   |
>  |
>    |
>  |   Data Description:
>    |
>  |    generated by r.patch
>    |
>  |
>    |
>  |   Comments:
>    |
>  |    r.patch --overwrite --quiet input="xceebb34b,DEM_backupcopy_10405"
> o\
>   |
>  |    utput="DEM at DEM"
>   |
> 
> +----------------------------------------------------------------------------+
> 
> If I repeat with the area tool instead of the point tool, and select
> ~10x10
> area on a small raster (the region is only 80x50), when I save it it says
> "rasterizing..." for ~10 minutes and nothing appears to be happening.

now tested it with 

System Info                                                                     
GRASS version: 7.3.svn                                                          
GRASS SVN revision: r71404                                                      
Build date: 2017-08-15                                                          
Build platform: i386-w64-mingw32                                                
GDAL: 2.2.1                                                                     
PROJ.4: 4.9.3                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.17.0                                                                  
Python: 2.7.4                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)

on a very old windows box with the NC sample data set

g.region -p -a raster=elevation at PERMANENT align=elevation at PERMANENT
r.surf.random output=rrandom

r.info map=rrandom at user1
Range of data:    min = 1.65429668186334e-005  max = 99.9999642372131

after editing with cell value 9999 in the wxGUI

r.info map=rrandom at user1
Range of data:    min = 1.65429668186334e-005  max = 99.9999642372131
r.patch --overwrite --quiet input="x6cd2d029,rrandom_backupcopy_2220"
output="rrandom at user1"

I've experienced the same behaviour like you at the first step.

but in a second test:

r.info map=rrandom at user1
Range of data:    min = 1.65429668186334e-005  max = 888888888 
r.patch --overwrite --quiet input="x0738b000,rrandom_backupcopy_2220\"
output="rrandom at user1"

it seems to be a chronological matter of when you enter the cell value and
press the area/line/point button.

it works, at least here, when I enter first the cell value, than choose
area/line/point button, and then beginn to edit.



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/d-rast-edit-with-multiple-maps-tp5331874p5331935.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list