Opened 15 years ago
Closed 15 years ago
#2892 closed defect (fixed)
GeoRaster: Big-Endian not supported
Reported by: | ilucena | Owned by: | ilucena |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | georaster |
Cc: |
Description
Endianess is not platform dependent nor optional. It should always by Big-Endian.
"If the cell depth is greater than 8 bits, GeoRaster cell data is stored in big-endian format in raster blocks." [GeoRaster Developer's Guide]
Note:
See TracTickets
for help on using tickets.
Problem solved by applying a standard GDAL byte swapping function.
That first attempt to solve the problem doesn't work well for multi-band raster:
http://trac.osgeo.org/gdal/changeset/16598
This revision takes care of that:
http://trac.osgeo.org/gdal/changeset/16602