On Tue, Jul 30, 2013 at 5:29 PM, Alessandro Burastero <[email protected]
> wrote:

> ciao,
>
> i wrote a custom ows service that nedds to add new layers (both raster
> and vector).
> In my service bean i declared a contructor that take the Geoserver
> object as parameter so i can easily create and read workspace,
> namespace, styles etc...
> In order to add new layer i've tried to read the rest and rest_config
> modules sources, but they are quite complicated.
>
> I hope that somewhere there is a method like addCoverageLayer(File
> geotiff)... :-)
>

There is no such a thing, you have to mimic what REST and/or the UI are
doing, and have a look at CatalogBuilder to get some of the steps automated.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to