Hi,
I have a geotiff with mutliple overviews (see below gdalinfo output) and
I'm wondering if these are used? Looking at the MaskOverviewProvider code
in Geotools [1] I suspect not and only the first .ovr will be used.
Am I correct?


TIA, Mark



[1]
https://github.com/geotools/geotools/blob/master/modules/library/coverage/src/main/java/org/geotools/coverage/grid/io/imageio/MaskOverviewProvider.java#L118





Driver: GTiff/GeoTIFF
Files: ./Leiden_2017.tiff
       ./Leiden_2017.tiff.ovr
       ./Leiden_2017.tiff.ovr.ovr
       ./Leiden_2017.tiff.ovr.ovr.ovr
       ./Leiden_2017.tiff.ovr.ovr.ovr.ovr
Size is 175000, 200000
Coordinate System is:
PROJCS["Amersfoort / RD New",
    GEOGCS["Amersfoort",
        DATUM["Amersfoort",
            SPHEROID["Bessel 1841",6377397.155,299.1528128000008,
                AUTHORITY["EPSG","7004"]],

TOWGS84[565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725],
            AUTHORITY["EPSG","6289"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4289"]],
    PROJECTION["Oblique_Stereographic"],
    PARAMETER["latitude_of_origin",52.15616055555555],
    PARAMETER["central_meridian",5.38763888888889],
    PARAMETER["scale_factor",0.9999079],
    PARAMETER["false_easting",155000],
    PARAMETER["false_northing",463000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","28992"]]
Origin = (89500.000000000000000,467000.000000000000000)
Pixel Size = (0.040000000000000,-0.040000000000000)
Metadata:
  AREA_OR_POINT=Area
  COLORSPACE=RGB
  COMPRESSION_RATE_TARGET=4
  VERSION=2
Image Structure Metadata:
  COMPRESSION=YCbCr JPEG
  INTERLEAVE=PIXEL
  SOURCE_COLOR_SPACE=YCbCr
Corner Coordinates:
Upper Left  (   89500.000,  467000.000) (  4d25'46.80"E, 52d11'17.62"N)
Lower Left  (   89500.000,  459000.000) (  4d25'52.35"E, 52d 6'58.77"N)
Upper Right (   96500.000,  467000.000) (  4d31'55.32"E, 52d11'20.45"N)
Lower Right (   96500.000,  459000.000) (  4d32' 0.28"E, 52d 7' 1.59"N)
Center      (   93000.000,  463000.000) (  4d28'53.69"E, 52d 9' 9.65"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
  Description = Red
  Overviews: 87500x100000, 43750x50000, 21875x25000, 10938x12500,
5469x6250, 2735x3125, 1368x1563, 684x782, 342x391
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
  Description = Green
  Overviews: 87500x100000, 43750x50000, 21875x25000, 10938x12500,
5469x6250, 2735x3125, 1368x1563, 684x782, 342x391
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
  Description = Blue
  Overviews: 87500x100000, 43750x50000, 21875x25000, 10938x12500,
5469x6250, 2735x3125, 1368x1563, 684x782, 342x391


-- 
Disclaimer;
This message is just a reflection of what I thought at the time of sending.
The message may contain information that is not intended for you or that
you don't understand.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to