[geotk] cartesian to geocentric transform

Martin Desruisseaux martin.desruisseaux at geomatys.com
Fri Apr 1 08:37:04 PDT 2016


Hello Lucio

What are the directions of the axes of your model coordinate systems?
Are increasing x values oriented toward East? or North? Same for y and z.

    Martin


Le 01/04/16 16:44, lucio Piccoli a écrit :
> i have a model in cartesian coordinates like
> x,y,z
> [-0.5, -0.5, -0.5]
> [ -0.5, 0.5 ,-0.5]
>  [0.5 ,0.5, -0.5]
> origin [0,0,0]
>
> i want to place this model onto a globe visualization that requires
> GEOCENTRIC coordinates.
>
> the origin of the model in GEOCENTRIC is
>
> [1215019.3092979142, -4736312.191468832, 4081596.540251589]
>
> i now want the model to be relative to the new model origin
>
> x,y,z
> [-0.5 ,-0.5, -0.5]
> [ -0.5 ,0.5, -0.5]
> [ 0.5 ,0.5 ,-0.5]
> origin [0,0,0]
>
> transforms to
>
> x,y,z
> [?,?,?]
> [?,?,?]
> [?,?,?]
> origin [1215019.3092979142, -4736312.191468832, 4081596.540251589]
>
> does that make sense?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20160401/1277b9fb/attachment.html>


More information about the Geotoolkit mailing list