Martin Desruisseaux created SIS-161:
---------------------------------------

             Summary: CRS.isHorizontalCRS(...) should a wider range of types
                 Key: SIS-161
                 URL: https://issues.apache.org/jira/browse/SIS-161
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Referencing
    Affects Versions: 0.4
            Reporter: Martin Desruisseaux
            Priority: Minor


The {{CRS.isHorizontalCRS(CoordinateReferenceSystem)}} method currently returns 
{{true}} if the given CRS is a two-dimensional {{GeographicCRS}} or a 
{{ProjectedCRS}}, and conservatively returns {{false}} in all other cases. We 
should be able to expand the range of recognized types. One use case is a radar 
station using a polar coordinate system in a {{DerivedCRS}} instance based on a 
projected CRS. The problem is that we do not know if the conversion associated 
to the {{DerivedCRS}} instance is performing a rotation along some horizontal 
axis. For example the {{DerivedCRS}} instance could represent an inclined plane.

The proposed approach is to provide ourselves the {{MathTransform}} 
implementations performing coordinate conversions between various 
{{CoordinateSystem}} types, and check if the {{DerivedCRS}} instance is using 
one of those types. This is not a fully generic approach, but would allows us 
to go some steps further.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to