aboutsummaryrefslogtreecommitdiff
path: root/src/transform.cpp
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/transform.cpp
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/transform.cpp')
-rw-r--r--src/transform.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transform.cpp b/src/transform.cpp
index 486178d0..d111d835 100644
--- a/src/transform.cpp
+++ b/src/transform.cpp
@@ -75,14 +75,15 @@ static int adjust_axis( projCtx ctx, const char *axis, int denormalize_flag,
**
*/
-static const int transient_error[60] = {
+static const int transient_error[70] = {
/* 0 1 2 3 4 5 6 7 8 9 */
/* 0 to 9 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 10 to 19 */ 0, 0, 0, 0, 1, 1, 0, 1, 1, 1,
/* 20 to 29 */ 1, 0, 0, 0, 0, 0, 0, 1, 0, 0,
/* 30 to 39 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 40 to 49 */ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,
- /* 50 to 59 */ 1, 0, 1, 0, 1, 1, 1, 1, 0, 0 };
+ /* 50 to 59 */ 1, 0, 1, 0, 1, 1, 1, 1, 0, 0,
+ /* 60 to 69 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,};
/* -------------------------------------------------------------------- */