Hi again,
I’ve been doing some work on adding raster support to my test application (using MapSuite v8.0.0.73). I’m adding a 150MB geotiff (proj epsg:4326) over an Open Street Map layer. This works nicely enough but when I try to zoom to the extent of the OSM layer I’m met with:
An unhandled exception of type ‘System.ArgumentException’ occurred in WpfDesktopEdition.dll
Additional information: Parameter is not valid.
If I zoom out manually, the raster layer will eventually not be displayed and the next zoom out will result the the same error. I have found that setting the UpperThreshold to 100000000 will resolve this but I didn’t expect to have to do that.
I resized the original tiff to a smaller size and didnt see the isse - it could therefore be something to do with the actual file - I did re-save the original tiff in photoshop (no compression, no pyramids), just in case of some kind of corruption,but still encountered the same error.
I’ve probably made some fundamental mistake but just cant find it.
I’m attaching the .net solution and the sample geotiff can be accessed here: images.comper.info/sample_geotiff.zip
Thanks for any insight you can provide
Mark
ZoomTest.zip (18.3 KB)
GeoTiff and zoom levels
Hi Mark,
Thanks for your sample and data, or it would be very hard for us to recreate this issue.
We fixed this issue in the latest version(8.0.0.79 or 8.0.79.0), please get it and have a try.
Thanks,
Troy
Hi Troy,
that now works very nicely. Thanks.
Mark
Hi Mark,
Great to hear it works.
Any questions, please feel free to let us know.
Thanks,
Troy