[Geoserver-users] Save Cascade WMS layers locally

Hello everyone,

The context:

I have a running geoserver (https://spatial.naturalsciences.be) that works fine. This is my main Geoserver instance. The layers are a combination of several different data stores (GIS layers, PosgreSQL database,...).

I have another geoserver instance running on a research vessel. This vessel has poor (and expensive) connectivity when cruising.

I would like to visualize the layers from the main geoserver on-board even if there is no internet connection.

My question is:

 \- Is it possible to populate the on\-board geoserver by saving locally the layers available via the main WMS?

I see there is some documentation on cascading WMS but it needs to remain connected to the source.

Many thanks for your help/ideas,

Nicolas de Ville

Hi,

Did you try enabling caching for the layer and seed it in the local geowebcache ? You’ll be able to access it in WMTS afterwards.

Good luck.

···

Envoyé à partir d’Outlook


De : Nicolas De Ville De Goyet ndeville@anonymised.com
Envoyé : 16 mars 2023 06:45
À : GeoServer Mailing List List geoserver-users@anonymised.comrge.net
Objet : [Geoserver-users] Save Cascade WMS layers locally

Hello everyone,

The context:

I have a running geoserver (https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspatial.naturalsciences.be%2F&data=05%7C01%7C%7C30a084ed68cf46d8b21e08db2610a5ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638145625160806280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9PswEMQBr7TjsPKfjlN6ShqGc%2B0XIZ1i9jd6iSwO0%2FU%3D&reserved=0) that
works fine. This is my main Geoserver instance. The layers are a
combination of several different data stores (GIS layers, PosgreSQL
database,…).

I have another geoserver instance running on a research vessel. This
vessel has poor (and expensive) connectivity when cruising.

I would like to visualize the layers from the main geoserver on-board
even if there is no internet connection.

My question is:

  • Is it possible to populate the on-board geoserver by saving
    locally the layers available via the main WMS?

I see there is some documentation on cascading WMS but it needs to
remain connected to the source.

Many thanks for your help/ideas,

Nicolas de Ville


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&data=05%7C01%7C%7C30a084ed68cf46d8b21e08db2610a5ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638145625160806280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q39a3GzzJsNJFBpGOCu2o26CkvHogcDorx4lUggSJVM%3D&reserved=0

Geoserver-users@lists.sourceforge.net
https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users&data=05%7C01%7C%7C30a084ed68cf46d8b21e08db2610a5ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638145625160806280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=K6dtoVh%2FWN15GKng6d5YTDNP9pmWpXOnJTk0Z2DgWvg%3D&reserved=0

You can cascade the layer through GeoServer and then build a GeoWebCache of that layer, if you pre-seed it then you will have everything you need when out to sea - I did a talk about it FOSS4G 2017: Pirate Maps, Experiments with portable maps on the Raspberry Pi (video) on implementing this with a RaspberryPi but it would work with a bigger machine too.

Ian

···

Ian Turton