ThinkGeo.com    |     Documentation    |     Premium Support

MultiGeoRasterLayer

Hi,

I have been upgrading from MapSuite 9.0 to 10.0 and mostly it has gone OK (I think) but have hit a problem with the MultiGeoRasterLayer (this is a downloadable example from this code sample1 that handles multiple raster files as a single layer (it uses GdiPlusRasterLayer). From another thread it looks like this may have been replaced by NativeImageTileCache but I’m not sure. Is this correct and if so are there any examples?

Hi Jonathan3,

In MapSuite10.0 the GdiPlusRasterLayer class has been renamed to NativeImageRasterLayer class.

And there is a sample on github about how to use GeoMultiRasterLayer with MapSuite10.0. Please refer https://github.com/ThinkGeo/MultiGeoRasterLayerSample-ForWinForms for detail.

If there is any question, please feel free to let us know.

Thanks,

Don,

Thanks for sample. I had also been working on it myself and quite pleased to see I was largely on the right lines - so that is quite encouraging. I think the sample is missing the line boundingBoxes.Add(rasterBoundingBox); in the loop in OpenCore as without that I got an exception on show extent.

Regards,
Jonathan

Hi Jonathan,

Thanks for point this problem in our sample, we had updated that.

Any question please let us know.

Regards,

Don