aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-11-01 11:25:29 +0100
committerGitHub <noreply@github.com>2020-11-01 11:25:29 +0100
commitb7bf499b8449a61cdc24dcdaa0bf035f57af1b3c (patch)
tree4000e1fa36d707deed942e4c34030d81fffdc436
parent2d778088f1415993244d56ebd01f33dc753b6900 (diff)
parent6e7124c8b16dcc00e4a3f4336d1535f9655f1aa3 (diff)
downloadPROJ-b7bf499b8449a61cdc24dcdaa0bf035f57af1b3c.tar.gz
PROJ-b7bf499b8449a61cdc24dcdaa0bf035f57af1b3c.zip
Merge pull request #2402 from rouault/improved_comments_datum
Doxygen: improve doc of functions related to Datum/DatumEnsemble
-rw-r--r--src/iso19111/c_api.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index f4f6e6a2..90a414c6 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -2050,6 +2050,8 @@ PJ *proj_get_ellipsoid(PJ_CONTEXT *ctx, const PJ *obj) {
/** \brief Get the horizontal datum from a CRS
*
+ * This function may return a Datum or DatumEnsemble object.
+ *
* The returned object must be unreferenced with proj_destroy() after
* use.
* It should be used by at most one thread at a time.
@@ -7992,6 +7994,9 @@ double proj_coordoperation_get_accuracy(PJ_CONTEXT *ctx,
/** \brief Returns the datum of a SingleCRS.
*
+ * If that function returns NULL, @see proj_crs_get_datum_ensemble() to
+ * potentially get a DatumEnsemble instead.
+ *
* The returned object must be unreferenced with proj_destroy() after
* use.
* It should be used by at most one thread at a time.
@@ -8023,6 +8028,9 @@ PJ *proj_crs_get_datum(PJ_CONTEXT *ctx, const PJ *crs) {
/** \brief Returns the datum ensemble of a SingleCRS.
*
+ * If that function returns NULL, @see proj_crs_get_datum() to
+ * potentially get a Datum instead.
+ *
* The returned object must be unreferenced with proj_destroy() after
* use.
* It should be used by at most one thread at a time.