diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-20 20:42:26 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-20 20:42:26 +0100 |
| commit | 69ef7449f5f26453a8b6cab1ba02cb870055615f (patch) | |
| tree | d48fa1c9159673e0f40231557db4f688b9acccab /src/apps/cs2cs.cpp | |
| parent | 94578ea8ff38f4bc6b1f6f52b80ecf7359f5dfc2 (diff) | |
| download | PROJ-69ef7449f5f26453a8b6cab1ba02cb870055615f.tar.gz PROJ-69ef7449f5f26453a8b6cab1ba02cb870055615f.zip | |
typo fixes: s/Explictly/Explicitly/ and s/instanciat/instantiat/
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"); |
