[postgis-tickets] [PostGIS] #4766: GDAL_DATA not found for windows with GDAL 3.0.4 and iconv failures and missing curl

PostGIS trac at osgeo.org
Sun Nov 15 00:47:52 PST 2020


#4766: GDAL_DATA not found for windows with GDAL 3.0.4 and iconv failures and
missing curl
------------------------------------+---------------------------
  Reporter:  robe                   |      Owner:  robe
      Type:  defect                 |     Status:  assigned
  Priority:  high                   |  Milestone:  PostGIS 3.0.3
 Component:  build/upgrade/install  |    Version:  3.0.x
Resolution:                         |   Keywords:  windows
------------------------------------+---------------------------

Comment (by robe):

 Okay just occurred to me why the GDAL_DATA is not found.  The message is a
 bit erroneous.  It's really proj data not found.  I figured out on my
 regress scripts I have PROJ_LIB defined as an environment variable.

 I'm going to change the installer to do this.  The the message goes away
 when I have it defined.  I wish there was an easy way to define this per
 install as it really makes having multiple versions of PostGIS not messing
 up each other harder.


 Anyway for PostgreSQL 13 the Environment setting would be:

 #if you are on 3.0, and change that to 3.1 if you are on 3.1

 {{{
 C:\Program Files\PostgreSQL\13\share\contrib\postgis-3.0\proj
 }}}

 I may change this to just be in root of 13 or in \share\proj so all
 versions of PostGIS share the same env.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4766#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list