2

I've got a layer with a lot of polygons. These polygons features data which I'm trying to present on my GIS viewer as a background map. Using GeoServer, making a WMS and presetting it on my viewer. But since there are a lot of polygons in the layer, things tend to load quite slowly.

Naturally this can be explained by the speed of the server. But, since I've no direct impact on the speed of the server, is there a way to make this layer faster using GeoServer?

In other words, is a WMS faster than a WMTS or TMS? Is there a other way to make a fast background map without increasing the speed of the server?

Ps. The source of the layer is a table in an PostGis db.

2 Answers 2

5

Using a tiled web service allows you to pre-render the tiles. This will make accessing them later on very fast. It works best if the data does not change but if, then GeoServer would simply re-render them appropriately.

GeoServer comes with GeoWebCache which makes this easy to setup and initialise.

3

As Bugmenot says WMTS or TMS will be faster than WMS as you only have to draw each tile once instead of the whole map each time.

Other things to consider (since they will speed up tile rendering too):

1
  • Rendering polygons at specific zoom levels (resolutions) is good, but what if you always want them visible? In that case, take it one step further and pre-simplify the polygons as separate table. Then use that table for the "zoomed out" levels.
    – Kevin
    Commented Apr 12, 2017 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.