diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-20 13:22:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-20 13:22:01 +0200 |
| commit | 2c9c015a6529548f5a5d448c78bc9b565d751590 (patch) | |
| tree | 2597c59e8270f1480785c97f7441ee0b295c29b3 /test/cli | |
| parent | e52fc2aa58504e6f0658da821bdd543d7a39df34 (diff) | |
| parent | cad1c5cf61fc00759bf4ad17b0b34f57f4945de6 (diff) | |
| download | PROJ-2c9c015a6529548f5a5d448c78bc9b565d751590.tar.gz PROJ-2c9c015a6529548f5a5d448c78bc9b565d751590.zip | |
Merge pull request #1547 from rouault/json_export
Add CRS JSON export (refs #1545)
Diffstat (limited to 'test/cli')
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist index f742fa60..97c1138c 100644 --- a/test/cli/testprojinfo_out.dist +++ b/test/cli/testprojinfo_out.dist @@ -135,6 +135,50 @@ WKT1_ESRI: GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] +PROJJSON: +{ + "$schema": "https://proj.org/schemas/v0.1/projjson.schema.json", + "type": "GeographicCRS", + "name": "WGS 84", + "datum": { + "type": "GeodeticReferenceFrame", + "name": "World Geodetic System 1984", + "ellipsoid": { + "name": "WGS 84", + "semi_major_axis": 6378137, + "inverse_flattening": 298.257223563 + } + }, + "coordinate_system": { + "subtype": "ellipsoidal", + "axis": [ + { + "name": "Geodetic latitude", + "abbreviation": "Lat", + "direction": "north", + "unit": "degree" + }, + { + "name": "Geodetic longitude", + "abbreviation": "Lon", + "direction": "east", + "unit": "degree" + } + ] + }, + "area": "World", + "bbox": { + "south_latitude": -90, + "west_longitude": -180, + "north_latitude": 90, + "east_longitude": 180 + }, + "id": { + "authority": "EPSG", + "code": 4326 + } +} + Testing projinfo -s EPSG:4326 -t EPSG:32631 Candidate operations found: 1 ------------------------------------- |
