You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by Martin Desruisseaux <ma...@geomatys.com> on 2016/02/25 00:25:16 UTC

Bug fixes in WKT parsing and formatting

Hello all

I added a test over the ~5000 non-deprecated Coordinate Reference
Systems (CRS) supported by SIS from the [1] list. The test formats each
CRS in Well Known Text (WKT) version 2, parses the WKT, reformats again
and compare the two WKT. The intend is to verify that the parser and
formatter are consistent with each-other and that there is no
information lost in that process. This test identified the following
bugs, which have been fixed on all branches and trunk:

  * https://issues.apache.org/jira/browse/SIS-309
    URI in the ID element of WKT 2 wrongly taken as ID version number

  * https://issues.apache.org/jira/browse/SIS-310
    WKT parser fails to parse UNIT["grade", 0.015707963267948967]

  * https://issues.apache.org/jira/browse/SIS-311
    WKT parser ignores AREA and BBOX elements

  * https://issues.apache.org/jira/browse/SIS-312
    Axis abbreviation with nested parenthesis confuse the WKT parser

  * https://issues.apache.org/jira/browse/SIS-313
    Formatter should tell that "North along 130°W" axis direction
    requires version 2 of WKT

Martin


[1]
http://sis.staging.apache.org/book/tables/CoordinateReferenceSystems.html