Skip to content

Commit

Permalink
Reformatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 8, 2021
1 parent 01afa55 commit fa0c0e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/iso19111/c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1589,8 +1589,8 @@ const char *proj_as_wkt(PJ_CONTEXT *ctx, const PJ *obj, PJ_WKT_TYPE type,
* The returned string is valid while the input obj parameter is valid,
* and until a next call to proj_as_proj_string() with the same input
* object.
*
* \warning If a CRS object was not created from a PROJ string,
*
* \warning If a CRS object was not created from a PROJ string,
* exporting to a PROJ string will in most cases
* cause a loss of information. This can potentially lead to
* erroneous transformations.
Expand Down Expand Up @@ -3730,8 +3730,8 @@ PJ *proj_alter_name(PJ_CONTEXT *ctx, const PJ *obj, const char *name) {
* @return Object that must be unreferenced with
* proj_destroy(), or NULL in case of error.
*/
PJ *proj_alter_id(PJ_CONTEXT *ctx, const PJ *obj,
const char *auth_name, const char *code) {
PJ *proj_alter_id(PJ_CONTEXT *ctx, const PJ *obj, const char *auth_name,
const char *code) {
SANITIZE_CTX(ctx);
if (!obj || !auth_name || !code) {
proj_context_errno_set(ctx, PROJ_ERR_OTHER_API_MISUSE);
Expand Down Expand Up @@ -4166,8 +4166,7 @@ PJ *proj_crs_demote_to_2D(PJ_CONTEXT *ctx, const char *crs_2D_name,
* @return Object that must be unreferenced with
* proj_destroy(), or NULL in case of error.
*/
PJ *proj_create_engineering_crs(PJ_CONTEXT *ctx,
const char *crs_name) {
PJ *proj_create_engineering_crs(PJ_CONTEXT *ctx, const char *crs_name) {
SANITIZE_CTX(ctx);
try {
return pj_obj_create(
Expand Down
3 changes: 2 additions & 1 deletion src/iso19111/operation/transformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,8 @@ isGeographic3DToGravityRelatedHeight(const OperationMethodNNPtr &method,
"1100", // Geog3D to Geog2D+GravityRelatedHeight (PL txt)
"1103", // Geog3D to Geog2D+GravityRelatedHeight (EGM)
"1105", // Geog3D to Geog2D+GravityRelatedHeight (ITAL2005)
// "1110", // Geog3D to Geog2D+Depth (Gravsoft) FIXME: to investigate how to map this to PROJ pipeline (depth vs height)
// "1110", // Geog3D to Geog2D+Depth (Gravsoft) FIXME: to investigate
// how to map this to PROJ pipeline (depth vs height)
"9661", // Geographic3D to GravityRelatedHeight (EGM)
"9662", // Geographic3D to GravityRelatedHeight (Ausgeoid98)
"9663", // Geographic3D to GravityRelatedHeight (OSGM-GB)
Expand Down

0 comments on commit fa0c0e6

Please sign in to comment.