[postgis-tickets] [PostGIS] #2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
PostGIS
trac at osgeo.org
Tue May 6 05:00:21 PDT 2014
#2726: [raster]: POSTGIS_GDAL_ENABLED_DRIVERS not picking up all drivers listed
---------------------+------------------------------------------------------
Reporter: robe | Owner: dustymugs
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.1.3
Component: raster | Version: 2.1.x
Keywords: |
---------------------+------------------------------------------------------
Description changed by robe:
Old description:
> This could be a windows only issue, but if set this environment variable:
>
> {{{
> @SET POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL
> }}}
>
> and then do
>
> {{{
> SELECT short_name FROM ST_GDALDrivers()
> ORDER BY short_name;
> }}}
>
> I get:
>
> {{{
> short_name
> -----------------
> AAIGrid
> ARG
> DTED
> EHdr
> FIT
> GIF
> GS7BG
> GSAG
> GSBG
> GTiff
> HF2
> HFA
> ILWIS
> INGR
> JPEG
> KMLSUPEROVERLAY
> NITF
> PNG
> R
> RST
> SAGA
> SRTMHGT
> USGSDEM
> VRT
> XPM
> XYZ
> ZMap
> (27 rows)
> }}}
>
> However, If i set it like so:
>
> {{{
> @SET POSTGIS_GDAL_ENABLED_DRIVERS="EHdr GTiff PNG JPEG GIF XYZ"
> }}}
>
> {{{
> short_name
> ------------
> GIF
> GTiff
> JPEG
> PNG
> (4 rows)
> }}}
>
> Note the absence of EHdr and XYZ. Are those dependent on other drivers?
New description:
This could be a windows only issue, but if set this environment variable:
Running:
{{{
POSTGIS="2.1.3dev r12510" GEOS="3.4.2-CAPI-1.8.2 r3924" PROJ="Rel. 4.8.0,
6 March 2012" GDAL="GDAL 1.10.0, released 2013/04/24 GDAL_DATA not found"
LIBXML="2.7.8" LIBJSON="UNKNOWN" RASTER PostgreSQL 9.3rc1, compiled by
Visual C++ build 1600, 32-bit
}}}
{{{
@SET POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL
}}}
and then do
{{{
SELECT short_name FROM ST_GDALDrivers()
ORDER BY short_name;
}}}
I get:
{{{
short_name
-----------------
AAIGrid
ARG
DTED
EHdr
FIT
GIF
GS7BG
GSAG
GSBG
GTiff
HF2
HFA
ILWIS
INGR
JPEG
KMLSUPEROVERLAY
NITF
PNG
R
RST
SAGA
SRTMHGT
USGSDEM
VRT
XPM
XYZ
ZMap
(27 rows)
}}}
However, If i set it like so:
{{{
@SET POSTGIS_GDAL_ENABLED_DRIVERS="EHdr GTiff PNG JPEG GIF XYZ"
}}}
{{{
short_name
------------
GIF
GTiff
JPEG
PNG
(4 rows)
}}}
Note the absence of EHdr and XYZ. Are those dependent on other drivers?
--
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2726#comment:1>
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