ThinkGeo.com    |     Documentation    |     Premium Support

WMS Service Layer

Hello,

We are trying publish a WMS service and access it from MapSuite,and we have two questions for you.

1、What is the difference between TiledWmsLayer、 WmsRasterLayer 、WmsOverlay、TiledWmsOverlay?

2、We have successfully access our WMS service by using TiledWmsLayer,but compare to GeoServer Openlayer preview page, TiledWmsLayer is too slow. TiledWmsLayer seems like have render or cache perfromance problem, everytime we pan or zoom the map control, TiledWmsLayer will call getmap api , we found this by observing SendingWebRequest event.

Sorry about poor english.
Thanks.

Hi Karl,

The XXXOverlay is the wrapper for XXXlayer, it contains many default setting so is easier to use.

The TiledWmsLayer is for solved the unmatched problem between different data source, it will always sent the bouding box for each tile, and then draw them in client side, but for WmsRasterLayer it directly sent the request which map passed in, it always don’t match the tile matrix, so in some case it cannot match the other datasource when they render at the same time.

But because TiledWmsLayer need to sent request for each tile, so the performance should not so well like WmsRasterLayer.

If you want to open cache for TiledWmsLayer, please assign the cache in overlay level, which should works.

Wish that’s helpful.

Regards,

Ethan

Hi Ethan,

Thank you for your reply.

After wen opened cache for Tiled WmsLayer the map loading better while resolution below 1920x1080.But we are trying accomplish a large resolution user interface which can be 15000*12000.So what is the best practices you suggest for this kind of implemention or is MapSuite capable for large resolution?

We found that when resolution is setted to 15000*12000, map suite is heavily using computer resources and the map loadding slow.

Hi Karl,

I guess the reason is the tile number too big for 15000 x 12000, each tile will eating some source.

So I think you can try to add the tile size to bigger for example 512 x 512 or 1024 x 1024.

But please notice, the cached tile cannot be used at between different tile size.

Regards,

Ethan