aboutsummaryrefslogtreecommitdiff
path: root/data/triangulation.schema.json
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-24 19:45:09 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-24 19:45:09 +0200
commit99a84ae74251d77180a58d81e913ea373fcac42a (patch)
tree5a1262780d7f0c9a6c4f7ee241c9b2903a3c5fce /data/triangulation.schema.json
parent99152afb0bf25d5d56fffc6a87bf8b392fd2cac1 (diff)
downloadPROJ-99a84ae74251d77180a58d81e913ea373fcac42a.tar.gz
PROJ-99a84ae74251d77180a58d81e913ea373fcac42a.zip
triangulation.schema.json: add an 'extent' member
Diffstat (limited to 'data/triangulation.schema.json')
-rw-r--r--data/triangulation.schema.json35
1 files changed, 34 insertions, 1 deletions
diff --git a/data/triangulation.schema.json b/data/triangulation.schema.json
index ee5cae0c..8bc0a8e8 100644
--- a/data/triangulation.schema.json
+++ b/data/triangulation.schema.json
@@ -94,6 +94,10 @@
"additionalProperties": false
}
},
+ "extent": {
+ "$ref": "#/definitions/extent",
+ "description": "Defines the region within which the triangulation is defined. This should be a bounding box defined as an array of [west,south,east,north] coordinate values in a unspecified geographic CRS. This bounding box should be seen as approximate, given that triangulation may be defined with projected coordinates, and also because some triangulations may not cover the whole bounding box."
+ },
"input_crs": {
"$ref": "#/definitions/crs",
"description": "String identifying the CRS of source coordinates in the vertices. Typically \"EPSG:XXXX\". If the transformation is for vertical component, this should be the code for a compound CRS (can be EPSG:XXXX+YYYY where XXXX is the code of the horizontal CRS and YYYY the code of the vertical CRS). For example, for the KKJ->ETRS89 transformation, this is EPSG:2393 (\"KKJ / Finland Uniform Coordinate System\"). The input coordinates are assumed to be passed in the \"normalized for visualisation\" / \"GIS friendly\" order, that is longitude, latitude for geographic coordinates and easting, northing for projected coordinates."
@@ -160,10 +164,39 @@
"crs": {
"type": "string"
},
- "datetime": {
+ "datetime": {
"type": "string",
"format": "date-time",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
+ },
+ "extent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "bbox"
+ ]
+ },
+ "parameters": {
+ "type": "object",
+ "properties": {
+ "bbox": {
+ "type": "array",
+ "minItems": 4,
+ "maxItems": 4,
+ "items": {
+ "type": "number"
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "type",
+ "parameters"
+ ],
+ "additionalProperties": false
}
}
}