diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-06-14 12:07:31 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-06-14 12:07:31 +0200 |
| commit | 987c8e9a4521c3e80fac73dbaa76ff77747d854b (patch) | |
| tree | 38ff918ea1bb65a189ab803158cf88b304d3a59b | |
| parent | 385ca0ecb4e8df531184941850233e8cc4a2f463 (diff) | |
| download | PROJ-987c8e9a4521c3e80fac73dbaa76ff77747d854b.tar.gz PROJ-987c8e9a4521c3e80fac73dbaa76ff77747d854b.zip | |
Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE
| -rw-r--r-- | src/iso19111/crs.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index b0f8a30f..28f55ffe 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -5522,12 +5522,11 @@ BoundCRS::_identify(const io::AuthorityFactoryPtr &authorityFactory) const { std::string opTransfPROJString; bool opTransfPROJStringValid = false; const auto &opName = op->nameStr(); - if (starts_with(opName, - osgeo::proj::operation:: - BALLPARK_GEOCENTRIC_TRANSLATION) || - starts_with( + if (starts_with( opName, - osgeo::proj::operation::NULL_GEOGRAPHIC_OFFSET)) { + operation::BALLPARK_GEOCENTRIC_TRANSLATION) || + starts_with(opName, + operation::NULL_GEOGRAPHIC_OFFSET)) { if (refIsNullTransform) { res.emplace_back(create(candidateBaseCRS, d->hubCRS_, |
