Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6861 closed enhancement (fixed)

geraster - Add support for on BLOB JP2-F compression

Reported by: ilucena Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: georaster
Cc: ilucena

Description

This is a new option on Oracle georaster that needs to be supported by the GDAL driver.

Change History (14)

comment:1 by ilucena, 7 years ago

Resolution: fixed
Status: newclosed

In 38015:

Fix #6861 georaster - add support for JP2-F in BLOB compression

comment:2 by ilucena, 7 years ago

That revision implements the solution by adding a VSIL driver to access the Oracle BLOB directly.

The VSIL pointer is passed to the available JP2 driver to read or write as if it was a file.

In a special case, where the georaster object is JP2-F compressed and the data is been translated to a .jp2 file, some change have been made to the openjpeg to do it faster avoiding the regular decompression/compression usual operation.

At openjpeg's CreateCopy the new code will identify that origin is GeoRaster JP2-F compressed and it will dump the file directly.

comment:4 by Even Rouault, 7 years ago

Ivan, I'm pretty sure I've asked several times already, but could you put more verbose messages than "backport from #6861 r38015". Please include the text of the original commit as well. Otherwise for next release, I'll let you process the ~ 50K lines log of commit and prepare the NEWS file ;-) !

comment:5 by Even Rouault, 7 years ago

In 38019:

GeoRaster: fix cppcheck warnings and remove tabulations (refs #6861)

comment:6 by Even Rouault, 7 years ago

In 38020:

GeoRaster: fix cppcheck warnings and remove tabulations (refs #6861)

comment:7 by Even Rouault, 7 years ago

In 38025:

OpenJPEGDataset: fix memory leak of poGMLJP2Box in GeoRaster special code path (CID 1296296), and add robustness for failed file openings and memmory allocations (refs #6861)

comment:8 by Even Rouault, 7 years ago

In 38026:

OpenJPEGDataset: fix memory leak of poGMLJP2Box in GeoRaster special code path (CID 1296296), and add robustness for failed file openings and memmory allocations (refs #6861)

comment:9 by Even Rouault, 7 years ago

In 38027:

WSIOCILobFSHandle::Open(): fix memory leaks (refs #6861)

comment:10 by Even Rouault, 7 years ago

In 38028:

WSIOCILobFSHandle::Open(): fix memory leaks (refs #6861)

comment:11 by ilucena, 7 years ago

An error was introduced on that latest updates.

When a GeoRaster image is created with the default COORDLOCATION, center-pixel, the geo-reference is registered incorrectly in the metadata an reported back incorrect too with a half pixel shift.

comment:12 by ilucena, 7 years ago

In 38493:

Fix #6861 georaster - add support for JP2-F in BLOB compression (corrections on geo-reference)

comment:13 by ilucena, 7 years ago

In 38494:

Backport: Fix #6861 georaster - add support for JP2-F in BLOB compression (corrections on geo-reference)

comment:14 by ilucena, 7 years ago

In 38495:

Backport: Fix #6861 georaster - add support for JP2-F in BLOB compression (corrections on geo-reference)

Note: See TracTickets for help on using tickets.