diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-09-17 00:19:24 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-09-17 00:19:24 +0200 |
| commit | 339f1e57d3d3ec971753bd0cf75700505182100c (patch) | |
| tree | dbbbbf0bd8e01b6a5543cd642175d95fa0d7489d /schemas | |
| parent | e3905b559a99d32952df08af9122192ca1b99cff (diff) | |
| download | PROJ-339f1e57d3d3ec971753bd0cf75700505182100c.tar.gz PROJ-339f1e57d3d3ec971753bd0cf75700505182100c.zip | |
projjson.schema.json: update to reflect that prime_meridian.longitude can just be a number, in which case the unit is implicitly degrees (fixes #2354)
Diffstat (limited to 'schemas')
| -rw-r--r-- | schemas/v0.2/projjson.schema.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/schemas/v0.2/projjson.schema.json b/schemas/v0.2/projjson.schema.json index 0a4015ce..c8e213e3 100644 --- a/schemas/v0.2/projjson.schema.json +++ b/schemas/v0.2/projjson.schema.json @@ -756,7 +756,7 @@ "$schema" : { "type": "string" }, "type": { "type": "string", "enum": ["PrimeMeridian"] }, "name": { "type": "string" }, - "longitude": { "$ref": "#/definitions/value_and_unit" }, + "longitude": { "$ref": "#/definitions/value_in_degree_or_value_and_unit" }, "id": { "$ref": "#/definitions/id" }, "ids": { "$ref": "#/definitions/ids" } }, @@ -912,6 +912,13 @@ "additionalProperties": false }, + "value_in_degree_or_value_and_unit": { + "oneOf": [ + { "type": "number" }, + { "$ref": "#/definitions/value_and_unit" } + ] + }, + "value_in_metre_or_value_and_unit": { "oneOf": [ { "type": "number" }, |
