[postgis-users] sst_transform(raster): Could not create GDAL transformation object

Avery DeGolyer adegolyer at wnycma.com
Tue May 7 05:51:35 PDT 2019


Using Ubuntu server 18.04

I noticed this morning that running this query /select
st_transform(rast,4326) from myrastertable limit 1;/ yields the following
error

*ERROR: rt_raster_gdal_warp: Could not create GDAL transformation object for
output dataset creation*

I am assuming it has something to do with recently installing qgis on this
machine changing some libraries that postgis depended on.  I have tried
messing around with the PROJSO and GDAL_DATA environmental variables but am
not having much luck at the moment. 

I am able to use gdalwarp from the command line.

What would be my best course of action to get this function working again?  

SELECT postgis_full_version(); output below:
POSTGIS="2.4.4 r16526" PGSQL="100" GEOS="3.6.2-CAPI-1.10.2 4d2925d6"
PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.4.0, released 2018/12/14"
LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" RASTER

pkg-config --modversion proj = 5.2.0

gdalinfo --version:  GDAL 2.4.0, released 2018/12/14



--
Sent from: http://postgis.17.x6.nabble.com/PostGIS-User-f3516033.html


More information about the postgis-users mailing list