p-vdp opened a new issue, #752: URL: https://github.com/apache/sedona-db/issues/752
`sedonadb/context.py` doesn't appear to check for `PROJ_DATA` or `PROJ_LIB` when initializing, which causes warnings on import if the `proj` library isn't installed in an expected path. https://github.com/apache/sedona-db/blob/c9b72a012eedd0c02310b570592c1777ba9582fb/python/sedonadb/python/sedonadb/context.py#L438 See the `proj` documentation: https://proj.org/en/stable/usage/environmentvars.html#envvar-PROJ_DATA `pyproj` checks the environment variable, too: https://pyproj4.github.io/pyproj/stable/api/datadir.html Seems reasonable that the user would expect `sedonadb` to have the same search logic as `pyproj`/`proj`. Would it make sense to add something like `os.environ.get("PROJ_DATA", os.environ.get("PROJ_LIB", None))` to `_configure_proj_system`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
