Re: [GRASS-dev] r.in.gdal: restrict extent of imported data set to current region?

2016-08-19 Thread Paulo van Breugel
On 19-08-16 09:56, Markus Neteler wrote: On Thu, Aug 18, 2016 at 7:07 PM, Veronica Andreo wrote: Hello Markus, Ohh, I would so very much like that -r flag in r.in.gdal (https://trac.osgeo.org/grass/ticket/2055)... For the time being, what about: r.external r.mapcalc

Re: [GRASS-dev] r.in.gdal: restrict extent of imported data set to current region?

2016-08-19 Thread Markus Neteler
On Thu, Aug 18, 2016 at 7:07 PM, Veronica Andreo wrote: > Hello Markus, > > Ohh, I would so very much like that -r flag in r.in.gdal > (https://trac.osgeo.org/grass/ticket/2055)... > > For the time being, what about: > > r.external > r.mapcalc > g.remove > > ? yeah,

Re: [GRASS-dev] r.in.gdal: restrict extent of imported data set to current region?

2016-08-18 Thread Helmut Kudrnovsky
Markus Neteler wrote > Hi, > > for the upcoming GRASS GIS course at the FOSS4G [1] I have processed a > set of Sentinel-2 scenes + a Landsat time series. > Altogether it accumulates to 90GB of compressed GeoTIFFs. > Since that's not very practical for a course, I would like to loop > over all

Re: [GRASS-dev] r.in.gdal: restrict extent of imported data set to current region?

2016-08-18 Thread Newcomb, Doug
On Thu, Aug 18, 2016 at 1:07 PM, Veronica Andreo wrote: > Hello Markus, > > Ohh, I would so very much like that -r flag in r.in.gdal ( > https://trac.osgeo.org/grass/ticket/2055)... > > For the time being, what about: > > r.external > r.mapcalc > g.remove > > ? > > or

Re: [GRASS-dev] r.in.gdal: restrict extent of imported data set to current region?

2016-08-18 Thread Veronica Andreo
Hello Markus, Ohh, I would so very much like that -r flag in r.in.gdal ( https://trac.osgeo.org/grass/ticket/2055)... For the time being, what about: r.external r.mapcalc g.remove ? or passing the xmin, xmax, ymin, ymax to gdal_translate with -projwin and then r.in.gdal? Dunno how efficient

[GRASS-dev] r.in.gdal: restrict extent of imported data set to current region?

2016-08-18 Thread Markus Neteler
Hi, for the upcoming GRASS GIS course at the FOSS4G [1] I have processed a set of Sentinel-2 scenes + a Landsat time series. Altogether it accumulates to 90GB of compressed GeoTIFFs. Since that's not very practical for a course, I would like to loop over all files and cut the extent by the