3

I would like to start WFS with layers that are stored in particular workspace. Now my WFS address (ex. domain.com/geoserver/wfs) gives access to layers saveed in all workspaces. Wher to change it?

1 Answer 1

3

you can add your workspace name to the URL - as here:

'http://localhost:8080/geoserver/workspace/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=workspace:*featurename*&maxFeatures=50&outputFormat=json

You can read all about the features provided by virtual services here

3
  • ignore the quote (') at the start of the url - it's just there to fool the editor in to not recognizing the url.
    – Ian Turton
    Sep 5, 2012 at 10:34
  • It is possible to disable WFS for particular workspaces and eneable it just for one? I would like to serve rest as WMS.
    – Odoakr
    Sep 5, 2012 at 11:07
  • You'll want the security system in that case docs.geoserver.org/latest/en/user/security/index.html#security
    – Ian Turton
    Sep 5, 2012 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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