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

2016-08-19 Thread Markus Neteler
On Fri, Aug 19, 2016 at 10:44 AM, Paulo van Breugel wrote: ... >> https://grass.osgeo.org/grass72/manuals/g.region.html#using-g.region-in-a-shell-in-combination-with-gdal > > A (very) minor point, I would suggest to avoid using very long complicated > names for data layers in examples (like p016r0

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 g.remove ? yeah, mayb

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, maybe... > or passing the xmi

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 file

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 passing the xmin, xmax, ymin

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 w

[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 current