On Sat, Dec 4, 2010 at 1:26 AM, Roman Gerlach <[email protected]> wrote: > Hi all, > > We have set up a Geoserver 2.1.beta1 on Ubuntu 8.04 with a few hundred MODIS > images; all in GeoTIFF processed with gdal and of equal dimension and > coordinate system (EPSG:4326); including internal tiles and overviews. All > works nicely with WMS, but when I'm trying to retrieve a single GeoTIFF (no > re-projecting) with the following WCS getCoverage KVP request I run into > trouble. > > http://localhost:8090/geoserver/ows?service=WCS&version=1.1.1&request=GetCoverage&BoundingBox=50,50,80,180,urn:ogc:def:crs:EPSG:4326&identifier=sbsc:MOD11C3.A2000061.005.2006273174935_MODIS_MONTHLY_0.05DEG_CMG_LST_day&format=image/geotiff&store=true > > The image returned is rotated by 90 deg and mirrored. > > I tried to add a few more parameters: > > http://localhost:8090/geoserver/ows?service=WCS&version=1.1.1&request=GetCoverage&BoundingBox=50,50,80,180,urn:ogc:def:crs:EPSG:4326&identifier=sbsc:MOD11C3.A2000061.005.2006273174935_MODIS_MONTHLY_0.05DEG_CMG_LST_day&format=image/geotiff&store=true&gridBaseCRS=urn:ogc:def:crs:EPSG:4326&gridOffsets=0.05,0.05 > > This solves the mirror effect, but not the rotation. It seems there is > something else missing, but I can't figure out what. Any hint?
OGC mandates urn:ogc:def:crs:EPSG:xywz syntax uses the same axis order as in the EPSG database. For 4326 and all other geographic coordinate reference systems that means lat/lon. So the result you get is to be expected, it's flipped because it's lat/lon instead of lon/lat, GIS aware systems should be able to use it and display it properly. Tried it out and both uDig and QGis could display the results properly (that is, non flipped) Of course a simple image viewer wouldn't. Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
