>I could list all the layers (publish and unpublished) in a datastore 
through geoserver interface but wms/wfs/wcs >and even rest does not

If they are "unpublished", then no wms/wfs/wcs service exist for them. 
An "unpublished" OGC service doesnt make sense. There is not even 
concept of datastore of standard, only namespace. Using Datastore is 
merely how Geoserver has chosen to implement it.

However, the Geoserver REST interface can do it:
curl -v -u admin:geoserver -XGET -H "Accept: text/xml" http://
localhost:8080/geoserver/rest/workspaces/myworkspace/datastores/mydatastore/featuretypes?list
=available
Note the values you can choose for the parameter in
http://docs.geoserver.org/latest/en/user/rest/api/featuretypes.html

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to