Regarding raster maps
Malcolm Williamson
malcolm at cast.uark.edu
Wed Sep 11 08:00:00 EDT 1996
On Wed, 11 Sep 1996, User of Grass wrote:
> Hello,
> A very preliminary question. How can negative integers represented in a
> GRASS raster map. I have a data set on depth to the geologuc basement
> but when I import my data using v.in.ascii all negative numbers are
> automatically converted into positive values.
>
> Thanks in advance
>
I'll assume that you really meant "r.in.ascii", as you're talking about
raster maps. I just imported the following ASCII file successfully as a test:
north: 4001280
south: 3971040
east: 438840
west: 412200
rows: 2
cols: 2
-2 -3 -4 -5
Are you sure that you are formatting your file correctly? Are you working
with integers or floating point numbers. Although r.in.ascii is supposed
to round off floats, I haven't tested it with negative numbers. I'd be
interested in knowing the outcome of your attempts - feel free to contact
me for more discussion. Regards,
--
Malcolm D. Williamson - GIS Specialist E-mail: malcolm at cast.uark.edu
Center for Advanced Spatial Technologies Telephone: (501) 575-6159
Ozark Rm. 12 Fax: (501) 575-5218
University of Arkansas
Fayetteville, AR 72701
More information about the grass-user
mailing list