On Thu, May 15, 2014 at 4:33 PM, Jody Garnett <[email protected]>wrote:

> Wonderful, can I ask if you have deprecated the math transform method?
>

We cannot. From my original mail:

--------------

CRS.transform(mathTransform, envelope)

This method is fine for a class of transformations, such as affine
transforms
(extensively used to apply grid to world transforms in rasters) and
flattening
transforms (going from a 3d to a 2d envelpe), ....

---------------

The best we could do is to to add javadoc telling people not to use it for
a CRS transform...
if it wasn't that it's already there:

     * Note that this method can not handle the case where the envelope
contains the North or
     * South pole, or when it cross the &plusmn;180° longitude, because
{@linkplain MathTransform
     * math transforms} do not carry suffisient informations. For a more
robust envelope
     * transformation, use {@link #transform(CoordinateOperation,
Envelope)} instead.


Cheers
Andrea

-- 
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to