From a0677fe1ed935e75ac6543d77684879dcd457745 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 10 Dec 2018 16:11:40 +0100 Subject: proj_obj_cs_get_axis_info(): add out_unit_auth_name and out_unit_code parameters --- src/cs2cs.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/cs2cs.cpp') 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; -- cgit v1.2.3