Add support for external overviews in worldimage format
-------------------------------------------------------
Key: GEOT-1644
URL: http://jira.codehaus.org/browse/GEOT-1644
Project: GeoTools
Issue Type: Improvement
Components: gc worldimage
Affects Versions: 2.5-M0, 2.4-RC0
Reporter: Andrea Aime
Assignee: Simone Giannecchini
Fix For: 2.5.0
GDAL apparently learned to support external overviews lately, that's a very
nice capability that speeds up significantly.
The free Merano mosaic for example has them, here is the result of gdalinfo on
them:
{code}
C:\progetti\gisData\merano\jpg>gdalinfo 01.jpg
Driver: JPEG/JPEG JFIF
Files: 01.jpg
01.aux
01.rrd
Size is 6750, 6000
Coordinate System is `'
Origin = (663341.701881218350000,5173420.982341781300000)
Pixel Size = (0.100000000000000,-0.100000000000000)
Image Structure Metadata:
INTERLEAVE=PIXEL
COMPRESSION=JPEG
Corner Coordinates:
Upper Left ( 663341.702, 5173420.982)
Lower Left ( 663341.702, 5172820.982)
Upper Right ( 664016.702, 5173420.982)
Lower Right ( 664016.702, 5172820.982)
Center ( 663679.202, 5173120.982)
Band 1 Block=6750x1 Type=Byte, ColorInterp=Red
Overviews: 1686x1498, 842x748, 420x373, 209x185, 103x91, 50x44
Metadata:
LAYER_TYPE=athematic
Image Structure Metadata:
COMPRESSION=JPEG
Band 2 Block=6750x1 Type=Byte, ColorInterp=Green
Overviews: 1686x1498, 842x748, 420x373, 209x185, 103x91, 50x44
Metadata:
LAYER_TYPE=athematic
Image Structure Metadata:
COMPRESSION=JPEG
Band 3 Block=6750x1 Type=Byte, ColorInterp=Blue
Overviews: 1686x1498, 842x748, 420x373, 209x185, 103x91, 50x44
Metadata:
LAYER_TYPE=athematic
Image Structure Metadata:
COMPRESSION=JPEG
{code}
Well, this said, I have no idea how hard adding direct support in java would
be... but I guess this would be a good reason to have a gdal based jpeg reader?
(btw, notice how overviews are missing the intermediate level between 6750 and
1686 here too, using the highest lower resolution policy for picking the best
overview would be bad here too).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel