Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

exporting layer configurations from geoserver

is it possible to export layer configurations from geoserver and import them into geoserver on another computer? It takes a long time to keep setting up the layers everytime i switch computers.

like image 401
MBU Avatar asked May 21 '11 00:05

MBU


2 Answers

Apparently you cant..The only way is to copy the data_dir directory and replace the new installations data_dir. Then when you start up geoserver the layer configs you setup should load automatically.

like image 84
MBU Avatar answered Oct 01 '22 21:10

MBU


You could use the Geoserver Manager1 (a wrapper around the Geoserver rest-api), to configure your layers, and store the procedure. Then you could just point the Manager to the new Geoserver.

like image 33
Atle Frenvik Sveen Avatar answered Oct 01 '22 23:10

Atle Frenvik Sveen