Take the 2-minute tour ×
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 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?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
ignore the quote (') at the start of the url - it's just there to fool the editor in to not recognizing the url. –  iant Sep 5 '12 at 10:34
    
This is it!:) Thanks! –  Odoakr Sep 5 '12 at 11:00
    
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 '12 at 11:07
    
You'll want the security system in that case docs.geoserver.org/latest/en/user/security/index.html#security –  iant Sep 5 '12 at 11:19
add comment

Your Answer

 
discard

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.