[GRASS-dev] [bug #4606] (grass) v.drape: read request for row -1

this bug's URL: http://intevation.de/rt/webrt?serial_num=4606
-------------------------------------------------------------------------

Hi,

there is a problem in
lib/gis/sample.c

GRASS 6.1.cvs (spearfish60):~ > v.drape soils rast=elevation.dem out=soils3d --o
defaulting to nearest neighbor sampling
WARNING: [elevation.dem in PERMANENT] - read request for row -1 is outside
         region
ERROR: problem reading raster cell file

this affects all modules using these functions.
Anything which could be done here?

Markus

--- Headers Follow ---

From neteler@itc.it Wed Jun 14 17:32:00 2006

Return-Path: <neteler@itc.it>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id 8A3CC1006A4
  for <grass-bugs@lists.intevation.de>; Wed, 14 Jun 2006 17:32:00 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id 4D14D37127
  for <grass-bugs@lists.intevation.de>; Wed, 14 Jun 2006 17:32:00 +0200 (CEST)
Received: from mail.itc.it (ns.itc.it [217.77.80.3])
  by mail.intevation.de (Postfix) with ESMTP id 07EF936D64
  for <grass-bugs@intevation.de>; Wed, 14 Jun 2006 17:31:58 +0200 (CEST)
Received: from orchestra.itc.it (orchestra [10.0.10.11])
  by mail.itc.it (8.12.11.20060308/8.12.11) with ESMTP id k5EFVv69017508
  for <grass-bugs@intevation.de>; Wed, 14 Jun 2006 17:31:57 +0200
Received: from bartok.itc.it. (bartok [10.40.0.190])
  by orchestra.itc.it (8.12.11.20060308/8.12.11) with ESMTP id k5EFVvQV019701
  for <grass-bugs@intevation.de>; Wed, 14 Jun 2006 17:31:57 +0200
Received: from bartok.itc.it. (localhost.localdomain [127.0.0.1])
  by bartok.itc.it. (8.13.1/8.13.1) with ESMTP id k5EFVvet027953
  for <grass-bugs@intevation.de>; Wed, 14 Jun 2006 17:31:57 +0200
Received: (from neteler@localhost)
  by bartok.itc.it. (8.13.1/8.13.1/Submit) id k5EFVvie027952
  for grass-bugs@intevation.de; Wed, 14 Jun 2006 17:31:57 +0200
Date: Wed, 14 Jun 2006 17:31:57 +0200
From: Markus Neteler <neteler@itc.it>
To: grass-bugs@intevation.de
Subject: v.drape: read request for row -1
Message-ID: <20060614153157.GC27829@bartok.itc.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-PGP-Key: http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint: D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
User-Agent: Mutt/1.5.11
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker