<div dir="auto"><div>Correction: it is mentioned under 'known issues'... :)</div><div dir="auto"><br></div><div dir="auto">Vero<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">El 6 abr. 2017 9:05 p. m., "Veronica Andreo" <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>> escribió:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hello Thomas,<div dir="auto"><br></div><div dir="auto">If the map you are importing has the same projection than the location, then extent parameter is ignored. It is not a bug, but how the module works. It is written in the 'Notes' section, I think. The extent parameter works only when map and target location have different reference systems.</div><div dir="auto"><br></div>Best,</div><div dir="auto">Vero<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote"><div class="elided-text">El 6 abr. 2017 8:59 p. m., "Tomáš Brunclík" <<a href="mailto:brunclik@atlas.cz" target="_blank">brunclik@atlas.cz</a>> escribió:<br type="attribution"></div><blockquote class="m_-8450022649797501462quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">
<div 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/Ch<wbr>lorofyl-vzorkovani/2016-09-13_<wbr>R122_S2A_samping_09-13/S2A_USE<wbr>R_PRD_MSIL2A_PDMC_20160915T151<wbr>344_R122_V20160913T100022_2016<wbr>0913T100504.SAFE/GRANULE/S2A_<wbr>USER_MSI_L2A_TL_SGS__20160913T<wbr>170505_A006411_T33UWR_N02.04/<wbr>IMG_DATA/R20m/S2A_USER_MSI_<wbr>L2A_TL_SGS__20160913T170505_<wbr>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):~ > <a href="http://r.info" target="_blank">r.info</a>
map=20160913_R122.3b</tt><tt><br>
</tt><tt> +----------------------------<wbr>------------------------------<wbr>------------------+</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 <wbr> <wbr>
|</tt><tt><br>
</tt><tt> | DataBase:
/home/tom/GISdata/grass <wbr> <wbr>
|</tt><tt><br>
</tt><tt> |
Title: <wbr> <wbr>
|</tt><tt><br>
</tt><tt> | Timestamp:
none <wbr> <wbr>
|</tt><tt><br>
</tt><tt> |----------------------------<wbr>------------------------------<wbr>------------------|</tt><tt><br>
</tt><tt> | <wbr> <wbr>
|</tt><tt><br>
</tt><tt> | Type of Map: raster Number of
Categories: 0 |</tt><tt><br>
</tt><tt> | Data Type:
CELL <wbr> |</tt><tt><br>
</tt><tt> | Rows:
5490 <wbr> |</tt><tt><br>
</tt><tt> | Columns:
5490 <wbr> |</tt><tt><br>
</tt><tt> | Total Cells:
30140100 <wbr> |</tt><tt><br>
</tt><tt> | Projection: UTM (zone
33) <wbr> |</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 <wbr> |</tt><tt><br>
</tt><tt> | <wbr> <wbr>
|</tt><tt><br>
</tt><tt> | Data
Description: <wbr> <wbr>
|</tt><tt><br>
</tt><tt> | generated by
r.in.gdal <wbr> |</tt><tt><br>
</tt><tt> | <wbr> <wbr>
|</tt><tt><br>
</tt><tt> |
Comments: <wbr> <wbr>
|</tt><tt><br>
</tt><tt> | r.in.gdal -o -k
input="/home/tom/GISdata/DPZ/C<wbr>hlorofyl-vzorkovani/20\ |</tt><tt><br>
</tt><tt> |
16-09-13_R122_S2A_samping_09-1<wbr>3/S2A_USER_PRD_MSIL2A_PDMC_201<wbr>60915T15\
|</tt><tt><br>
</tt><tt> |
1344_R122_V20160913T100022_201<wbr>60913T100504.SAFE/GRANULE/S2A_<wbr>USER_MSI\
|</tt><tt><br>
</tt><tt> |
_L2A_TL_SGS__20160913T170505_A<wbr>006411_T33UWR_N02.04/IMG_DATA/<wbr>R20m/S2A\
|</tt><tt><br>
</tt><tt> |
_USER_MSI_L2A_TL_SGS__20160913<wbr>T170505_A006411_T33UWR_B04_<wbr>20m.jp2"
ou\ |</tt><tt><br>
</tt><tt> | tput="20160913_R122.3b" memory=300 offset=0
num_digits=0 |</tt><tt><br>
</tt><tt> | <wbr> <wbr>
|</tt><tt><br>
</tt><tt> +----------------------------<wbr>------------------------------<wbr>------------------+</tt><tt><br>
</tt><tt><br>
</tt><tt>GRASS 7.2.1svn (utm33n):~ > </tt></font><font size="+1"><br>
</font><br>
</p>
</div>
<br></div>______________________________<wbr>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/grass-user</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>