[Gdal-dev] NumPy supported in 1.4.0?

Frank Warmerdam warmerdam at pobox.com
Thu Feb 8 04:45:02 EST 2007

Philip Riggs wrote:
> I understood from the news release that numpy (not Numeric) was being 
> supported in 1.4.0. It looks as if only Numeric is being supported based 
> on gdalnumeric.py in the Python site-packages:
> import gdal
> import _gdal
> from gdalconst import *
> from Numeric import *
>  Can somebody clear this up? Is numpy being supported now, or did I 
> misunderstand the new release?


I imagine Howard can give a fuller answer if needed, but I believe you
are still using the "old" python bindings which are I think still the
default in 1.4.0.

Try configuring --without-python --with-ngpython.  This should build
the version in gdal/swig/python which does use numpy instead of

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

More information about the Gdal-dev mailing list