[ 
https://issues.apache.org/jira/browse/SIS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Desruisseaux updated SIS-149:
------------------------------------

    Summary: Unit of GO_Measure and GO_Distance is hard-coded to metres.  (was: 
Unit of GO_Measure is GO_Distance are hard-coded to metres.)

> Unit of GO_Measure and GO_Distance is hard-coded to metres.
> -----------------------------------------------------------
>
>                 Key: SIS-149
>                 URL: https://issues.apache.org/jira/browse/SIS-149
>             Project: Spatial Information Systems
>          Issue Type: Sub-task
>          Components: Metadata
>    Affects Versions: 0.3
>            Reporter: Martin Desruisseaux
>
> The {{org.apache.sis.internal.jaxb.gco.GO_Distance}} class and its parent 
> {{GO_Measure}} class have a {{uom}} attribute which is currently hard-coded 
> to {{SI.METRE}} at marshalling time. This is done that way because the 
> current {{org.apache.sis.metadata.iso.identification.DefaultResolution}} 
> implementation does not have unit information.
> The proper fix would be to replace {{java.lang.Double}} return type by 
> {{Measure}}. This is pending "_replace JSR-275 by an alternative_" changes in 
> GeoAPI.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to