Skip to content

Commit 1304665

Browse files
m-mohrjlaura
authored andcommitted
Clarify that proj:wkt2 or proj:projjson should be used for complex (non-EPSG) CRS #6 (#13)
1 parent a65d69a commit 1304665

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
- Definition for authority and code instead of a hard coded EPSG. The EPSG code field was maintained for backwards compatibility.
1111

12+
- Updated the PROJJSON schema to v0.5
13+
1214
### Deprecated
1315

1416
### Removed
1517

1618
### Fixed
1719

1820
- Added missing scope "Collection" to Readme. The scope was already supported in JSON Schemas.
21+
- Clarify that `proj:wkt2` or `proj:projjson` should be used for complex (non-EPSG) CRS
1922
- Clarified which fields are required by GDAL
2023

2124
## [v1.0.0] - 2021-03-30

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,31 @@ The `proj` prefix is short for "projection", and is not a reference to the PROJ/
4646
A Coordinate Reference System (CRS) is the data reference system (sometimes called a
4747
'projection') used by the asset data, and can usually be referenced using an
4848
[EPSG code](https://en.wikipedia.org/wiki/EPSG_Geodetic_Parameter_Dataset).
49-
If the asset data does not have a CRS, such as in the case of non-rectified imagery with Ground Control
50-
Points, `proj:epsg` should be set to null. It should also be set to null if a CRS exists, but for which
51-
there is no valid EPSG code. A great tool to help find EPSG codes is [epsg.io](http://epsg.io/).
49+
A great tool to help find EPSG codes is [epsg.io](http://epsg.io/).
50+
51+
This field must be set to `null` in the following cases:
52+
- The asset data does not have a CRS, such as in the case of non-rectified imagery with Ground Control Points.
53+
- A CRS exists, but there is no valid EPSG code for it. In this case, the CRS should be provided in `proj:wkt2` and/or `proj:projjson`.
54+
Clients can prefer to take either, although there may be discrepancies in how each might be interpreted.
5255

5356
#### proj:wkt2
5457

55-
A Coordinate Reference System (CRS) is the data reference system (sometimes called a
56-
'projection') used by the asset data. This value is a [WKT2](http://docs.opengeospatial.org/is/12-063r5/12-063r5.html) string.
57-
If the data does not have a CRS, such as in the case of non-rectified imagery with Ground Control
58-
Points, proj:wkt2 should be set to null. It should also be set to null if a CRS exists, but for which
59-
a WKT2 string does not exist.
58+
A Coordinate Reference System (CRS) is the data reference system (sometimes called a 'projection')
59+
used by the asset data. This value is a [WKT2](http://docs.opengeospatial.org/is/12-063r5/12-063r5.html) string.
60+
61+
This field should be set to `null` in the following cases:
62+
- The asset data does not have a CRS, such as in the case of non-rectified imagery with Ground Control Points.
63+
- A CRS exists, but there is no valid WKT2 string for it.
6064

6165
#### proj:projjson
6266

63-
A Coordinate Reference System (CRS) is the data reference system (sometimes called a
64-
'projection') used by the asset data. This value is a [PROJJSON](https://proj.org/specifications/projjson.html) object.
65-
If the data does not have a CRS, such as in the case of non-rectified imagery with Ground Control
66-
Points, proj:projjson should be set to null. It should also be set to null if a CRS exists, but for which
67-
a PROJJSON string does not exist. The schema for this object can be found [here](https://proj.org/schemas/v0.2/projjson.schema.json).
67+
A Coordinate Reference System (CRS) is the data reference system (sometimes called a 'projection')
68+
used by the asset data. This value is a [PROJJSON](https://proj.org/specifications/projjson.html) object,
69+
see the [JSON Schema](https://proj.org/schemas/v0.5/projjson.schema.json) for details.
70+
71+
This field should be set to `null` in the following cases:
72+
- The asset data does not have a CRS, such as in the case of non-rectified imagery with Ground Control Points.
73+
- A CRS exists, but there is no valid WKT2 string for it.
6874

6975
#### proj:geometry
7076

json-schema/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"title":"Coordinate Reference System in PROJJSON format",
129129
"oneOf": [
130130
{
131-
"$ref": "https://proj.org/schemas/v0.4/projjson.schema.json"
131+
"$ref": "https://proj.org/schemas/v0.5/projjson.schema.json"
132132
},
133133
{
134134
"type": "null"

0 commit comments

Comments
 (0)