Opened 18 years ago
Last modified 18 years ago
#1134 closed defect (duplicate)
gdalnumeric.SaveArray possible python referencing problem
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
gdalnumeric.SaveArray seems to do something strange to the referencing of the array being saved in the current CVS version of GDAL (using Fedora core 3 linux). To reproduce, launch a python shell and enter: import gdalnumeric import Numeric arr=Numeric.array([[5.3,2,1],[3,2,1]]) gdalnumeric.SaveArray(arr,'/home/test.tif') arr # to try to print the array This causes a segmentation fault. I was also able to reproduce the problem with the python/gdal in FWTools 1.0.0a7 for linux.
Note:
See TracTickets
for help on using tickets.