[postgis-devel] PostGIS configuration with raster support

Jorge Arévalo jorge.arevalo at deimos-space.com
Tue Mar 8 01:35:19 PST 2011


On Tue, Mar 8, 2011 at 12:29 AM, Stephen Chenoweth <helmutxl at gmail.com> wrote:
> I am configuring PostGIS-2.0.0 for a college project that involves using
> raster data and am getting the following error:
>
> RASTER: Raster support requested
> checking for GDAL >= 1.6.0... found
> checking for GDAL Python bindings... not found
> configure: error: GDAL Python bindings required by raster2pgsql.py loader
>
> Problem is, I have both GDAL 1.7.2 and the Python bindings (along with
> Python itself) installed. If anyone else has experienced this issue, any
> help  would be greatly appreciated.
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>

Hi Stephen,

Are you sure you installed Python bindings? Try to execute python from
a console, and write this:

>>> from osgeo import gdal

If you get an error, you need to install the bindings again. You can
get further information about how to install them here:
http://trac.osgeo.org/gdal/wiki/GdalOgrInPython

Anyway, I think you can use this bindings http://pypi.python.org/pypi/GDAL/1.7.1

Best regards,

-- 
Jorge Arévalo
Internet & Mobilty Division, DEIMOS
jorge.arevalo at deimos-space.com
http://es.linkedin.com/in/jorgearevalo80
http://mobility.grupodeimos.com/
http://gis4free.wordpress.com
http://geohash.org/ezjqgrgzz0g



More information about the postgis-devel mailing list