On Thu, Mar 10, 2011 at 5:50 PM, Garey Mills <[email protected]> wrote: > Andrea - > > Thanks for the reply, but I am confused about how to request a resource > as opposed to a layer. I tried this for one of the demo layers > > http://localhost:8080/geoserver/rest/workspaces/sf/datastores/sf/roads.xml > > but I got back some pretty minimal metadata. I see from the documentation > that a layer is a published resource, so I don't see why this > doesn't work.
You're looking at the datastore while you should be drilling down and look at the feature type instead: http://linuxdev.lib.berkeley.edu:8000/geoserver/rest/workspaces/sf/datastores/sf/featuretypes/roads.xml That has the attribute list with names and types Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
