[QGIS-trac] [Quantum GIS] #3729: GdalTools - Virtual Raster
Creation: File Path Character Limit
Quantum GIS
qgis at qgis.org
Thu Apr 14 02:58:38 EDT 2011
#3729: GdalTools - Virtual Raster Creation: File Path Character Limit
------------------------------------------------+---------------------------
Reporter: jeffm | Owner: brushtyler
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.7.0
Component: GDALTools | Version: 1.6.0
Keywords: | Platform_version: 10.5.8
Platform: OS X | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
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.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3729>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list