On Tue, Oct 8, 2013 at 3:12 PM, Jonathan Moules <
[email protected]> wrote:
> Hi List,
> I was wondering if it is possible to move layers between workspaces. From
> what I can gather reading around the subject, it I'm gathering maybe not.
>
> I have a lot of layers in a single store that I'd like to send to other
> workspaces. Do I have to create a new store and assign that second store to
> a new workspace? Or is there a better way?
>
> I want to move probably 100 layers to new workspaces; they're all in the
> same store.
>
As you already figured out, the workspace association is done at the store
level, cannot be done at the layer level.
So yeah, if all the tools you have are the GUI, you'll have to create a new
store and re-create those layers I'm afraid.
If you can do some light programming/scripting though, you could use the
REST config API to change the featuretype reference from
one store to the other. It _should_ work (never tried it personally)
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users