We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da8ae5 commit 1a0a28dCopy full SHA for 1a0a28d
src/apps/proj.cpp
@@ -540,13 +540,12 @@ int main(int argc, char **argv) {
540
const auto type = proj_get_type(P);
541
if (type == PJ_TYPE_PROJECTED_CRS) {
542
try {
543
- using namespace osgeo::proj;
544
- auto crs = dynamic_cast<const crs::ProjectedCRS *>(
+ auto crs = dynamic_cast<const NS_PROJ::crs::ProjectedCRS *>(
545
P->iso_obj.get());
546
auto dir =
547
crs->coordinateSystem()->axisList()[0]->direction();
548
- swapAxisCrs = dir == cs::AxisDirection::NORTH ||
549
- dir == cs::AxisDirection::SOUTH;
+ swapAxisCrs = dir == NS_PROJ::cs::AxisDirection::NORTH ||
+ dir == NS_PROJ::cs::AxisDirection::SOUTH;
550
} catch (...) {
551
}
552
auto ctx = P->ctx;
0 commit comments