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
<http://linuxdev.lib.berkeley.edu:8000/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.
Garey Mills
On 3/10/2011 1:35 AM, Andrea Aime wrote:
On Thu, Mar 10, 2011 at 12:08 AM, Garey Mills
<[email protected] <mailto:[email protected]>> wrote:
I'd like to put a shapefile into GeoServer using the REST
interface and
then query
the layer to get the calculated bounding box, also via REST. Is that
possible?
If you get back the xml representing the resource (not the layer) you
should get both the native
and the declared bounding boxes.
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