[GRASS-SVN] r72632 - grass/trunk/scripts/r.import
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 18 00:39:12 PDT 2018
Author: mmetz
Date: 2018-04-18 00:39:12 -0700 (Wed, 18 Apr 2018)
New Revision: 72632
Modified:
grass/trunk/scripts/r.import/r.import.py
Log:
r.import: use auto-adjustment for lat/lon
Modified: grass/trunk/scripts/r.import/r.import.py
===================================================================
--- grass/trunk/scripts/r.import/r.import.py 2018-04-18 07:19:05 UTC (rev 72631)
+++ grass/trunk/scripts/r.import/r.import.py 2018-04-18 07:39:12 UTC (rev 72632)
@@ -185,7 +185,7 @@
if flags['o'] or grass.run_command('r.in.gdal', input=GDALdatasource, flags='j',
errors='status', quiet=True) == 0:
parameters = dict(input=GDALdatasource, output=output,
- memory=memory, flags='k' + additional_flags + region_flag)
+ memory=memory, flags='ak' + additional_flags + region_flag)
if bands:
parameters['band'] = bands
try:
@@ -247,7 +247,7 @@
# import into temp location
grass.verbose(_("Importing <%s> to temporary location...") % GDALdatasource)
parameters = dict(input=GDALdatasource, output=output,
- memory=memory, flags='k' + additional_flags)
+ memory=memory, flags='ak' + additional_flags)
if bands:
parameters['band'] = bands
try:
More information about the grass-commit
mailing list