#2055: r.in.gdal lacks flag "-r Limit import to the current region" -------------------------+-------------------------------------------------- Reporter: neteler | Owner: grass-dev@… Type: enhancement | Status: new Priority: normal | Milestone: 7.0.0 Component: Raster | Version: svn-trunk Keywords: r.in.gdal | Platform: Unspecified Cpu: Unspecified | -------------------------+--------------------------------------------------
Comment(by mmetz): Replying to [ticket:2055 neteler]: > While v.in.ogr offers "-r Limit import to the current region" > the module r.in.gdal does not. > v.in.ogr -r imports all features that overlap with the current region. The result might thus have extents extending beyond the current region, which makes sense. Translated to raster import, I see a disadvantage when limiting the import to the current region: for a given project, raw data are commonly coming from different sources with different extents and resolution. You would then need to use one of the r.resamp.* modules to resampling raw data to the current region, and r.resamp.* modules typically extend the current region by the margin required for resampling (if not nn). Limiting the import to the current region followed by resampling would thus eat away rows and columns at the region's borders. What would be the advantage of r.in.gdal -r? -- Ticket URL: <http://trac.osgeo.org/grass/ticket/2055#comment:1> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev