aboutsummaryrefslogtreecommitdiff
path: root/src/proj_internal.h
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-02-14 14:51:39 +0100
committerKristian Evers <kristianevers@gmail.com>2019-02-14 14:55:23 +0100
commit12689e3d858d66e5e00e8d99f9326ef91cc0a384 (patch)
treed797ce54ab1a2d8539204f70d3aa59ba66f603ae /src/proj_internal.h
parent365526921aa330fbfb185569cbfbb54ca5714f6c (diff)
downloadPROJ-12689e3d858d66e5e00e8d99f9326ef91cc0a384.tar.gz
PROJ-12689e3d858d66e5e00e8d99f9326ef91cc0a384.zip
deformation: Replace +t_obs with +dt
The +t_obs parameter was confusing for users since it effectively overwrote the observation time in input coordinates. To make it more clear what is the operation is doing, users are now required to directly specify the time span for which they wish to apply a given deformation. The parameter +dt has been added for that purpose. The new parameter is mutually exclusive with +t_epoch. +dt is used when deformation for a set amount of time is needed and +t_epoch is used (in conjunction with the observation time of the input coordinate) when deformation from a specific epoch to the observation time is needed.
Diffstat (limited to 'src/proj_internal.h')
-rw-r--r--src/proj_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h
index 9ffcc2b3..b7e3de9e 100644
--- a/src/proj_internal.h
+++ b/src/proj_internal.h
@@ -677,6 +677,7 @@ struct FACTORS {
#define PJD_ERR_TOO_MANY_INITS -57
#define PJD_ERR_INVALID_ARG -58
#define PJD_ERR_INCONSISTENT_UNIT -59
+#define PJD_ERR_MUTUALLY_EXCLUSIVE_ARGS -60
/* NOTE: Remember to update src/strerrno.cpp, src/apps/gie.cpp and transient_error in */
/* src/transform.cpp when adding new value */