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

ElPaso elpaso at itopen.it
Sun May 10 23:28:56 PDT 2026


Il 07/05/26 02:28, Even Rouault via gdal-dev ha scritto:
> Hi,
>
> with a number of drivers being raster+vector our current source tree 
> organization is a bit messy.
>
> For example, we have:
>
> - ogr/ogrsf_frmts/gpkg: the GeoPackage driver started vector-only and 
> then raster was added
>
> - frmts/mbtiles: the MBTiles driver started raster-only and then 
> vector was added
>
> - ogr/ogrsf_frmts/pmtiles: you can guess what I will write here
>
> - frmts/mem
>
> I'm hesitating between:
>
> - putting all drivers below a drivers/  directory
>
> - or having drivers/raster/ , drivers/vector/ and drivers/mixed/
>
>
> Thoughts? (I'm wondering how such a plan could be executed without 
> freezing all pull request activity in the meantime to limit conflicts, 
> although git might perhaps be smart enough to detect files moving around)
>
> Even
>

I prefer the three directories option, it immediately tells whether we 
have to deal with vectors or rasters or both.


Cheers


-- 
Alessandro Pasotti
w3: www.itopen.it



More information about the gdal-dev mailing list