Hi Don, I built the sample code supplied and added references to the same DLLs that I use on our application (details below) and received the same behaviour, that is the image seems to be displayed in a 1x1 pixel even at full zoom. There are no errors/output displayed in the command window.
I added a single line of debug output after the extent is output on wpf1:
Console.WriteLine(“Extent is : {0}w {1}h”, wpfMap1.CurrentExtent.Width, wpfMap1.CurrentExtent.Height);
with the result of:
Extent is : 0.0016629695892334w 0.00106751918792725h
When I close the MainWindow the following appears in the command window:
TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered.
Note: The TIFFReadDirectory warnings only appear with the example built for ‘Any CPU’ target. Building for x64 or x86 does not show the warning, but also does not show the GeoTIFF.
The versions of DLL that I am using are:
GeoAPI.dll - 1.1.0.0
MapSuiteCore.dll - 7.0.0.0
WpfDesktopEdition.dll 7.0.0.0
I’m not sure what GeoTiff DLLs from the merge module it is using as I cant seem to find it being loaded using depends22.exe. I’ve listed all DLLs i have:
GeoTiffX64.dll (in System32/Map Suite 7.0/GeoTiffX64) - no version details in properties… modified 29/05/2013
GeoTiffX64.dll (in SysWOW64/Map Suite 7.0/GeoTiffX64) - no version details in properties… modified 29/05/2013
GeoTiffX86.dll (in SysWOW64/Map Suite 7.0/GeoTiffX86) - no version details in properties… modified 9/09/2013