aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-11-28 14:58:14 +0100
committerKristian Evers <kristianevers@gmail.com>2019-11-28 14:58:14 +0100
commitac2762b581918dd3fcecf2a4d0dd72f92ca87011 (patch)
treed0158eb03d39b9d2249a30ea88f333c8e560f351 /src/pipeline.cpp
parent2bc1e2e1a9d0a7abe410ee99d39236570474cfde (diff)
parentbce4b158ab5f7d146de8e8fc98df4612dc8c2c9e (diff)
downloadPROJ-ac2762b581918dd3fcecf2a4d0dd72f92ca87011.tar.gz
PROJ-ac2762b581918dd3fcecf2a4d0dd72f92ca87011.zip
Merge branch '6.2' of https://github.com/OSGeo/proj.4 into 6.2
Diffstat (limited to 'src/pipeline.cpp')
-rw-r--r--src/pipeline.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pipeline.cpp b/src/pipeline.cpp
index afa3b19a..76ffc98e 100644
--- a/src/pipeline.cpp
+++ b/src/pipeline.cpp
@@ -105,6 +105,7 @@ Thomas Knudsen, thokn@sdfe.dk, 2016-05-20
#include "geodesic.h"
#include "proj.h"
#include "proj_internal.h"
+#include "proj_experimental.h"
PROJ_HEAD(pipeline, "Transformation pipeline manager");
PROJ_HEAD(pop, "Retrieve coordinate value from pipeline stack");
@@ -136,7 +137,11 @@ static PJ_LPZ pipeline_reverse_3d (PJ_XYZ xyz, PJ *P);
static PJ_XY pipeline_forward (PJ_LP lp, PJ *P);
static PJ_LP pipeline_reverse (PJ_XY xy, PJ *P);
-
+void pj_pipeline_assign_context_to_steps( PJ* P, PJ_CONTEXT* ctx )
+{
+ for (int i = 1; i <= static_cast<struct pj_opaque*>(P->opaque)->steps; i++)
+ proj_assign_context(static_cast<struct pj_opaque*>(P->opaque)->pipeline[i], ctx);
+}
static PJ_COORD pipeline_forward_4d (PJ_COORD point, PJ *P) {