Hi List,
Being new to using the REST API I would like to ask you how to create a
nested layergroup through the REST API?
My curl is:
curl -v -u user:pwd -XPOST -H 'Content-type: text/xml' -d
"<layerGroup><name>2013</name><title>2013</title><mode>CONTAINER</mode><layers><layer>201304</layer></layers></layerGroup>"
http://localhost:8080/geoserver/rest/workspaces/myworkspace/layergroups
Where "2013" is the new layerGroup and "201304" is an existing layerGroup.
I could successfully create a layerGroup consisting of plain layers.
Thanks for your views on this,
Csaba
--
Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.
Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)
Tel: +3630/9605853
Fax: +3617002542
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users