Hello,
I'm trying to publish a large amount of layers using the CatalogBuilder instead
of REST but this effort takes too long.
I've been publishing layers using the CatalogBuilder as such:
CatalogBuilder builder = new CatalogBuilder(catalog);
CoverageStoreInfo info = catalog.getCoverageStoreByName(storeName);
builder.setStore(info);
CoverageInfo ci = builder.buildCoverage(coverageName);
LayerInfo layer = builder.buildLayer(ci);
layer.setResource(ci);
catalog.add(ci);
catalog.add(layer);
I've read that the CatalogBuilder is not thread safe, is there a better way to
programmatically publish a large amount of layers in geoserver without the REST
API?
Best,
Sylvia
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel