You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2019/09/11 10:00:00 UTC
[jira] [Commented] (SIS-397) DefaultVerticalExtent should be able
to unmarshall verticalCRSId
[ https://issues.apache.org/jira/browse/SIS-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927450#comment-16927450 ]
Martin Desruisseaux commented on SIS-397:
-----------------------------------------
The attached {{verticalCRSId.patch}} file modifies the {{DefaultVerticalExtent}} class by adding required JAXB methods. However this patch should not be applied before SIS-471 is fixed, otherwise marshalling a metadata object and unmarshalling it back may cause the lost of CRS information.
> DefaultVerticalExtent should be able to unmarshall verticalCRSId
> ----------------------------------------------------------------
>
> Key: SIS-397
> URL: https://issues.apache.org/jira/browse/SIS-397
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Metadata
> Affects Versions: 0.5, 0.6, 0.7, 0.8
> Reporter: Martin Desruisseaux
> Priority: Major
> Attachments: verticalCRSId.patch
>
>
> ISO 19115 defines two ways to define the vertical coordinate reference system in a {{EX_VerticalExtent}}:
> * {{verticalCRS}} which is an association to ISO 19111 {{SC_VerticalCRS}}.
> * {{verticalCRSId}} which is an association to the simpler {{MD_ReferenceSystem}}.
> GeoAPI intentionally omits the {{MD_ReferenceSystem}} type in order to have a single framework for handling coordinate reference systems, namely ISO 19111. Consequently GeoAPI {{VerticalExtent}} interface (and Apache SIS {{DefaultVerticalExtent}} class) omits the {{verticalCRSId}} property. We will not add that property in public API, but we should at least be able to recognize it at unmarshalling with a private JAXB method.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)