diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2019-02-20 22:25:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-20 22:25:06 +0100 |
| commit | f5a78058c9d8e633e34e6b0979c79cb7d17b1a93 (patch) | |
| tree | d48fa1c9159673e0f40231557db4f688b9acccab /src/apps/cs2cs.cpp | |
| parent | 942722214e0b94bd848dac21c8e21923cf9f1c04 (diff) | |
| parent | 69ef7449f5f26453a8b6cab1ba02cb870055615f (diff) | |
| download | PROJ-f5a78058c9d8e633e34e6b0979c79cb7d17b1a93.tar.gz PROJ-f5a78058c9d8e633e34e6b0979c79cb7d17b1a93.zip | |
Merge pull request #1279 from rouault/vertcrs_transform_improvements
Vertcrs transform improvements
Diffstat (limited to 'src/apps/cs2cs.cpp')
| -rw-r--r-- | src/apps/cs2cs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apps/cs2cs.cpp b/src/apps/cs2cs.cpp index 150548c5..dafd06f8 100644 --- a/src/apps/cs2cs.cpp +++ b/src/apps/cs2cs.cpp @@ -206,10 +206,10 @@ static void process(FILE *fid) } /************************************************************************/ -/* instanciate_crs() */ +/* instantiate_crs() */ /************************************************************************/ -static PJ *instanciate_crs(const std::string &definition, +static PJ *instantiate_crs(const std::string &definition, bool &isGeog, double &toRadians, bool &isLatFirst) { PJ *crs = proj_create(nullptr, @@ -541,7 +541,7 @@ int main(int argc, char **argv) { PJ *src = nullptr; if (!fromStr.empty()) { bool ignored; - src = instanciate_crs(fromStr, srcIsGeog, + src = instantiate_crs(fromStr, srcIsGeog, srcToRadians, ignored); if (!src) { emess(3, "cannot instantiate source coordinate system"); @@ -550,7 +550,7 @@ int main(int argc, char **argv) { PJ *dst = nullptr; if (!toStr.empty()) { - dst = instanciate_crs(toStr, destIsGeog, + dst = instantiate_crs(toStr, destIsGeog, destToRadians, destIsLatLong); if (!dst) { emess(3, "cannot instantiate target coordinate system"); |
