[ https://issues.apache.org/jira/browse/SIS-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux updated SIS-302: ------------------------------------ Affects Version/s: 1.4 1.3 1.2 1.1 1.0 0.8 > Implement the spherical case of EllipsoidToCentric > -------------------------------------------------- > > Key: SIS-302 > URL: https://issues.apache.org/jira/browse/SIS-302 > Project: Spatial Information Systems > Issue Type: Improvement > Components: Referencing > Affects Versions: 0.7, 0.8, 1.0, 1.1, 1.2, 1.3, 1.4 > Reporter: Martin Desruisseaux > Assignee: 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 arc-tangent 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 above-cited 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 (v8.20.10#820010)