I have a NOAA radar image which I’m trying to add as an overlay. When I was initially testing this it seemed to work fine. I was using a map unit of decimaldegree to start. I had to switch to a spherical mercator projection which then caused me to change the projection on layers and the map unit to meter. The NOAA radar image is now showing with a black background instead of being transparent. If I remove the projection and change the map unit back to decimaldegrees it looks fine.
I’ve attached the NOAA radar image that I’m experimenting with along with its associated world file.
I have also attached two images of what it looks like for me in decimaldegree and spherical mercator (meter)
Any help would be greatly appreciated! Thanks in advance.
Here is the code creating the projection and layer.
Thanks for the reply. I apologize for not including the code which set the bounding box and extent. I only included what I thought was needed.
I copied your code and put it into a sample project and I’m still seeing a black background show up. The radar image loads which I haven’t had an issue with. The problem is the transparency. I did not mention that I have a world map layer which I am try to overlay the radar map on.
Here is your code with the world map kit overlay in as well. I have attached another screenshot of what I see when I run this.
I’m on version 9 of MapSuite and I verified both the Core and Desktop are that version. I put it into the sample app just like you did and I attached a screen shot of what I see.
Thanks for the reply. I have grabbed a Production build greater than what you specified and it seems to have mostly resolved the issue. I am still seeing some smaller black boxes when I pan and zoom now. They are definitely associated with the raster overlay because I can adjust the transparency of the layer and see it also change. Over time I change the radar image since it updates every 10 minutes and when the update occurs the black box goes away until I zoom and pan again.
You can see it in the screenshot below. This is with build 9.0.252.0
Thanks for the info. I was getting an exception. I’m having trouble getting to the link in your reply above. It just sits there in the browser and becomes unresponsive due to wait. Moritz shared a link to the 295 build yesterday but it was through the files.thinkgeo.com:5001 host and port and that worked fine.
Thanks!