Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using the geoserver api to find information about layers that are available. I am using:


to get a dynamic list of all layers. If I then select a layer with:


I get information about the layer.

How can I determine the layers respective workspace?

share|improve this question
localhost/geoserver/rest/workspaces – iant Jul 17 '13 at 14:57

1 Answer 1

From the layer, follow the link to the associated feature type


then to the data store for that feature type


and then from there there's a link to the workspace


You could also look at the path to the feature type which will include the workspace, although that's not quite as "correct" a method, it does save you from having to load all those extra resources.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.