[postgis-users] PROJ_LIB environment variable
Regina Obe
lr at pcorp.us
Thu Nov 18 05:06:08 PST 2021
From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf
Of Wisse J.S. (Jeroen)
Sent: Wednesday, November 17, 2021 8:45 AM
To: 'postgis-users at lists.osgeo.org' <postgis-users at lists.osgeo.org>
Subject: [postgis-users] PROJ_LIB environment variable
Hi,
We have a server that has multiple versions of PostgreSQL installed.
Some of these PostgreSQL installations use the PostGIS extension.
Unfortunately these PostGIS extensions are all different versions.
When using the windows installer for PostGIS some environment variables are
set. Some can have the same value for each PostGIS installation. But there
are 2 that refer to a specific directory.
These are:
- GDAL_DATA: which also can be set in the postgresql.conf file as
postgis.gdal_datapath
- PROJ_LIB
My question is, is it possible to set the PROJ_LIB variable somewhere else
then as an environment variable?
Kind regards,
Jeroen Wisse
[Regina Obe]
Not to my knowledge, but I'd be happy to be proven wrong.
That said which versions of proj are you using? It should only be used for
Pro > 6
Pre-Proj 6.0 this setting wasn't important and I never used it. PostGIS
always looked for all it needed in the contrib/postgis*/proj folder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20211118/55f8604a/attachment.html>
More information about the postgis-users
mailing list