[postgis-users] GDAL Version

6 views
Skip to first unread message

Brian Fitzgerald

unread,
Sep 4, 2012, 1:55:07 PM9/4/12
to postgi...@postgis.refractions.net
Does anyone know if PostGIS 2.0 raster support requires PostGIS to use GDAL 1.9?  I'm having problems opening PostGIS 2.0 raster layers inside QGIS and am thinking it may have something to do with the GDAL version of Postgis 2.0.  When I run a 

select postgis_full_version();

I get:

"POSTGIS="2.1.0SVN" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23 September 2009" GDAL="GDAL 1.7.3, released 2010/11/10" LIBXML="2.7.8" LIBJSON="UNKNOWN" (core procs from "2.1.0SVN" need upgrade) RASTER (raster procs from "2.1.0SVN" need upgrade)"

I'm running all of this on a linux mint 13 stack with postgres 9.1.5 and have confirmed that my QGIS 1.9.0 nightly is leveraging GDAL 1.9.1

Thx!

- Brian


--------------------------------------
Brian Fitzgerald, PMP, GISP
bkf...@gmail.com
803.426.3469
---------------------------------------

Bborie Park

unread,
Sep 4, 2012, 2:08:40 PM9/4/12
to postgi...@postgis.refractions.net
Issues with QGIS accessing PostGIS raster typically arises from the GDAL
version used by QGIS. Some of the issues with GDAL's PostGIS raster
driver have been resolved in GDAL trunk. Since it looks like you're
already running trunk for QGIS and PostGIS, you might as well be running
GDAL trunk.

-bborie
> _______________________________________________
> postgis-users mailing list
> postgi...@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkp...@ucdavis.edu
_______________________________________________
postgis-users mailing list
postgi...@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Brian Fitzgerald

unread,
Sep 4, 2012, 2:23:24 PM9/4/12
to PostGIS Users Discussion
Are you saying that Postgis should be using GDAL 1.9?

Thx!

- Brian



--

Bborie Park

unread,
Sep 4, 2012, 2:35:01 PM9/4/12
to postgi...@postgis.refractions.net
Yes. PostGIS raster uses GDAL for the loader (for the numerous source
raster formats), warping API, one of the two possible polygonization
methods (ST_DumpAsPolygons) and the rasterization function.

The main reason for GDAL 1.9 is correct output of pixel values from
ST_DumpAsPolygons which consumes GDAL's polygonization methods.

-bborie
Reply all
Reply to author
Forward
0 new messages