aboutsummaryrefslogtreecommitdiff
path: root/data/triangulation.schema.json
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2021-10-16 15:38:17 +0200
committerJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2021-10-21 22:18:29 +0200
commitf5aed82fc6eee896606e95dc15e578cd9f058a2c (patch)
tree94ed60520c61a765cb2515aaea4f3d21183d6b74 /data/triangulation.schema.json
parent576a075d309056382cadc26ddf04c9eb779114a0 (diff)
downloadPROJ-f5aed82fc6eee896606e95dc15e578cd9f058a2c.tar.gz
PROJ-f5aed82fc6eee896606e95dc15e578cd9f058a2c.zip
Add fallback_strategy to tinshift transform
- this bumps format_version of tinshift JSON to 1.1 for the new field fallback_strategy - the default behaviour without that field is retained - if fallback_strategy is set to "nearest_side", then points that do not fall into any of the triangles will be transformed according to the nearest triangle - if fallback_centroid is set to "nearest_side", then points that do not fall into any of the triangles will be transformed according to the triangle with the nearest centroid
Diffstat (limited to 'data/triangulation.schema.json')
-rw-r--r--data/triangulation.schema.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/data/triangulation.schema.json b/data/triangulation.schema.json
index d3f8004d..8203f5d9 100644
--- a/data/triangulation.schema.json
+++ b/data/triangulation.schema.json
@@ -13,7 +13,7 @@
"format_version": {
"type": "string",
"enum": [
- "1.0"
+ "1.0", "1.1"
]
},
"name": {
@@ -28,6 +28,14 @@
"$ref": "#/definitions/datetime",
"description": "The date on which this version of the triangulation was published (or possibly the date on which it takes effect?)"
},
+ "fallback_strategy": {
+ "type": "string",
+ "enum": [
+ "none",
+ "nearest_side",
+ "nearest_centroid"
+ ]
+ },
"license": {
"type": "string",
"description": "License under which the file is published"