Re: [Geotools-devel] Coverages and spanning the antimeridian

2008-02-16 Thread Adrian Custer
On Fri, 2008-02-15 at 19:57 +0100, Martin Desruisseaux wrote: > Andrea Aime a écrit : > > Now, given the axis order issues, I'll first have to determine > > where longitude is. Looking at the code it seems the way is to > > scan the coordinate system axis and look for the one whose > > direction i

Re: [Geotools-devel] Coverages and spanning the antimeridian

2008-02-15 Thread Martin Desruisseaux
Andrea Aime a écrit : > Now, given the axis order issues, I'll first have to determine > where longitude is. Looking at the code it seems the way is to > scan the coordinate system axis and look for the one whose > direction is EAST. Is that correct? Direction EAST or WEST apply also to ProjectedC

Re: [Geotools-devel] Coverages and spanning the antimeridian

2008-02-15 Thread Andrea Aime
Andrea Aime ha scritto: > Consider a case where I have a grid coverage that spans -180,180 > longitude and a wcs requests asking for the bbox 175,10,-175,20. Ah, for added injury I will have to deal with a slightly more complex case as well. Say the original coverage does not span -180,180, but o