ThinkGeo.com    |     Documentation    |     Premium Support

A slight white band between the rasters

Hi,

To allow viewing of rasters, we use a layer of type MultiGeoRasterLayer. (MultiGeoRasterLayer)
There is a slight white band between the rasters. (ie screen shot)
What is this?
Is there a way to remove this white band?

Thanks a lot for your help.
Regards.
Steph.

Hi Steph,

It looks I can’t reproduce it in the sample: https://github.com/ThinkGeo/MultiGeoRasterLayerSample-ForWinForms

If you have any change based on it please sent us so we can see where is the problem.

And please close cache if you open it to see whether it can be reproduced, one of our user met the white line is caused by that.

Regards,

Ethan

Hi Ethan,

Thanks for your help.

What do you mean by closing the cache?
Is there a closed method on the TileCache of an overlay ?

Thanks.
Regards.

Steph.

Steph,
Yes. You can use layeringOverlay.TileCache = null to disable the cache. And the reason for the “white band”. Probably because the old dll generate some tile with the border. So you can either delete the old cache file or disable the cache as Don mentioned. Here is more detail.

Let me know if this could fix the problem.

Thanks

Frank