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 2016/02/24 20:20:18 UTC

[jira] [Resolved] (SIS-310) WKT parser fails to parse UNIT["grade", 0.015707963267948967]

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

Martin Desruisseaux resolved SIS-310.
-------------------------------------
    Resolution: Fixed

> WKT parser fails to parse UNIT["grade", 0.015707963267948967]
> -------------------------------------------------------------
>
>                 Key: SIS-310
>                 URL: https://issues.apache.org/jira/browse/SIS-310
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Referencing
>    Affects Versions: 0.6
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>              Labels: WKT
>             Fix For: 0.7
>
>
> If a WKT contains grade unit like {{UNIT\["grade", 0.015707963267948967\]}} and the parser can not infer from the context that the units are angular (for example when the unit appears in a {{PARAMETER}} element), parsing fails.
> This bug does not happen if the {{ANGLEUNIT}} keyword is used instead of the neutral {{UNIT}} or if the context implies that the units are angular (for example inside a {{PRIMEMERIDIAN}} element).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)