aboutsummaryrefslogtreecommitdiff
path: root/src/proj_experimental.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-24 14:05:49 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-10-24 18:54:18 +0200
commitb8f00d843379fb4103075f25242d5bf8a66d1d65 (patch)
tree311b024b2d02836f11577624ad2abc5cdd528386 /src/proj_experimental.h
parent8d4a054601e5eadfec2e7ca12132b1c8b537abbe (diff)
downloadPROJ-b8f00d843379fb4103075f25242d5bf8a66d1d65.tar.gz
PROJ-b8f00d843379fb4103075f25242d5bf8a66d1d65.zip
Generalize generalize_proj_crs_create_bound_vertical_crs_to_WGS84()
In recent commits, we added a generalize_proj_crs_create_bound_vertical_crs_to_WGS84() function, but there are situations where more accurate results can be obtained, if instead of specifying WGS84 as the hub CRS, the user can specify the exact hub CRS. For example the GEOID2018 grid is against NAD83(2011). So replace this function with proj_crs_create_bound_vertical_crs()
Diffstat (limited to 'src/proj_experimental.h')
-rw-r--r--src/proj_experimental.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/proj_experimental.h b/src/proj_experimental.h
index 63b858d5..c6d5bc45 100644
--- a/src/proj_experimental.h
+++ b/src/proj_experimental.h
@@ -317,9 +317,10 @@ PJ PROJ_DLL *proj_crs_create_bound_crs_to_WGS84(PJ_CONTEXT *ctx,
const PJ *crs,
const char *const *options);
-PJ PROJ_DLL *proj_crs_create_bound_vertical_crs_to_WGS84(PJ_CONTEXT *ctx,
- const PJ* vert_crs,
- const char* grid_name);
+PJ PROJ_DLL *proj_crs_create_bound_vertical_crs(PJ_CONTEXT *ctx,
+ const PJ* vert_crs,
+ const PJ* hub_geographic_3D_crs,
+ const char* grid_name);
/* BEGIN: Generated by scripts/create_c_api_projections.py*/
PJ PROJ_DLL *proj_create_conversion_utm(