I'm in the process of evaluating your SDK (v1.3.2) and have trouble rendering an ecw file.
I have an ecw file which renders fine (using GM_DrawLayerListToMemory).
I converted the projection of the same file in GlobalMapper from GEODETIC to MERCATOR and now it doesn't render.
However when omitting worldBounds (null) in GM_DrawLayerListToMemory it renders. What gives?
I listed the metadata from globalmapper below (the PROJ_NAME for mercator-projection files reads MRAFRICA?? )
--- does not work with worldBounds set ---
FILENAME=C:\data\mercator.ecw
DESCRIPTION=mercator.ecw
UPPER LEFT X=1142491.638
UPPER LEFT Y=7531076.733
LOWER RIGHT X=1214164.370
LOWER RIGHT Y=7463084.549
WEST LONGITUDE=10° 15' 47.4372" E
NORTH LATITUDE=56° 02' 26.9551" N
EAST LONGITUDE=10° 54' 25.2868" E
SOUTH LATITUDE=55° 41' 50.6199" N
PROJ_DESC=Mercator / WGS84 / meters
PROJ_DATUM=WGS84
PROJ_UNITS=meters
EPSG_CODE=3395
COVERED AREA=591.85 sq mi
NUM COLUMNS=6952
NUM ROWS=6595
NUM_BANDS=3
PIXEL WIDTH=10.31 meters
PIXEL HEIGHT=10.31 meters
BIT_DEPTH=24
PROJ_NAME=MRAFRICA
DATUM_NAME=WGS84
TARGET_COMPRESSION=1:10
--- works with worldBounds set ---
FILENAME=C:\data\geo.ecw
DESCRIPTION=geo.ecw
UPPER LEFT X=10.2631770084
UPPER LEFT Y=56.0408208537
LOWER RIGHT X=10.9070169482
LOWER RIGHT Y=55.6973944219
WEST LONGITUDE=10° 15' 47.4372" E
NORTH LATITUDE=56° 02' 26.9551" N
EAST LONGITUDE=10° 54' 25.2610" E
SOUTH LATITUDE=55° 41' 50.6199" N
PROJ_DESC=Geographic (Latitude/Longitude) / WGS84 / arc degrees
PROJ_DATUM=WGS84
PROJ_UNITS=arc degrees
EPSG_CODE=4326
COVERED AREA=591.84 sq mi
NUM COLUMNS=12364
NUM ROWS=6595
NUM_BANDS=3
PIXEL WIDTH=0.0000521 arc degrees
PIXEL HEIGHT=0.0000521 arc degrees
BIT_DEPTH=24
PROJ_NAME=GEODETIC
DATUM_NAME=WGS84
TARGET_COMPRESSION=1:10


LinkBack URL
About LinkBacks
Reply With Quote