aboutsummaryrefslogtreecommitdiff
path: root/src/cs2cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cs2cs.cpp')
-rw-r--r--src/cs2cs.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cs2cs.cpp b/src/cs2cs.cpp
index a8d126cf..3345bcc6 100644
--- a/src/cs2cs.cpp
+++ b/src/cs2cs.cpp
@@ -242,7 +242,9 @@ static PJ_OBJ *instanciate_crs(const std::string &definition,
nullptr, // abbrev
nullptr, // direction
&toRadians,
- nullptr // unit name
+ nullptr, // unit name
+ nullptr, // unit authority
+ nullptr // unit code
);
isLatFirst =
NS_PROJ::internal::ci_find(std::string(axisName), "latitude") !=
@@ -291,7 +293,9 @@ static std::string get_geog_crs_proj_string_from_proj_crs(PJ_OBJ *src,
nullptr, // abbrev
nullptr, // direction
&toRadians,
- nullptr // unit name
+ nullptr, // unit name
+ nullptr, // unit authority
+ nullptr // unit code
);
isLatFirst = NS_PROJ::internal::ci_find(std::string(axisName),
"latitude") != std::string::npos;