Hi!

In the "new layer" page of geotools webapp, after selecting a store, there is a 
list of all the available layers included in that store, both published and not 
published.


How can I check that list and publish the "not already published" layers in the 
store through the "geoserver manager" java api (or the rest api)? I'm not 
finding the correct method or way to implement that.

All the methods I see in the GeoServerRESTPublisher create the store and 
publish the layers at the same time, and i can't use that in my use case.


I was trying to use the 
"GeoServerRESTPublisher.configureCoverage(gSCoverageEncoder, workspaceName, 
storeName, layerName)" method, but it print an error message saying that
"ERROR GeoServerRESTPublisher:2789 - No coverages found in new coveragestore XX 
called ZZ"


I also see that GeoServerRESTReader.existsCoverage(workspaceName, storeName, 
layerName) return false if the coverage is not already published.


I'm not finding something similar in the rest api, but maybe i'm missing 
something.


Hope someone could help with this!

Regards,
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to