Ticket #3729 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

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:
Platform Version: 10.5.8 Platform: OS X
Must Fix for Release: Yes 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

Changed 2 years ago by brushtyler

  • status changed from new to closed
  • resolution set to duplicate

Duplicated ticket, see #3469.

Note: See TracTickets for help on using tickets.