aboutsummaryrefslogtreecommitdiff
path: root/src/transformations
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-27 10:53:51 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-27 11:03:14 +0100
commita4d389c37529bda488dc14fb4225e4dec40c0743 (patch)
tree3531b98791f3aec23b382c62576be078f66f3fd8 /src/transformations
parent81ec8c0b58d66333fccd3703dab62a11132a0331 (diff)
downloadPROJ-a4d389c37529bda488dc14fb4225e4dec40c0743.tar.gz
PROJ-a4d389c37529bda488dc14fb4225e4dec40c0743.zip
Remove proj_def.dat (fixes #201)
Diffstat (limited to 'src/transformations')
-rw-r--r--src/transformations/deformation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transformations/deformation.cpp b/src/transformations/deformation.cpp
index 6c30f21c..0197cf5c 100644
--- a/src/transformations/deformation.cpp
+++ b/src/transformations/deformation.cpp
@@ -269,7 +269,8 @@ PJ *TRANSFORMATION(deformation,1) {
return destructor(P, ENOMEM);
P->opaque = (void *) Q;
- Q->cart = proj_create(P->ctx, "+proj=cart");
+ // Pass a dummy ellipsoid definition that will be overridden just afterwards
+ Q->cart = proj_create(P->ctx, "+proj=cart +a=1");
if (Q->cart == nullptr)
return destructor(P, ENOMEM);