MetaCRS TestSuite
This wiki page is home to discussion about a set of standard MetaCRS test data files. These files will allow users/programmers to verify the coordinate conversions/transformations performed by projects under the MetaCRS umbrella.
Test File Format
The current concept for the test data files is a monolithic CSV file in which each row contains the data needed to verify a single tranformation/conversion between two (2) coordinate reference systems (in a single direction).
The form and format of the test data file(s) may evolve as work continues.
Test File Schema
Column Name | Type | Description |
testName | String | Description or name of test |
testMethod | String | Descritption of test method |
srcCrsAuth | String | Source CRS definition governing Authority |
srcCrs | String | Source CRS Identifier within Authority catalog |
tgtCrsAuth | String | Target CRS definition governing Authority |
tgtCrs | String | Target CRS Identifier within Authority catalog |
srcOrd1 | Number | Source Ordinate 1 |
srcOrd2 | Number | Source Ordinate 2 |
srcOrd3 | Number | Source Ordinate 3 |
tgtOrd1 | Number | Target Ordinate 1 |
tgtOrd2 | Number | Target Ordinate 2 |
tgtOrd3 | Number | Target Ordinate 3 |
tolOrd1 | Number | Tolerance for Ordinate 1 |
tolOrd2 | Number | Tolerance for Ordinate 2 |
tolOrd3 | Number | Tolerance for Ordinate 3 |
using | String | Test method used |
dataSource | String | Source or provenance of test data |
dataCmnts | String | Comments about test data |
maintenanceCmnts | String | Comments about maintenance changes |
Ordinate Order
The convention used in the test suite is that axis (ordinate) order is determined by the coordinate reference system used. All coordinate reference system specifications need to either provide an assumed axis order, or specify it explicitly. It is the responsibility of libraries which use the test suite to be able to determine axis order from the coordinate reference system definition.
Development
Mailing List
Users and developers of the Test Suite should use the main MetaCRS mailing list.
- Subscription, unsubscription and a web archive are at http://lists.osgeo.org/mailman/listinfo/MetaCRS.
- Direct link to the mailing list archive.CW
Source Code
- SVN repository: http://svn.osgeo.org/metacrs/testsuite.
- Browse source here.
- Direct link to the test file folder: http://trac.osgeo.org/metacrs/browser/testsuite/trunk/src/main/resources