[Gdal-dev] Setting PROJ4 path programatically

Craig Miller craig.miller at spatialminds.com
Wed Jun 14 17:33:34 EDT 2006


In digging through the archives, I found a post that briefly describes how
to set the path where PROJ4 looks for its data files (E.g. proj4/nad).  The
message mentions two functions:

	pj_set_finder(...);
	CPLSetConfigOption("GDAL_DATA", ...);

If I'm only using OGRSpatialReference directly and not calling into proj4
directly is the CPLSetConfigOption sufficient or do I need to call
pj_set_finder(...) as well.

Will these calls affect any other applications that are running on the same
machine that are also using PROJ4?


Thanks,
Craig







More information about the Gdal-dev mailing list