[GRASS-user] problem in v.drape command

Jerry Nelson gnelson at uiuc.edu
Mon Jul 9 10:18:21 EDT 2007


Is this a place where the error message could be made clearer? For example,
could it add possible sources of the problem such as the one Markus
indicated, or are there too many possibilities for ways to do it wrong?

Jerry

-----Original Message-----
From: grassuser-bounces at grass.itc.it [mailto:grassuser-bounces at grass.itc.it]
On Behalf Of Markus Neteler
Sent: Monday, July 09, 2007 8:43 AM
To: grassuser at grass.itc.it
Subject: Re: [GRASS-user] problem in v.drape command

temiz wrote on 07/09/2007 07:26 PM:
> hello
>
> when I entered this command, I received following error message:
>
> ~~~~~~~~~~~~
> GRASS 6.3.cvs (bartin):~ > v.drape in=jeo3 out=jeo3d2 rast=eldene
> type=face --overwrite
> defaulting to nearest neighbor sampling
> WARNING: The vector 'jeo3d2' already exists and will be overwritten.
> WARNING: [eldene in orkun] - read request for row -1 is outside region
> ERROR: problem reading raster cell file
> [Raster MASK present]
> ~~~~~~~~~~~~~
>
> can you tell me what the problem may be ?
The problem is that the vector map is bigger than the raster map.
You need to use

g.region rast=dem
v.in.region box
v.overlay ... with box and your vector map to restrict the vector map to
the DEM size
v.drape ... with the reduced vector map.

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------

_______________________________________________
grassuser mailing list
grassuser at grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list