[gdal-dev] What is the correct way to call OSRSetPROJSearchPaths?

Even Rouault even.rouault at spatialys.com
Fri May 31 04:00:49 PDT 2019


On vendredi 31 mai 2019 03:41:45 CEST CDelancy wrote:
> Using GDAL 3 and PROJ 6, it seems this is the function I must call to point
> proj to the location of the proj.db file it needs. However, any time I call
> this function, it results in an access violation.

Is the array of strings you provide as argument terminated by a NULL pointer ?

> 
> Does anyone have an example of how to call this?

https://github.com/OSGeo/gdal/blob/master/autotest/cpp/
test_osr_set_proj_search_paths.cpp

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


More information about the gdal-dev mailing list