Bug report #3729

GdalTools - Virtual Raster Creation: File Path Character Limit

Added by jeffm - almost 13 years ago. Updated almost 13 years ago.

Status:Closed
Priority:Low
Assignee:Giuseppe Sucameli
Category:GDAL Tools
Affected QGIS version: Regression?:No
Operating System:OS X Easy fix?:No
Pull Request or Patch supplied: Resolution:duplicate
Crashes QGIS or corrupts data: Copied to github as #:13788

Description

If one wants to build a virtual raster with GdalTools, there is a limit of 32767 characters for all of the input file path names combined. A quick Google search revealed that 32767 is the range of an integer, so it seems that that's where the problem lies.

In my test case each file path was 61 characters long, so that limits me to 537 tiles per virtual raster. Even if I moved all of the rasters to the directory root and renamed each tile with a shorter name, I could only get the path for each file down to 15 characters or if I wanted a tile naming scheme that still makes sense. That said, even then I'd be limited to 2184 tiles per virtual raster.

History

#1 Updated by Giuseppe Sucameli almost 13 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

Duplicated ticket, see #3469.

Also available in: Atom PDF