On Sat, Nov 19, 2016 at 6:17 PM, Anna Petrášová <[email protected]> wrote: > On Sat, Nov 19, 2016 at 10:55 AM, Markus Neteler <[email protected]> wrote: >> On Nov 19, 2016 2:08 PM, "Anna Petrášová" <[email protected]> wrote: ... >> Did you set the cache? Eg >> >> export GDAL_CACHEMAX=2000 > > I installed GDAL 2.1.2 and set the cachemax, but it doesn't help, it's > still slow. I might try the ECW then.
(got the file offlist) So, the file size is 154M. My test: gdal-config --version 2.0.2 gdalinfo ESP_035583_2060_RED.JP2 | grep driver Driver: JP2OpenJPEG/JPEG-2000 driver based on OpenJPEG library time -p grass72 -c ESP_035583_2060_RED.JP2 ~/grassdata/mars_dem --exec r.import input=ESP_035583_2060_RED.JP2 output=ESP_035583_2060_RED Cleaning up temporary files... Creating new GRASS GIS location/mapset... Executing <r.import input=ESP_035583_2060_RED.JP2 output=ESP_035583_2060_RED> ... WARNING: Datum <unknown> not recognised by GRASS and no parameters found WARNING: Datum <unknown> not recognised by GRASS and no parameters found WARNING: Datum <unknown> not recognised by GRASS and no parameters found Proceeding with import of 1 raster bands... Importing raster map <ESP_035583_2060_RED>... .... it takes forever. Note: The difference with QGIS is here that we import while QGIS is simply viewing it using the image pyramids which are useless when it comes to import. Can you make a test with GDAL 2.1? Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
