docker-lambda icon indicating copy to clipboard operation
docker-lambda copied to clipboard

PROJ_DATA to replace PROJ_LIB environment variable

Open vincentsarago opened this issue 1 year ago • 1 comments

https://github.com/OSGeo/PROJ/pull/3253

vincentsarago avatar Jul 07 '22 16:07 vincentsarago

I was able to get around this using this at the top of my handler file:

import pyproj
pyproj.datadir.set_data_dir(os.path.join(os.path.dirname(__file__), 'share/proj'))

jcary741 avatar Aug 26 '22 21:08 jcary741