I have three workspaces, and each has a layer named Land_Cover_Vector. I'm
trying to use the REST API to get a list of all layers, but when I request:
http://localhost/geoserver/rest/layers.xml

The HTML or XML links to
http://localhost/geoserver/rest/layers/Land_Cover_Vector.xml three times,
not to each individual layer.

If I have to iterate through all workspaces to find all the actual layer
links, what is the layers.xml endpoint for? Should layers.xml link to
layers in their workspaces?

--

Similarly, I have a layergroup with each of the Land_Cover_Vector layers in
it.

When I try to use the REST API to learn about the layergroup I request
http://localhost/geoserver/rest/layergroups/All_Land_Cover.xml. It also
links to
http://flatrock2.mapfeeder.net/geoserver/rest/layers/Land_Cover_Vector.xmlthree
times.

Is there a way to determine which layers are members of the layer group?


Thank you,
Michael Moore
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to