Skip to content

Commit cd47882

Browse files
authored
Clarify that proj:wkt2 or proj:projjson should be used for complex (non-EPSG) CRS #6 (#13)
1 parent fd56447 commit cd47882

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
@@ -10,13 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
### Changed
1212

13+
- Updated the PROJJSON schema to v0.5
14+
1315
### Deprecated
1416

1517
### Removed
1618

1719
### Fixed
1820

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

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

README.md

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

5154
#### proj:wkt2
5255

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

5963
#### proj:projjson
6064

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

6773
#### proj:geometry
6874

json-schema/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"title":"Coordinate Reference System in PROJJSON format",
114114
"oneOf": [
115115
{
116-
"$ref": "https://proj.org/schemas/v0.4/projjson.schema.json"
116+
"$ref": "https://proj.org/schemas/v0.5/projjson.schema.json"
117117
},
118118
{
119119
"type": "null"

0 commit comments

Comments
 (0)