diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-27 10:53:51 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-27 11:03:14 +0100 |
| commit | a4d389c37529bda488dc14fb4225e4dec40c0743 (patch) | |
| tree | 3531b98791f3aec23b382c62576be078f66f3fd8 /src/transformations | |
| parent | 81ec8c0b58d66333fccd3703dab62a11132a0331 (diff) | |
| download | PROJ-a4d389c37529bda488dc14fb4225e4dec40c0743.tar.gz PROJ-a4d389c37529bda488dc14fb4225e4dec40c0743.zip | |
Remove proj_def.dat (fixes #201)
Diffstat (limited to 'src/transformations')
| -rw-r--r-- | src/transformations/deformation.cpp | 3 |
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); |
