[GRASS-dev] Building a map to test my module
roberto caselli
roberto.caselli at yahoo.it
Wed Apr 23 06:27:52 EDT 2008
I used r.is.ascii with this example:
north: 4299000.00
south: 4247000.00
east: 528000.00
west: 500000.00
rows: 10
cols: 15
null: -9999
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
but that module gave me a raster map with all null cells
and with number of rows and cols different than those I wrote
in that input file
Glynn Clements <glynn a gclements.plus.com> ha scritto:
roberto caselli wrote:
> I need to test a part of my module and I'd like to know if it is
> possible to build a very little raster map starting with some data I'd
> send in input in that script (like elevations, areas, number of rows
> and cols and so on).
There are many ways to generate test maps. r.surf.random and
r.surf.gauss will generate random values, r.mapcalc can be used to
generate surfaces specified by an equation and/or random values,
r.in.xyz and r.in.ascii can be used to generate a map from data which
can be easily generated by a script.
Except for r.in.ascii, the bounds and resolution of any raster map
created as above will be determined by the current region.
--
Glynn Clements
---------------------------------
Inviato da Yahoo! Mail.
La casella di posta intelligente.
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080423/9f077f3c/attachment-0001.html
More information about the grass-dev
mailing list