WMS MultiMap showing a mix of tiles: top, base and composite

Started by jacksan, May 18, 2018, 09:18:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jacksan

I am on version 7.2.14



I've created a Composite map of 2 WMS sources.

When I first display the MultiMap it looks good.

As I zoom around there is a problem displaying the tiles.



Some of the tiles show the base layer, some show the top layer, and some tiles are the correct composite.

As I zoom in and out the mix of tiles changes.

I've tried different "Select layer transparency" settings when creating the Composite Map but it did not help.

I've edited the WMS settings and added "&transparency=true" but that did not help either.



This appears to be a bug.



I created a Composite Map of 2 online, non WMS, sources and that map behaves correctly.

orux

Quote from: jacksan post_id=13564 time=1526671131 user_id=7607
I am on version 7.2.14



I've created a Composite map of 2 WMS sources.

When I first display the MultiMap it looks good.

As I zoom around there is a problem displaying the tiles.



Some of the tiles show the base layer, some show the top layer, and some tiles are the correct composite.

As I zoom in and out the mix of tiles changes.

I've tried different "Select layer transparency" settings when creating the Composite Map but it did not help.

I've edited the WMS settings and added "&transparency=true" but that did not help either.



This appears to be a bug.



I created a Composite Map of 2 online, non WMS, sources and that map behaves correctly.




Hello!



Do the WMS work fine standalone?



Could you share the WMS urls?



orux

jacksan

Yes, they work fine standalone:



http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?

and

http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?



The problem also occured when mixing a WMS source with an online map:

http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?

and

OpenStreetMap CycleMap (online)



I also noticed that when I viewed WMS: Ky_DEM_KYAPED_5FT_Hillshade standalone, some of the tiles were still wrong.

I had to Refresh Tiles (under Map Tweaks) to get rid of the bad tiles.



Thanks

orux

Quote from: jacksan post_id=13586 time=1526932048 user_id=7607
Yes, they work fine standalone:



http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?

and

http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?



The problem also occured when mixing a WMS source with an online map:

http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?

and

OpenStreetMap CycleMap (online)



I also noticed that when I viewed WMS: Ky_DEM_KYAPED_5FT_Hillshade standalone, some of the tiles were still wrong.

I had to Refresh Tiles (under Map Tweaks) to get rid of the bad tiles.



Thanks


Hello!



I created those WMS, and a composite map with both maps.



I see that it is a very slow server. The app should always show the composite tiles, but it is possible to see the top layer meanwhile a tile is loaded from the server.



But after a while, when all the tiles are cached, you should be able to zoom in/out very quickly.





orux

jacksan

EDIT: After i posted the below comment I discovered that both of the maps in my wms_services.xml file has the same <uid>3331</uid>  

I haven't verified it yet but I bet this was the problem!!

MY BAD  :oops:



I found the problem...



The top layer tiles I was seeing were not even the top layer of the composite map I was viewing.

They were from a WMS source that is not the top layer of the composite map I was viewing at the time.  :shock:

     BASE: WMS "Ky_DEM_KYAPED_5FT_Hillshade"

     TOP: OpenStreetMap CycleMap (online)

The top tiles I were seeing were from: WMS "Ky_KyTopoMapSeries".    :?



This led me to look at the wms_services.xml file I was using (I show it below).

It had 2 WMS sources listed: "Ky_DEM_KYAPED_5FT_Hillshade" and "Ky_KyTopoMapSeries"



To resolve the issue:

1) I removed "Ky_KyTopoMapSeries" from the wms_services.xml file and restarted OM.

2) I deleted all my MULTIMAPS maps, then deleted the "Ky_KyTopoMapSeries" WMS map.

3) I re-created the same composite map:

     BASE: http://kyraster.ky.gov/arcgis/services/">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer?

     TOP: OpenStreetMap CycleMap (online)

It works fine now.



Here is the wms_services.xml file that led to the problem:

<?xml version="1.0" encoding="UTF-8"?>

<wms_services>  

<wms>        

<name>Ky_KyTopoMapSeries</name>        

<uid>3331</uid>    

<desc>Ky_KyTopoMapSeries</desc>        

<credits><![CDATA[<a href="http://kyraster.ky.gov">Credits</a>]]></credits>

<url>http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?%3C/url">http://kyraster.ky.gov/arcgis/services/ ... rver?</url">http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?</url>        

<minzoomlevel>0</minzoomlevel>  

<maxzoomlevel>20</maxzoomlevel>      

<version>1.1.1</version>    

<layers>0</layers>        

<coordinatesystem>EPSG:4326</coordinatesystem>      

<format>image/jpeg</format>        

<cache>1</cache>

</wms>

<wms>        

<name>Ky_DEM_KYAPED_5FT_Hillshade</name>        

<uid>3331</uid>    

<desc>Ky_DEM_KYAPED_5FT_Hillshade</desc>        

<credits><![CDATA[<a href="http://kyraster.ky.gov">Credits</a>]]></credits>

<url>http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?%3C/url">http://kyraster.ky.gov/arcgis/services/ ... rver?</url">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?</url>        

<minzoomlevel>0</minzoomlevel>  

<maxzoomlevel>20</maxzoomlevel>      

<version>1.1.1</version>    

<layers>0</layers>        

<coordinatesystem>EPSG:4326</coordinatesystem>      

<format>image/jpeg</format>        

<cache>1</cache>

</wms>

</wms_services>