Paulm a écrit :
> Why does it take so much longer time when I change the ellipsoid? When using
> a Helmet 3D transtormation a rot.matrix is setup for fast converson of
> lat/long coord to another ellipsoid, or?
The matrix must be applied on geocentric coordinates, not on geographic
(long,lat) ones. A change of ellipsoid implies the following steps:
--- the point to transform ---------> (long,lat)
--- conversion to geocentric CRS ---> (X,Y,Z)
--- multiplication by the matrix ---> (X',Y',Z')
--- conversion to geographic CRS ---> (long',lat').
The conversions between geographic and geocentric CRS are costly.
A shortcut exists that can be applied directly on geographic coordinates,
without the conversion to geocentric CRS: this is the Molodenski transform,
which is an approximation (not an exact shortcut, only an approximation) of the
above steps. But this approximation is applicable only if the matrix doesn't
contains any rotation terms (only translation - maybe a scale, I would have to
check). Even when the Molodenski approximation is used, it still much more
costly than a simple matrix multiplication.
Martin
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users