aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-08 15:48:08 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-08 17:31:57 +0200
commitf14782192083ab9ebb22bf94e3138722657dde9f (patch)
treed447f235e406e12d3a23548c37528f5a130b6592 /src/proj.h
parent4049f4cc961f78d9313525e3eb82fbc5bb3fd879 (diff)
downloadPROJ-f14782192083ab9ebb22bf94e3138722657dde9f.tar.gz
PROJ-f14782192083ab9ebb22bf94e3138722657dde9f.zip
Add C API to work with datum ensemble
Add: - proj_crs_get_datum_ensemble() - proj_crs_get_datum_forced() - proj_datum_ensemble_get_member_count() - proj_datum_ensemble_get_accuracy() - proj_datum_ensemble_get_member() Make proj_create_geographic_crs_from_datum() and proj_create_geocentric_crs_from_datum() accept a datum ensemble.
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/proj.h b/src/proj.h
index 512dcd84..92966526 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -1249,6 +1249,20 @@ PJ PROJ_DLL *proj_crs_get_sub_crs(PJ_CONTEXT *ctx, const PJ *crs, int index);
PJ PROJ_DLL *proj_crs_get_datum(PJ_CONTEXT *ctx, const PJ *crs);
+PJ PROJ_DLL *proj_crs_get_datum_ensemble(PJ_CONTEXT *ctx, const PJ *crs);
+
+PJ PROJ_DLL *proj_crs_get_datum_forced(PJ_CONTEXT *ctx, const PJ *crs);
+
+int PROJ_DLL proj_datum_ensemble_get_member_count(PJ_CONTEXT *ctx,
+ const PJ *datum_ensemble);
+
+double PROJ_DLL proj_datum_ensemble_get_accuracy(PJ_CONTEXT *ctx,
+ const PJ *datum_ensemble);
+
+PJ PROJ_DLL *proj_datum_ensemble_get_member(PJ_CONTEXT *ctx,
+ const PJ *datum_ensemble,
+ int member_index);
+
PJ PROJ_DLL *proj_crs_get_coordinate_system(PJ_CONTEXT *ctx, const PJ *crs);
PJ_COORDINATE_SYSTEM_TYPE PROJ_DLL proj_cs_get_type(PJ_CONTEXT *ctx,