[ https://issues.apache.org/jira/browse/SIS302?page=com.atlassian.jira.plugin.system.issuetabpanels:alltabpanel
]
Martin Desruisseaux updated SIS302:

Description:
The _"Ellipsoid to (geo)centric"_ transform currently target only Cartesian coordinate system.
It should be easy to make it target spherical coordinate system too, since it is basically
a matter of *not* performing the last calls to sin(λ) and sin(λ), and compute an arctangent
for φ. More specifically we need to:
* Add a {{SPHERICAL}} enum value to {{EllipsoidToCentric.TargetType}}.
* Add a {{boolean}} field in {{EllipsoidToCentric}} for storing the target CS type in an efficient
way.
* Take the abovecited field in account in the following formulas:
** {{transform}} (forward conversion).
** {{inverseTransform}} (inverse conversion).
** {{transform}} : {{Matrix}} (derivative computation).
We could also opportunistically implement the cylindrical case, but its interest is not obvious.
was:
The _"Ellipsoid to (geo)centric"_ transform currently target only Cartesian coordinate system.
It should be easy to make it target spherical coordinate system too, since it is basically
a matter of *not* performing the last calls to sin(λ) and sin(λ), and compute an arctangent
for φ. More specifically we need to:
* Add a {{SPHERICAL}} enum value to {{EllipsoidToCentric.TargetType}}.
* Add a {{boolean}} field in {{EllipsoidToCentric}} for storing the target CS type in an efficient
way.
* Take the abovecited field in account in the following formulas:
** {{transform}} (forward conversion).
** {{inverseTransform}} (inverse conversion).
** {{transform}} : {{Matrix}} (derivative computation).
> Implement the spherical case of EllipsoidToCentric
> 
>
> Key: SIS302
> URL: https://issues.apache.org/jira/browse/SIS302
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Referencing
> Affects Versions: 0.7
> Reporter: Martin Desruisseaux
> Priority: Minor
>
> The _"Ellipsoid to (geo)centric"_ transform currently target only Cartesian coordinate
system. It should be easy to make it target spherical coordinate system too, since it is basically
a matter of *not* performing the last calls to sin(λ) and sin(λ), and compute an arctangent
for φ. More specifically we need to:
> * Add a {{SPHERICAL}} enum value to {{EllipsoidToCentric.TargetType}}.
> * Add a {{boolean}} field in {{EllipsoidToCentric}} for storing the target CS type in
an efficient way.
> * Take the abovecited field in account in the following formulas:
> ** {{transform}} (forward conversion).
> ** {{inverseTransform}} (inverse conversion).
> ** {{transform}} : {{Matrix}} (derivative computation).
> We could also opportunistically implement the cylindrical case, but its interest is not
obvious.

This message was sent by Atlassian JIRA
(v6.3.4#6332)
