Hi Mitxel, hi Oliver,

Mitxel described in this thread a method to display ECW maps in QMS.

My ECW map file works as expected in QGIS and has the following features:

.\gdal\apps>gdalinfo EuFC06Complet.ecw

Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
Files: EuFC06Complet.ecw
Size is 9240, 9450
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4326"]]
Origin = (-25.000000000000000,72.000000000000000)
Pixel Size = (0.007142857142857,-0.004761904761905)
Metadata:
  COLORSPACE=RGB
  COMPRESSION_RATE_TARGET=8
  VERSION=2
Corner Coordinates:
Upper Left  ( -25.0000000,  72.0000000) ( 25d 0' 0.00"W, 72d 0' 0.00"N)
Lower Left  ( -25.0000000,  27.0000000) ( 25d 0' 0.00"W, 27d 0' 0.00"N)
Upper Right (  41.0000000,  72.0000000) ( 41d 0' 0.00"E, 72d 0' 0.00"N)
Lower Right (  41.0000000,  27.0000000) ( 41d 0' 0.00"E, 27d 0' 0.00"N)
Center      (   8.0000000,  49.5000000) (  8d 0' 0.00"E, 49d30' 0.00"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
  Description = Red
  Overviews: 4620x4725, 2310x2362, 1155x1181, 577x590, 288x295, 144x147
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
  Description = Green
  Overviews: 4620x4725, 2310x2362, 1155x1181, 577x590, 288x295, 144x147
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
  Description = Blue
  Overviews: 4620x4725, 2310x2362, 1155x1181, 577x590, 288x295, 144x147

The VRT derived from this file has similar properties.

In the thread https://sourceforge.net/p/qlandkartegt/mailman/message/35983832/

there is the following hint:

"In the current release version the map has to be single banded (color table), to make it work. With commit 43b0987e30695ced81dfe34f8d82f4ec2ec6036d it works for other maps, too."

My QMS version is 4e3e7bbcdc7c and thus newer than the one mentioned above.

Could the single band requirement be the reason for not getting the given ECW map displayed in QMS (using Mitxels recommendations!)?

Is the phrase "With commit 43b0987... it works for other maps, too" consistent with the description "VRT: Always test 1st band for overviews" of this commit?

Which properties should an ECW (or similarly MBTILES) file have in order to display it properly in QMS?

Thanks for your comments.

WolfgangTh

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to