Geoserver WMS 预渲染
Geoserver WMS pre-render
我使用地理服务器发布了一个包含来自 MySQL 数据库的数据的 WMS 图层。目前,geoserver 似乎正在动态渲染 WMS 层。有没有办法定期 "pre-render" - 例如每小时 - 只需要 "cached" 个?
是的,您需要启用 GeoWebCache (GWC) to make a cache of your layer. Infact GeoServer does this automatically for you when you publish a layer unless you ask it not to. However, to take advantage of this cache you need to make sure your clients are all making identical requests (when viewing the same area). GeoServer (and the rest of the WMS world) handles this by breaking your map into tiles and using the WMTS standard 才能提供它们。您可以在 GeoServer 主页上找到相关的 getCapabilities link(传递给您的客户端)。
至于定期刷新磁贴,您需要调查 GWC rest API
我使用地理服务器发布了一个包含来自 MySQL 数据库的数据的 WMS 图层。目前,geoserver 似乎正在动态渲染 WMS 层。有没有办法定期 "pre-render" - 例如每小时 - 只需要 "cached" 个?
是的,您需要启用 GeoWebCache (GWC) to make a cache of your layer. Infact GeoServer does this automatically for you when you publish a layer unless you ask it not to. However, to take advantage of this cache you need to make sure your clients are all making identical requests (when viewing the same area). GeoServer (and the rest of the WMS world) handles this by breaking your map into tiles and using the WMTS standard 才能提供它们。您可以在 GeoServer 主页上找到相关的 getCapabilities link(传递给您的客户端)。
至于定期刷新磁贴,您需要调查 GWC rest API