It's 4 band, but the 4th is IR. It ended up just being this:
RangeSubset=contents[Bands[RED_BAND,GREEN_BAND,BLUE_BAND,ALPHA_BAND]]
Maybe that's what's described in the spec, but it wasn't clear to me.
Getting the image back from the .eml is a little fiddly too.
On 7/8/2011 1:48 AM, Andrea Aime wrote:
On Thu, Jul 7, 2011 at 7:39 PM, john poole <[email protected]
<mailto:[email protected]>> wrote:
Is there documentation on how to set up the wcs parameters to get
4 band
data from an image mosaic using WCS?
I've tried various combinations of the RangeSubset parameter, but its
not bringing back the data I see when viewing the separate bands
in ArcMap.
Removing the parameter returns a normal looking RGB.
I'm basically using this:
http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&IDENTIFIER=cite:wcsTest&FORMAT=image/tiff&BOUNDINGBOX=636407.5,4727192.5,678422.5,4804354.5,urn:ogc:def:crs:EPSG::26918&GridBaseCRS=urn:ogc:def:crs:EPSG::26918&GridCS=urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS&GridType=urn:ogc:def:method:WCS:1.1:2dSimpleGrid&GridOffsets=100.0,-100.0&RangeSubset=contents[Bands[RED_BAND]]
<http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&IDENTIFIER=cite:wcsTest&FORMAT=image/tiff&BOUNDINGBOX=636407.5,4727192.5,678422.5,4804354.5,urn:ogc:def:crs:EPSG::26918&GridBaseCRS=urn:ogc:def:crs:EPSG::26918&GridCS=urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS&GridType=urn:ogc:def:method:WCS:1.1:2dSimpleGrid&GridOffsets=100.0,-100.0&RangeSubset=contents[Bands[RED_BAND]]>
Is the image a RGBA one? Do you have a sample of it?
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users