[gdal-dev] Re-organizing source tree regarding drivers?

Kai Pastor, DG0YT dg0yt at darc.de
Sat May 9 02:34:08 PDT 2026


Am 07.05.26 um 02:28 schrieb Even Rouault via gdal-dev:
> I'm hesitating between:
>
> - putting all drivers below a drivers/  directory
>
> - or having drivers/raster/ , drivers/vector/ and drivers/mixed/
>
> This later organization avoids a bit the issue of a monolithic 
> drivers/ with 250+ subdirectories (who knows if Windows might not 
> limit to 256 :-)),  but it may involve moving code around when 
> something that was raster or vector only later gains the other 
> capability. 

A real (legacy) Windows limitation is not around 256 subdirs but around 
260 characters in filepath, subject to tool capabilities. It still hits 
today in some cases. "drivers/" can make a difference.

I tend to prefer the first option anyways.

Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20260509/678d360d/attachment.htm>


More information about the gdal-dev mailing list