diff options
| author | Mike Taves <mwtoews@gmail.com> | 2021-05-06 10:37:06 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-06 10:37:06 +1200 |
| commit | 22654ce7c0acaab875c9427592a42093ac75e8cd (patch) | |
| tree | 229597a5a184b02ba831b5e923574a008de06782 /src | |
| parent | 45a88fe245ae040b6f19696dfd928fb2f03f51d9 (diff) | |
| download | PROJ-22654ce7c0acaab875c9427592a42093ac75e8cd.tar.gz PROJ-22654ce7c0acaab875c9427592a42093ac75e8cd.zip | |
DOC: configure and add spelling wordlist; fix typos, apply Sphinx syntax (#2707)
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/c_api.cpp | 6 | ||||
| -rw-r--r-- | src/iso19111/coordinatesystem.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/factory.cpp | 8 | ||||
| -rw-r--r-- | src/iso19111/io.cpp | 4 | ||||
| -rw-r--r-- | src/iso19111/operation/concatenatedoperation.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/operation/coordinateoperationfactory.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/operation/transformation.cpp | 2 | ||||
| -rw-r--r-- | src/iso19111/static.cpp | 2 | ||||
| -rw-r--r-- | src/proj.h | 2 |
9 files changed, 15 insertions, 15 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index 3476402f..10b65ac1 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -268,7 +268,7 @@ PJ_OBJ_LIST::~PJ_OBJ_LIST() = default; // --------------------------------------------------------------------------- /** \brief Set if the database must be closed after each C API call where it - * has been openeded, and automatically re-openeded when needed. + * has been opened, and automatically re-opened when needed. * * The default value is FALSE, that is the database remains open until the * context is destroyed. @@ -7292,7 +7292,7 @@ int proj_coordoperation_get_param( * difference terms might be zero if the transformation only includes * translation * parameters. In that case, value_count could be set to 3. - * @param emit_error_if_incompatible Boolean to inicate if an error must be + * @param emit_error_if_incompatible Boolean to indicate if an error must be * logged if coordoperation is not compatible with a WKT1 TOWGS84 * representation. * @return TRUE in case of success, or FALSE if coordoperation is not @@ -7765,7 +7765,7 @@ void proj_operation_factory_context_set_use_proj_alternative_grid_names( * The current implementation is limited to researching one intermediate * step. * - * By default, with the IF_NO_DIRECT_TRANSFORMATION stratgey, all potential + * By default, with the IF_NO_DIRECT_TRANSFORMATION strategy, all potential * C candidates will be used if there is no direct transformation. * * @param ctx PROJ context, or NULL for default context diff --git a/src/iso19111/coordinatesystem.cpp b/src/iso19111/coordinatesystem.cpp index 2bfe30e6..498e3035 100644 --- a/src/iso19111/coordinatesystem.cpp +++ b/src/iso19111/coordinatesystem.cpp @@ -1108,7 +1108,7 @@ CartesianCSNNPtr CartesianCS::createSouthPoleEastingNorthNorthingNorth( /** \brief Instantiate a CartesianCS with the three geocentric axes. * - * @param unit Liinear unit of the axes. + * @param unit Linear unit of the axes. * @return a new CartesianCS. */ CartesianCSNNPtr diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 3c93803e..c34ef220 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -1618,7 +1618,7 @@ AuthorityFactory::AuthorityFactory(const DatabaseContextNNPtr &context, * where createFromCoordinateReferenceSystemCodes(const std::string&,const std::string&,const std::string&,const std::string&) const * is called. * - * @param context Contexte. + * @param context Context. * @param authorityName Authority name. * @return new AuthorityFactory. */ @@ -3806,7 +3806,7 @@ AuthorityFactory::createFromCoordinateReferenceSystemCodes( * The list is ordered with preferred operations first. No attempt is made * at inferring operations that are not explicitly in the database (see * createFromCRSCodesWithIntermediates() for that), and only - * source -> target operations are searched (ie if target -> source is present, + * source -> target operations are searched (i.e. if target -> source is present, * you need to call this method with the arguments reversed, and apply the * reverse transformations). * @@ -4211,7 +4211,7 @@ static bool useIrrelevantPivot(const operation::CoordinateOperationNNPtr &op, * * Deprecated operations are rejected. * - * The method will take care of considering all potential combinations (ie + * The method will take care of considering all potential combinations (i.e. * contrary to createFromCoordinateReferenceSystemCodes(), you do not need to * call it with sourceCRS and targetCRS switched) * @@ -5810,7 +5810,7 @@ std::list<AuthorityFactory::UnitInfo> AuthorityFactory::getUnitList() const { * @param source Source of the alias. Can help in case of ambiguities. * Or empty otherwise. * @param tryEquivalentNameSpelling whether the comparison of aliasedName with - * the alt_name column of the alis_name table should be done with using + * the alt_name column of the alias_name table should be done with using * metadata::Identifier::isEquivalentName() rather than strict string * comparison; * @param outTableName Table name in which the official name has been found. diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index 51162365..3ae3da0c 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -6573,7 +6573,7 @@ static BaseObjectNNPtr createFromUserInput(const std::string &text, * <ul> * <li>WKT string</li> * <li>PROJ string</li> - * <li>database code, prefixed by its authoriy. e.g. "EPSG:4326"</li> + * <li>database code, prefixed by its authority. e.g. "EPSG:4326"</li> * <li>OGC URN. e.g. "urn:ogc:def:crs:EPSG::4326", * "urn:ogc:def:coordinateOperation:EPSG::1671", * "urn:ogc:def:ellipsoid:EPSG::7001" @@ -6624,7 +6624,7 @@ BaseObjectNNPtr createFromUserInput(const std::string &text, * <ul> * <li>WKT string</li> * <li>PROJ string</li> - * <li>database code, prefixed by its authoriy. e.g. "EPSG:4326"</li> + * <li>database code, prefixed by its authority. e.g. "EPSG:4326"</li> * <li>OGC URN. e.g. "urn:ogc:def:crs:EPSG::4326", * "urn:ogc:def:coordinateOperation:EPSG::1671", * "urn:ogc:def:ellipsoid:EPSG::7001" diff --git a/src/iso19111/operation/concatenatedoperation.cpp b/src/iso19111/operation/concatenatedoperation.cpp index a1c0dca8..4f5dd885 100644 --- a/src/iso19111/operation/concatenatedoperation.cpp +++ b/src/iso19111/operation/concatenatedoperation.cpp @@ -417,7 +417,7 @@ void ConcatenatedOperation::fixStepsDirection( * extent * * @param operationsIn Vector of the CoordinateOperation steps. - * @param checkExtent Whether we should check the non-emptyness of the + * @param checkExtent Whether we should check the non-emptiness of the * intersection * of the extents of the operations * @throws InvalidOperation diff --git a/src/iso19111/operation/coordinateoperationfactory.cpp b/src/iso19111/operation/coordinateoperationfactory.cpp index 39e9bdde..cf33fa3c 100644 --- a/src/iso19111/operation/coordinateoperationfactory.cpp +++ b/src/iso19111/operation/coordinateoperationfactory.cpp @@ -377,7 +377,7 @@ CoordinateOperationContext::getGridAvailabilityUse() const { * The current implementation is limited to researching one intermediate * step. * - * By default, with the IF_NO_DIRECT_TRANSFORMATION stratgey, all potential + * By default, with the IF_NO_DIRECT_TRANSFORMATION strategy, all potential * C candidates will be used if there is no direct transformation. */ void CoordinateOperationContext::setAllowUseIntermediateCRS( diff --git a/src/iso19111/operation/transformation.cpp b/src/iso19111/operation/transformation.cpp index da68ffa6..8b822d51 100644 --- a/src/iso19111/operation/transformation.cpp +++ b/src/iso19111/operation/transformation.cpp @@ -366,7 +366,7 @@ TransformationNNPtr Transformation::create( // --------------------------------------------------------------------------- -/** \brief Instantiate a transformation ands its OperationMethod. +/** \brief Instantiate a transformation and its OperationMethod. * * @param propertiesTransformation The \ref general_properties of the * Transformation. diff --git a/src/iso19111/static.cpp b/src/iso19111/static.cpp index d099cd6c..20c61203 100644 --- a/src/iso19111/static.cpp +++ b/src/iso19111/static.cpp @@ -363,7 +363,7 @@ const UnitOfMeasure UnitOfMeasure::ARC_SECOND_PER_YEAR( "arc-seconds per year", M_PI / 180. / 3600. / 31556925.445, UnitOfMeasure::Type::ANGULAR, Identifier::EPSG, "1043"); -/** \brief Part-sper-million per year, unit of measure of type SCALE. */ +/** \brief Parts-per-million per year, unit of measure of type SCALE. */ const UnitOfMeasure UnitOfMeasure::PPM_PER_YEAR("parts per million per year", 1e-6 / 31556925.445, UnitOfMeasure::Type::SCALE, @@ -1028,7 +1028,7 @@ typedef struct * proj_create_from_database() and other functions in that section * will have generally minimal interaction with the functions declared in the * upper section of this header file (calling those functions on those objects - * will either return an error or default/non-sensical values). The exception is + * will either return an error or default/nonsensical values). The exception is * for ISO19111 objects of type CoordinateOperation that can be exported as a * valid PROJ pipeline. In this case, the PJ objects will work for example with * proj_trans_generic(). |
