Re: [Geoserver-users] Publish a layer from an imagemosaic that is already harvested using REST API

2018-05-24 Thread Daniele Romagnoli
Hi Corina, Do you have any chance to list the coverages available on the posted prototype? curl -v -u admin:geoserver -XGET " http://localhost:8080/geoserver/rest/workspaces/topp/coveragestores/empty/coverages.xml?list=all " As you already said, make sure to update the coveragestore and

Re: [Geoserver-users] Publish a layer from an imagemosaic that is already harvested using REST API

2018-05-24 Thread Corina Tudorache via Geoserver-users
Hi Daniele, As far as I understand from the GeoServer REST documentation I have to create a coverageconfig.xml file with this content: NO2 NO2 Change the NO2 with the name of my parameter and run this in the console:curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d

Re: [Geoserver-users] Publish a layer from an imagemosaic that is already harvested using REST API

2018-05-24 Thread Daniele Romagnoli
Hi Corina, did you already take a look at the GeoServer REST documentation? http://docs.geoserver.org/stable/en/user/rest/workspaces.html#uploading-an-empty-mosaic Once you created an empty ImageMosaic and harvested a prototype granule I think that you should still* Configure a coverage on the

[Geoserver-users] Publish a layer from an imagemosaic that is already harvested using REST API

2018-05-24 Thread Corina Tudorache via Geoserver-users
Hi list, I am trying to publish a layer from an imagemosaic store. I created an empty imagemosaic store, harvested a netcdf, but when I go to "add layer" -> "add layer from", select the workspace and the store that corresponds to my layer, after that select publish , I get a java error. Caused