[GRASS-user] problem in v.drape command

Markus Neteler neteler at itc.it
Mon Jul 9 09:43:21 EDT 2007


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
------------------




More information about the grass-user mailing list