Re: [Geoserver-users] Find layers that ends in "RGB"

2016-04-15 Thread Ben Caradoc-Davies
Alberto, rather than filtering the output, you could also include a predicate in the XPath to select only the CoverageId elements you want: $ curl -s 'http://localhost:8080/geoserver/wcs?service=WCS&version=2.0.1&request=GetCapabilities' | xpath -q -e '//wcs:CoverageId/text()[contains(.,"Samp

Re: [Geoserver-users] Find layers that ends in "RGB"

2016-04-15 Thread Ben Caradoc-Davies
Alberto, the canonical way to discover resources via OGC web services is with a GetCapabilities request. In the case of WCS, you can discover the names of all enabled coverages. Use curl or any other HTTP client to retrieve the capabilities document, then parse it as XML with your language or

Re: [Geoserver-users] Find layers that ends in "RGB"

2016-04-15 Thread Stefano Costa
Hi Alberto, if I understand your question correctly, you're looking for a way to retrieve via the REST API all the layers whose name matches a certain pattern... but I'm afraid that is currently not possible. Happy to be proven wrong anyways :-) On Fri, Apr 15, 2016 at 6:43 PM, Alberto Callejas D

Re: [Geoserver-users] Fwd: Cannot disable security on GWC REST API

2016-04-15 Thread Jason Newmoyer
Seems there might be a bug with the security module there. Any changes to the filter chains do not get saved to the config.xml file. After manually updating the config.xml to disable security on the gwc filter chain, then restarting the server, it worked fine. Reloading the catalog/config did not

[Geoserver-users] Find layers that ends in "RGB"

2016-04-15 Thread Alberto Callejas Delgado
Dear GeoServer users, I am working with the rest api and I need to get a list of coverages from GeoServer via cURL but just those which are RGB products (layer name ending in "RGB") I read in here that almost everything you can do in the GUI can be done using cURL. Please, could anybody point me

Re: [Geoserver-users] Must use Double dataType for elevation in ImageMosaic config, even when NetCDF files have float type

2016-04-15 Thread Daniele Romagnoli
Hi Paddy, if you can open a JIRA containing sample data, config files and requests needed to replicate the issue, we could investigate on that and check the problem through a debug session. I'm wondering if the z dimension has been configured/recognized as elevation / custom dimension. Please, le

[Geoserver-users] Must use Double dataType for elevation in ImageMosaic config, even when NetCDF files have float type

2016-04-15 Thread Padhrig Mccarthy
Hi- This is report of a recent discovery I made after repeatedly banging my head against the wall, so I thought I should write it up here to help future users. Basically, you MUST define your elevation dimension as a Double in your schema (using ImageMosaic indexer.xml), even if your NetCDF files

Re: [Geoserver-users] JPEG artifacts when imagery has black areas

2016-04-15 Thread Jonathan Moules
Hi Jason, The following two should help: http://gis.stackexchange.com/questions/114370/compression-artifacts-and-gdal http://osgeo-org.1560.x6.nabble.com/gdal-dev-JPEG-compressed-GeoTIFF-ignores-Nodata-td3746232.html Cheers, Jonathan On Thu, 14 Apr 2016 21:36:59 +0100 Jason Newmoyer