On Fri, Feb 18, 2011 at 4:52 PM, Krishna Rajendra Alapati <
[email protected]> wrote:
> Hello,
>
> I am using the REST API GeoServer 2.1-RC1 and wondering if there is any
> operation to create a new layer in REST API.
>
> We have a custom datastore developed using the
> "org.geotools.data.DataStoreFactorySpi" and installed in GeoServer. I
> managed to create this datastore successfully and looking for some thing in
> REST API to create the layers ?
>
>
Documentation here:
http://docs.geoserver.org/latest/en/user/restconfig/rest-config-api.html
There should be all you need to create a resource and then a layer on top of
it.
If you have doubts about the xml file contents just configure one by hand
using the GUI
and then see how the feature type and layer have been setup by making get
calls
to the corresponding rest urls
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
-------------------------------------------------------
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users