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 is EAST. Is that correct?
> 
> Direction EAST or WEST apply also to ProjectedCRS and GeocentricCRS (the 
> later 
> needs to be changed). Given the next step (add some amount), you may be 
> better 
> to search for any axis where CoordinateSystemAxis.getRangeMeaning() returns 
> WARPAROUND, no matter the direction.

Oh, and don't anyone be fooled by this name, which merely implies the
manner in which number values behave during a warparound. WRAPAROUND
axes, when they wraparound, skip to the other extreme value. EXACT axes,
when they wraparound, merely have their values decrease again. A lovely
little puzzle this spinning rock. 

  --adrian


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to