Changes between Version 1 and Version 2 of GdalOgrInPython


Ignore:
Timestamp:
Apr 1, 2007, 1:48:42 PM (17 years ago)
Author:
warmerdam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrInPython

    v1 v2  
    1313== Numpy / Numeric ==
    1414
    15 One advanced feature of the GDAL python bindings not found in the other bindings is integration with the Python numerical array facilities.  The gdal.Dataset.ReadAsArray() method can be used to read raster data as numerical arrays, ready to use with the Python numerical array capabilities. 
     15One advanced feature of the GDAL python bindings not found in the other bindings is integration with the Python numerical array facilities.  The gdal.Dataset.!ReadAsArray() method can be used to read raster data as numerical arrays, ready to use with the Python numerical array capabilities. 
    1616
    1717These facilities have evolved somewhat over time.  In the past the package was known as "Numeric" and imported using "import Numeric".  A new generation is imported using "import numpy".  Currently the old generation bindings only support the older Numeric package, and the new generatio bindings only support the new generation numpy package.  They are mostly compatible, and by importing gdalnumeric you will get whichever is appropriate to the current bindings type.