[PROJ] extending proj.db with another db file

Even Rouault even.rouault at spatialys.com
Sat Dec 19 08:25:51 PST 2020


On samedi 19 décembre 2020 16:44:37 CET Javier Jimenez Shaw wrote:
> Hi
> 
> I think I read about this somewhere, but I am not able to find it.
> I would like to extend proj.db with some data (for instance geoid models in
> customizations.sql, grid transformation in grid_transformation_custom.sql).
> However I don't want to modify proj.db, but extend it with another sqlite
> file(s). Is that possible?

Yes, although I don't think this has been exercised beyond unit tests.

See the auxDbPaths argument of proj_context_set_database_path()
and attachExtraDatabases_auxiliary() in test/unit/test_factory.cpp

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the PROJ mailing list