Ticket #3729 (closed bug: duplicate)
GdalTools - Virtual Raster Creation: File Path Character Limit
|Reported by:||jeffm||Owned by:||brushtyler|
|Priority:||major: does not work as expected||Milestone:||Version 1.7.0|
|Platform Version:||10.5.8||Platform:||OS X|
|Must Fix for Release:||Yes||Awaiting user input:||no|
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.