[GRASS-user] How to split raster map by specified rows

Helmut Kudrnovsky hellik at web.de
Fri Nov 9 02:45:15 PST 2012


hi

>Is there a way to split raster by rows? For example if I have a GeoTiff
file with 8000 rows I want to >split it into 8 files 1000 row per each.

r.info (http://grass.osgeo.org/grass64/manuals/html64_user/r.info.html) to
get the raster extent
g.region (http://grass.osgeo.org/grass64/manuals/html64_user/g.region.html)
to set region accordingly to the tiles:


e.g.
g.region rast=yourraster
g.region n=s+1000 e=w+1000, etc.



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-split-raster-map-by-specified-rows-tp5015096p5015106.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list