<div dir="ltr"><div><br><br>On Wed, Mar 22, 2017 at 8:12 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>><br>> On Sat, Mar 11, 2017 at 7:01 PM, Markus Metz<br>> <<a href="mailto:markus.metz.giswork@gmail.com">markus.metz.giswork@gmail.com</a>> wrote:<br>> > On Sat, Mar 11, 2017 at 8:53 AM, Nikos Alexandris <<a href="mailto:nik@nikosalexandris.net">nik@nikosalexandris.net</a>><br>> > wrote:<br>> >><br>> >> Nikos Alexandris<br>> >><br>> >>>> Why does (attempting to) import a 38m pixel resolution GHSL [0] GeoTIFF<br>> >>>> layer, ie GHS_BUILT_LDS1990_GLOBE_R2016A_3857_38_v1_0_p1.tif, in GRASS'<br>> >>>> db progress slow?<br>> ><br>> > because it is a very large raster map: Size is 507904, 647168<br>><br>> Nikos, for an even bigger map try<br>><br>> Global Surface Water (2000-2012, 30 m, Data coverage is from 80° north<br>> to 60° south): <a href="http://landcover.usgs.gov/glc/WaterDescriptionAndDownloads.php">http://landcover.usgs.gov/glc/WaterDescriptionAndDownloads.php</a><br>> by USGS. 1.6GB in size.<br>><br>> Using gdalbuildvrt I created a VRT from the 504 GeoTIFF files.<br>><br>> After import into GRASS GIS, here the timings:<br>><br>> # final map size:<br>> g.region -p<br>> ...<br>> rows:       493200<br>> cols:       1296001<br>> cells:      639187693200<br>><br>> (handling only works in GRASS GIS 7.3.svn since Markus Metz's recent<br>> improvements on global data import are needed).<br><br></div>(my changes were bug fixes, not improvements)<br><div><br>><br>> Benchmarks:<br>> - Import took 2h while reading the data from a CIFS mounted storage<br>> box (slow) and writing on SSD.<br>> - Displaying the entire map (639 giga-pixel) in GRASS GIS' display<br>> (d.mon) took ~15 sec over a ssh tunnel from my laptop to the server,<br>> since I am at a conference.<br>><br>> Fair deal I would say :-)<br><br></div><div>A bit more information would help to compare:<br></div><div> - what is your GDAL version?<br></div><div> - are 504 GeoTIFF files compressed? If yes, which method?<br></div><div> - what are the block dimensions of the input GeoTIFFs?<br></div><div> - what kind of GRASS compression did you use?<br></div><div><br></div><div>Markus M <br></div></div>