diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-03-17 16:27:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-17 16:27:02 +0100 |
| commit | 0d630d411abc14c0fab1f137dcfe501c0de28883 (patch) | |
| tree | 3a120075bedd757e516f018fabbf5d66b2cd1587 /src/iso19111/common.cpp | |
| parent | 781dedec1fc3b8452d12f67f3c8ddd9d45f724f4 (diff) | |
| parent | ac37a9127a96175b38d0a2a693f1a6219d4180af (diff) | |
| download | PROJ-0d630d411abc14c0fab1f137dcfe501c0de28883.tar.gz PROJ-0d630d411abc14c0fab1f137dcfe501c0de28883.zip | |
Merge pull request #2079 from rouault/deprecate_proj_list_angular_units
Deprecate proj_list_angular_units(). Follow-up of https://github.com/OSGeo/PROJ/pull/2065
Diffstat (limited to 'src/iso19111/common.cpp')
| -rw-r--r-- | src/iso19111/common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/common.cpp b/src/iso19111/common.cpp index 4606905b..e3c747b9 100644 --- a/src/iso19111/common.cpp +++ b/src/iso19111/common.cpp @@ -321,7 +321,7 @@ std::string UnitOfMeasure::exportToPROJString() const { } } } else if (type() == Type::ANGULAR) { - auto proj_angular_units = proj_list_angular_units(); + auto proj_angular_units = pj_list_angular_units(); for (int i = 0; proj_angular_units[i].id != nullptr; i++) { if (::fabs(proj_angular_units[i].factor - conversionToSI()) < 1e-10 * conversionToSI()) { |
