Opened 13 years ago

Closed 13 years ago

#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
Component: GDALTools Version: 1.6.0
Keywords: Cc:
Must Fix for Release: Yes Platform: OS X
Platform Version: 10.5.8 Awaiting user input: no

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.

Change History (1)

comment:1 by brushtyler, 13 years ago

Resolution: duplicate
Status: newclosed

Duplicated ticket, see #3469.

Note: See TracTickets for help on using tickets.