[GRASS-user] generate a grid with sequential numbers

stefano at casalegno.net stefano at casalegno.net
Mon Sep 17 08:29:00 PDT 2012


 Hi,
If you are on linux you can generate an ascii text file 
echo "north: xxxxxx.xx" > your_ascii.txtecho "south: xxxxxx.xx" >> your_ascii.txtecho "east: xxxxxx.xx" >> your_ascii.txtecho "west: xxxxxx.xx" >> your_ascii.txtecho "rows: number of rows" >> your_ascii.txtecho "cols: number of cols" >> your_ascii.txt1
seq 1 number of pixels >> your_ascii.txt1
and then use 

r.in.ascii
Cheers

stefano


-----Original Message-----
From: Janet Choate [mailto:jsc.eco at gmail.com]
Sent: Monday, September 17, 2012 04:05 PM
To: grass-user at lists.osgeo.org
Subject: [GRASS-user] generate a grid with sequential numbers

Hi all,does anyone know how to generate a grid where the numbers are sequential?
i have used r.random.cells to create a grid, but grids are numbered, well, randomly.
thanx,
Janet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120917/29e66762/attachment-0001.html>


More information about the grass-user mailing list