Opened 8 years ago
Closed 8 years ago
#3085 closed defect (fixed)
Batch import with import raster data tool does not recognize projection information
Reported by: | pvanbosgeo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.5 |
Component: | Default | Version: | unspecified |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
Importing using the Import raster data (menu: file - import raster data - common formats import) works as advertised when importing a file. However, when trying to import a batch of rasters in a directory, the 'reprojection' screen is shown, with the message that 'projection of following layers do not match with projection of current location (followed by a list of all layers in that directory).
I have had this issue with layers from various data sets, including last data from the Africlim (https://grasswiki.osgeo.org/wiki/Global_datasets#Africlim_maps) data set, which are latlon (wgs84) layers with identical coordinate system header (using gdalinfo).
To reproduce this, one can export the raster layers from the NC sample data set, and then import them all in once using the import raster data tool.
g.region raster=soils r.out.gdal input=soils output=/home/paulo/Desktop/test/soils.tif format=GTiff r.out.gdal input=landuse output=/home/paulo/Desktop/test/landuse.tif format=GTiff r.out.gdal input=geology output=/home/paulo/Desktop/test/geology.tif format=GTiff r.out.gdal input=elevation output=/home/paulo/Desktop/test/elevation.tif format=GTiff
Now, when importing them, the same warning is shown (see screenshot)
I am running grass 7.3dev r68774 (but I have experienced the same with many previous revisions) on Ubuntu 14.04.
Attachments (1)
Change History (4)
by , 8 years ago
Attachment: | screenshot reprojection screen.png added |
---|
comment:1 by , 8 years ago
What exactly is the issue, here ?
I get the exact same window be it with one file or with a directory. It is just an additional step to make you conscious about the fact that the module will proceed with reprojecting the files. Just select the files you are sure you want to import with reprojection and then proceed.
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Was backported in r68816. Reopen if needed.
Screenshot Reprojection screen that follows when trying to import layers from directory using the 'import raster data' tool