<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>Using GRASS 7.2.1svn r70842 (Linux 64bit from today's binary
      snapshot) and it seems the extent=region parameter of the r.import
      is just ignored. Tried from GUI, then from command line, first
      with multi band virtual raster, then with single JPEG2000 file (as
      in the example below), with and without the -n option. Is it a
      known bug, or does it work for someone, perhaps in some other
      version, or with other input formats? I tried to look in trac, but
      did not see anything. I am aware how I can clip the rasters after
      import, but it seemed one of the fine new features which would
      make the daily use a little more comfortable... <br>
    </p>
    <p>Tomas Brunclik<br>
    </p>
    <p><br>
    </p>
    <p><font size="+1"><tt>GRASS 7.2.1svn (utm33n):~ > r.import -o
input=/home/tom/GISdata/DPZ/Chlorofyl-vzorkovani/2016-09-13_R122_S2A_samping_09-13/S2A_USER_PRD_MSIL2A_PDMC_20160915T151344_R122_V20160913T100022_20160913T100504.SAFE/GRANULE/S2A_USER_MSI_L2A_TL_SGS__20160913T170505_A006411_T33UWR_N02.04/IMG_DATA/R20m/S2A_USER_MSI_L2A_TL_SGS__20160913T170505_A006411_T33UWR_B04_20m.jp2
          output=20160913_R122.3b extent=region</tt><tt><br>
        </tt><tt>UPOZORNĚNÍ: Přeskakuje se kontrola kartografického
          zobrazení.</tt><tt><br>
        </tt><tt>Proceeding with import of 1 raster bands...</tt><tt><br>
        </tt><tt>Importing raster map <20160913_R122.3b>...</tt><tt><br>
        </tt><tt> 100%</tt><tt><br>
        </tt><tt>GRASS 7.2.1svn (utm33n):~ > g.region -p</tt><tt><br>
        </tt><tt>projection: 1 (UTM)</tt><tt><br>
        </tt><tt>zone:       33</tt><tt><br>
        </tt><tt>datum:      wgs84</tt><tt><br>
        </tt><tt>ellipsoid:  a=6378137 es=0.00669438</tt><tt><br>
        </tt><tt>north:      5569000</tt><tt><br>
        </tt><tt>south:      5543320</tt><tt><br>
        </tt><tt>west:       531260</tt><tt><br>
        </tt><tt>east:       570320</tt><tt><br>
        </tt><tt>nsres:      20</tt><tt><br>
        </tt><tt>ewres:      20</tt><tt><br>
        </tt><tt>rows:       1284</tt><tt><br>
        </tt><tt>cols:       1953</tt><tt><br>
        </tt><tt>cells:      2507652</tt><tt><br>
        </tt><tt>GRASS 7.2.1svn (utm33n):~ > r.info
          map=20160913_R122.3b</tt><tt><br>
        </tt><tt> +----------------------------------------------------------------------------+</tt><tt><br>
        </tt><tt> | Map:      20160913_R122.3b               Date: Thu
          Apr  6 20:27:43 2017    |</tt><tt><br>
        </tt><tt> | Mapset:   sentinel2test                  Login of
          Creator: tom             |</tt><tt><br>
        </tt><tt> | Location:
          utm33n                                                          
          |</tt><tt><br>
        </tt><tt> | DataBase:
          /home/tom/GISdata/grass                                         
          |</tt><tt><br>
        </tt><tt> |
Title:                                                                    
          |</tt><tt><br>
        </tt><tt> | Timestamp:
          none                                                           
          |</tt><tt><br>
        </tt><tt> |----------------------------------------------------------------------------|</tt><tt><br>
        </tt><tt> |                                                                           
          |</tt><tt><br>
        </tt><tt> |   Type of Map:  raster               Number of
          Categories: 0               |</tt><tt><br>
        </tt><tt> |   Data Type:   
          CELL                                                       |</tt><tt><br>
        </tt><tt> |   Rows:        
          5490                                                       |</tt><tt><br>
        </tt><tt> |   Columns:     
          5490                                                       |</tt><tt><br>
        </tt><tt> |   Total Cells: 
          30140100                                                   |</tt><tt><br>
        </tt><tt> |        Projection: UTM (zone
          33)                                           |</tt><tt><br>
        </tt><tt> |            N:    5600040    S:    5490240   Res:   
          20                     |</tt><tt><br>
        </tt><tt> |            E:     609780    W:     499980   Res:   
          20                     |</tt><tt><br>
        </tt><tt> |   Range of data:    min = 1  max =
          17010                                   |</tt><tt><br>
        </tt><tt> |                                                                           
          |</tt><tt><br>
        </tt><tt> |   Data
          Description:                                                       
          |</tt><tt><br>
        </tt><tt> |    generated by
          r.in.gdal                                                  |</tt><tt><br>
        </tt><tt> |                                                                           
          |</tt><tt><br>
        </tt><tt> |  
          Comments:                                                               
          |</tt><tt><br>
        </tt><tt> |    r.in.gdal -o -k
          input="/home/tom/GISdata/DPZ/Chlorofyl-vzorkovani/20\   |</tt><tt><br>
        </tt><tt> |   
          16-09-13_R122_S2A_samping_09-13/S2A_USER_PRD_MSIL2A_PDMC_20160915T15\  
          |</tt><tt><br>
        </tt><tt> |   
          1344_R122_V20160913T100022_20160913T100504.SAFE/GRANULE/S2A_USER_MSI\  
          |</tt><tt><br>
        </tt><tt> |   
          _L2A_TL_SGS__20160913T170505_A006411_T33UWR_N02.04/IMG_DATA/R20m/S2A\  
          |</tt><tt><br>
        </tt><tt> |   
          _USER_MSI_L2A_TL_SGS__20160913T170505_A006411_T33UWR_B04_20m.jp2"
          ou\   |</tt><tt><br>
        </tt><tt> |    tput="20160913_R122.3b" memory=300 offset=0
          num_digits=0                |</tt><tt><br>
        </tt><tt> |                                                                           
          |</tt><tt><br>
        </tt><tt> +----------------------------------------------------------------------------+</tt><tt><br>
        </tt><tt><br>
        </tt><tt>GRASS 7.2.1svn (utm33n):~ > </tt></font><font
        size="+1"><br>
      </font><br>
    </p>
  </body>
</html>