Hi, Janet and all.
can anyone tell me how to make 2 rasters out of my 1 along a user specified
line, or how to successfully digitize this?
thank you,
I wrote a small shell script <r.split.line> for splitting the raster map into parts with the line(s). Hope it will be useful.
./r.split.line -help
Description:
Split raster into parts with vector line(s). Lines MUST intersect the whole raster map.
Keywords:
raster,vector
Usage:
r.split.line raster=name line=name [–verbose] [–quiet]
Flags:
–v Verbose module output
–q Quiet module output
Parameters:
raster Name of input raster map
line Name of vector map with line(s)
The script is attached.
Spearfish example (raster <elevation.10m>) with animation in GIF:
http://img708.imageshack.us/img708/7835/rsplitline.gif
(attachments)
r.split.line.gz (1.47 KB)
marisn
2
Hello Alexander,
if You are not willing to make it into GRASS addon, then, please,
submit it to issue tracking system so it doesn't get lost in ML.
Thanks!
Maris.
2012/8/22 Alexander Muriy <amuriy@gmail.com>:
Hi, Janet and all.
can anyone tell me how to make 2 rasters out of my 1 along a user
specified
line, or how to successfully digitize this?
thank you,
I wrote a small shell script <r.split.line> for splitting the raster map
into parts with the line(s). Hope it will be useful.
--------------------------------------------------
./r.split.line -help
Description:
Split raster into parts with vector line(s). Lines MUST intersect the whole
raster map.
Keywords:
raster,vector
Usage:
r.split.line raster=name line=name [--verbose] [--quiet]
Flags:
--v Verbose module output
--q Quiet module output
Parameters:
raster Name of input raster map
line Name of vector map with line(s)
---------------------------------------------------
The script is attached.
Spearfish example (raster <elevation.10m>) with animation in GIF:
http://img708.imageshack.us/img708/7835/rsplitline.gif
---------------------------------------------------
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Hi Maris and all.
<r.split.line> is already in my github repository (https://raw.github.com/amuriy/GRASS-scripts/master/r.split.line) and on GRASS AddOns wiki page (http://grass.osgeo.org/wiki/GRASS_AddOns#r.split.line).
2012/8/23 Maris Nartiss <maris.gis@gmail.com>
Hello Alexander,
if You are not willing to make it into GRASS addon, then, please,
submit it to issue tracking system so it doesn’t get lost in ML.
Best regards for all GRASS’ers,
Alexander.