Opened 7 years ago

Closed 7 years ago

#5801 closed defect (fixed)

numpy: GetGeoTransform() always succeeds

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.2
Component: default Version: unspecified
Severity: normal Keywords:
Cc: warmerdam

Description

The NUMPY drivers always return CE_None when GetGeoTransform?() is called (returning the default unit geotransform), even if no geotransform has been explicitely defined. Consequently using gdal_array.SaveAsArray?(numpy_array, filename, format='JPEG') causes a .aux.xml file to be generated.

Change History (1)

comment:1 Changed 7 years ago by Even Rouault

Milestone: 1.11.2
Resolution: fixed
Status: newclosed

trunk r28302, r28303, branches/1.11 r28304 "NUMPY driver: avoid returning CE_None in GetGeoTransform?() when there's no geotransform set (#5801)"

Note: See TracTickets for help on using tickets.