sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-310) WKT parser fails to parse UNIT["grade", 0.015707963267948967]
Date Wed, 24 Feb 2016 19:02:18 GMT
Martin Desruisseaux created SIS-310:
---------------------------------------

             Summary: 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
             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)

Mime
View raw message