sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <>
Subject [jira] [Commented] (SIS-161) CRS.isHorizontalCRS(...) should recognize a wider range of types
Date Mon, 06 Jul 2015 12:59:04 GMT


Martin Desruisseaux commented on SIS-161:

ISO 19162 ยง16.1 ([OGC web site|])
defines a horizontal CRS as below:

<horizontal crs> ::= <geographic2D crs> | <projected crs> | <engineering

However we may want to refine those criterion (e.g. maybe not accept any kind of {{EngineeringCRS}},
and maybe accept some kind of {{DerivedCRS}}).

> CRS.isHorizontalCRS(...) should recognize a wider range of types
> ----------------------------------------------------------------
>                 Key: SIS-161
>                 URL:
>             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

View raw message