I used r.is.ascii with this example:<br><br><div class="code"><pre>north: 4299000.00<br>south: 4247000.00<br>east: 528000.00<br>west: 500000.00<br>rows: 10 <br>cols: 15 <br>null: -9999 <br><br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br><br>but that module gave me a raster map with all null cells<br>and with number of rows and cols different than those I wrote<br>in that input file<br></pre></div> <br><br><b><i>Glynn Clements <glynn@gclements.plus.com></i></b> ha
scritto:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <br>roberto caselli wrote:<br><br>> I need to test a part of my module and I'd like to know if it is<br>> possible to build a very little raster map starting with some data I'd<br>> send in input in that script (like elevations, areas, number of rows<br>> and cols and so on).<br><br>There are many ways to generate test maps. r.surf.random and<br>r.surf.gauss will generate random values, r.mapcalc can be used to<br>generate surfaces specified by an equation and/or random values,<br>r.in.xyz and r.in.ascii can be used to generate a map from data which<br>can be easily generated by a script.<br><br>Except for r.in.ascii, the bounds and resolution of any raster map<br>created as above will be determined by the current region.<br><br>-- <br>Glynn Clements <glynn@gclements.plus.com><br></glynn@gclements.plus.com></blockquote><br><p> 
<hr size=1>
Inviato da <a
href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52437/*http://it.docs.yahoo.com/mail/overview/index.html" target=_blank>Yahoo! Mail</a>.
<br>
La casella di posta intelligente.