| 34 | |
| 35 | ---------- |
| 36 | = Command line method = |
| 37 | Starting from a valid location (in correct projection?) |
| 38 | |
| 39 | {{{ |
| 40 | # read in a tile |
| 41 | r.in.gdal -e input=/data/aegean1/nextmap_dems/neodc/by_tile/by_product/dsm/tl/tl17/tl17dsm/w001001.adf output=tl17 |
| 42 | # set the region of interest to the (two) tiles we want to export |
| 43 | g.region rast=tl17,tl27 |
| 44 | # patch them together into a single raster |
| 45 | r.patch input=tl17,tl27 output=tl17and27 |
| 46 | # write out as an ASCII DEM (needs editing as above) |
| 47 | r.out.ascii input=tl17and27 output=/tmp/tl17and27.dem null=* |
| 48 | }}} |