diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-02-14 14:51:39 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-02-14 14:55:23 +0100 |
| commit | 12689e3d858d66e5e00e8d99f9326ef91cc0a384 (patch) | |
| tree | d797ce54ab1a2d8539204f70d3aa59ba66f603ae /src/transform.cpp | |
| parent | 365526921aa330fbfb185569cbfbb54ca5714f6c (diff) | |
| download | PROJ-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.cpp | 5 |
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,}; /* -------------------------------------------------------------------- */ |
