Hi,
I cannot get correct response from WCS 1.1.1, the result is rotated.
The server is here:

 http://www.sogeo.ch/geoserver/wcs

request:

http://www.sogeo.ch:80/geoserver/wcs?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCoverage&FORMAT=image/tiff&IDENTIFIER=Img_Sample&BOUNDINGBOX=21.5843815789473652,-129.8681617142856908,53.2349184210526332,-62.9889182857142913,urn:ogc:def:crs:EPSG::4326&GRIDBASECRS=urn:ogc:def:crs:EPSG::4326&GRIDORIGIN=53.2349184210526332,-129.8681617142856908&GRIDCS=urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS&GRIDTYPE=urn:ogc:def:method:WCS:1.1:2dSimpleGrid&GRIDOFFSETS=1.7583631578947370,1.9670365714285709

returns rotated raster. I have checked all params and I believe that
with GRIDTYPE=urn:ogc:def:method:WCS:1.1:2dSimpleGrid it should never
be rotated. I have also looked into DefaultWebCoverageService111.java
and I cannot find why it should be rotated:

                if
(gridCRS.getGridType().equals(GridType.GT2dSimpleGrid.getXmlConstant()))
{
                    tx = new AffineTransform(
                            offsets[0], 0,
                            0, offsets[1],
                            origin[0], origin[1]
                    );

Does somebody has any idea? Are the params wrong? Which free WCS
client is known to work with GeoServer WCS 1.1.1?

The result with 1.1.1 is also larger by 1 pixel in each direction
(1.0.0 works OK), is it taken into account that 1.1.1 grid is using
cell centers, not edges?

Radim

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to