aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-05-12 17:26:12 +0200
committerGitHub <noreply@github.com>2020-05-12 17:26:12 +0200
commitba8663c59c6ecabb78566dda0d387e1f256d38ed (patch)
tree2d2de4e3d42647a7d3be256d155bc2762088971f /src/iso19111
parent72fc6ab0f5bd74468c0bc4d4f7a851991e6ac16c (diff)
parentb7f8a012bfd11465af9f95c3d60101539a25219a (diff)
downloadPROJ-ba8663c59c6ecabb78566dda0d387e1f256d38ed.tar.gz
PROJ-ba8663c59c6ecabb78566dda0d387e1f256d38ed.zip
Merge pull request #2212 from rouault/typo_fixes
scripts/fix_typos.sh: fix URLs to dictionaries, and fix typos spotted
Diffstat (limited to 'src/iso19111')
-rw-r--r--src/iso19111/c_api.cpp10
-rw-r--r--src/iso19111/common.cpp2
-rw-r--r--src/iso19111/coordinateoperation.cpp8
-rw-r--r--src/iso19111/io.cpp6
-rw-r--r--src/iso19111/metadata.cpp6
-rw-r--r--src/iso19111/util.cpp2
6 files changed, 17 insertions, 17 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index 6b726f34..200ac454 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Project: PROJ
- * Purpose: C API wraper of C++ API
+ * Purpose: C API wrapper of C++ API
* Author: Even Rouault <even dot rouault at spatialys dot com>
*
******************************************************************************
@@ -1354,7 +1354,7 @@ const char *proj_get_id_code(const PJ *obj, int index) {
* supported options are:
* <ul>
* <li>MULTILINE=YES/NO. Defaults to YES, except for WKT1_ESRI</li>
- * <li>INDENTATION_WIDTH=number. Defauls to 4 (when multiline output is
+ * <li>INDENTATION_WIDTH=number. Defaults to 4 (when multiline output is
* on).</li>
* <li>OUTPUT_AXIS=AUTO/YES/NO. In AUTO mode, axis will be output for WKT2
* variants, for WKT1_GDAL for ProjectedCRS with easting/northing ordering
@@ -1524,7 +1524,7 @@ const char *proj_as_proj_string(PJ_CONTEXT *ctx, const PJ *obj,
* supported options are:
* <ul>
* <li>MULTILINE=YES/NO. Defaults to YES</li>
- * <li>INDENTATION_WIDTH=number. Defauls to 2 (when multiline output is
+ * <li>INDENTATION_WIDTH=number. Defaults to 2 (when multiline output is
* on).</li>
* <li>SCHEMA=string. URL to PROJJSON schema. Can be set to empty string to
* disable it.</li>
@@ -3198,7 +3198,7 @@ PJ *proj_create_vertical_crs(PJ_CONTEXT *ctx, const char *crs_name,
* use.
* It should be used by at most one thread at a time.
*
- * This is an extented (_ex) version of proj_create_vertical_crs() that adds
+ * This is an extended (_ex) version of proj_create_vertical_crs() that adds
* the capability of defining a geoid model.
*
* @param ctx PROJ context, or NULL for default context
@@ -7434,7 +7434,7 @@ void proj_operation_factory_context_set_use_proj_alternative_grid_names(
* step.
*
* By default, with the IF_NO_DIRECT_TRANSFORMATION stratgey, all potential
- * C candidates will be used if there is no direct tranformation.
+ * C candidates will be used if there is no direct transformation.
*
* @param ctx PROJ context, or NULL for default context
* @param factory_ctx Operation factory context. must not be NULL
diff --git a/src/iso19111/common.cpp b/src/iso19111/common.cpp
index b5e393b3..0eb40f12 100644
--- a/src/iso19111/common.cpp
+++ b/src/iso19111/common.cpp
@@ -422,7 +422,7 @@ bool Measure::operator==(const Measure &other) PROJ_PURE_DEFN {
/** \brief Returns whether an object is equivalent to another one.
* @param other other object to compare to
- * @param criterion comparaison criterion.
+ * @param criterion comparison criterion.
* @param maxRelativeError Maximum relative error allowed.
* @return true if objects are equivalent.
*/
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index ec515cd7..0f5e4c4d 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -4684,7 +4684,7 @@ ConversionNNPtr Conversion::createEqualEarth(
* 0.</li>
* </ul>
*
- * For completness, PROJ adds the falseEasting and falseNorthing parameter,
+ * For completeness, PROJ adds the falseEasting and falseNorthing parameter,
* which are not described in EPSG. They should usually be set to 0.
*
* @param properties See \ref general_properties of the conversion. If the name
@@ -4717,7 +4717,7 @@ ConversionNNPtr Conversion::createVerticalPerspective(
/** \brief Instantiate a conversion based on the Pole Rotation method, using
* the conventions of the GRIB 1 and GRIB 2 data formats.
*
- * Those are mentionned in the Note 2 of
+ * Those are mentioned in the Note 2 of
* https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp3-1.shtml
*
* Several conventions for the pole rotation method exists.
@@ -10739,7 +10739,7 @@ CoordinateOperationContext::getGridAvailabilityUse() const {
* step.
*
* By default, with the IF_NO_DIRECT_TRANSFORMATION stratgey, all potential
- * C candidates will be used if there is no direct tranformation.
+ * C candidates will be used if there is no direct transformation.
*/
void CoordinateOperationContext::setAllowUseIntermediateCRS(
IntermediateCRSUse use) {
@@ -12110,7 +12110,7 @@ CoordinateOperationFactory::Private::findsOpsInRegistryWithIntermediate(
// If doing GeogCRS --> GeogCRS, only use GeogCRS as
// intermediate CRS
- // Avoid weird behaviour when doing NAD83 -> NAD83(2011)
+ // Avoid weird behavior when doing NAD83 -> NAD83(2011)
// that would go through NAVD88 otherwise.
if (context.context->getIntermediateCRS().empty() &&
dynamic_cast<const crs::GeographicCRS *>(sourceCRS.get()) &&
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp
index a255b959..97f741be 100644
--- a/src/iso19111/io.cpp
+++ b/src/iso19111/io.cpp
@@ -179,7 +179,7 @@ struct WKTFormatter::Private {
*
* A formatter can be used only once (its internal state is mutated)
*
- * Its default behaviour can be adjusted with the different setters.
+ * Its default behavior can be adjusted with the different setters.
*
* @param convention WKT flavor. Defaults to Convention::WKT2
* @param dbContext Database context, to allow queries in it if needed.
@@ -201,7 +201,7 @@ WKTFormatterNNPtr WKTFormatter::create(Convention convention,
*
* A formatter can be used only once (its internal state is mutated)
*
- * Its default behaviour can be adjusted with the different setters.
+ * Its default behavior can be adjusted with the different setters.
*
* @param other source formatter.
* @return new formatter.
@@ -6631,7 +6631,7 @@ PROJStringFormatter::~PROJStringFormatter() = default;
*
* A formatter can be used only once (its internal state is mutated)
*
- * Its default behaviour can be adjusted with the different setters.
+ * Its default behavior can be adjusted with the different setters.
*
* @param conventionIn PROJ string flavor. Defaults to Convention::PROJ_5
* @param dbContext Database context (can help to find alternative grid names).
diff --git a/src/iso19111/metadata.cpp b/src/iso19111/metadata.cpp
index 8f2601e0..fc788a30 100644
--- a/src/iso19111/metadata.cpp
+++ b/src/iso19111/metadata.cpp
@@ -777,7 +777,7 @@ bool Extent::_isEquivalentTo(const util::IComparable *other,
/** \brief Returns whether this extent contains the other one.
*
- * Behaviour only well specified if each sub-extent category as at most
+ * Behavior only well specified if each sub-extent category as at most
* one element.
*/
bool Extent::contains(const ExtentNNPtr &other) const {
@@ -802,7 +802,7 @@ bool Extent::contains(const ExtentNNPtr &other) const {
/** \brief Returns whether this extent intersects the other one.
*
- * Behaviour only well specified if each sub-extent category as at most
+ * Behavior only well specified if each sub-extent category as at most
* one element.
*/
bool Extent::intersects(const ExtentNNPtr &other) const {
@@ -829,7 +829,7 @@ bool Extent::intersects(const ExtentNNPtr &other) const {
/** \brief Returns the intersection of this extent with another one.
*
- * Behaviour only well specified if there is one single GeographicExtent
+ * Behavior only well specified if there is one single GeographicExtent
* in each object.
* Returns nullptr otherwise.
*/
diff --git a/src/iso19111/util.cpp b/src/iso19111/util.cpp
index 2a6178e2..21d45e44 100644
--- a/src/iso19111/util.cpp
+++ b/src/iso19111/util.cpp
@@ -686,7 +686,7 @@ IComparable::~IComparable() = default;
/** \brief Returns whether an object is equivalent to another one.
* @param other other object to compare to
- * @param criterion comparaison criterion.
+ * @param criterion comparison criterion.
* @param dbContext Database context, or nullptr.
* @return true if objects are equivalent.
*/