From ea3f53746c859c73c775bf11d17f8471d0fb59f2 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Tue, 4 May 2021 09:05:06 +1200 Subject: DOC: configure and add spelling wordlist; fix typos, apply Sphinx syntax (#2705) --- src/iso19111/c_api.cpp | 8 ++++---- src/iso19111/coordinatesystem.cpp | 2 +- src/iso19111/factory.cpp | 8 ++++---- src/iso19111/io.cpp | 4 ++-- src/iso19111/operation/concatenatedoperation.cpp | 2 +- src/iso19111/operation/coordinateoperationfactory.cpp | 2 +- src/iso19111/operation/transformation.cpp | 2 +- src/iso19111/static.cpp | 2 +- src/proj.h | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index f8d9e685..2431f734 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -290,7 +290,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. @@ -7451,7 +7451,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 @@ -7924,7 +7924,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 @@ -9063,7 +9063,7 @@ void proj_string_destroy(char *str) { free(str); } * registries, such as "EPSG", "ESRI", "IAU", etc. Users should use a custom * authority name instead. If a new object should be * added to the official EPSG registry, users are invited to follow the - * procedure explainted at https://epsg.org/dataset-change-requests.html. + * procedure explained at https://epsg.org/dataset-change-requests.html. * * Combined with proj_context_get_database_structure(), users can create * auxiliary databases, instead of directly modifying the main proj.db database. 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 f8f06000..f9ab0a6b 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -3508,7 +3508,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. */ @@ -5853,7 +5853,7 @@ AuthorityFactory::getGeoidModels(const std::string &code) const { * 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). * @@ -6258,7 +6258,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) * @@ -7658,7 +7658,7 @@ AuthorityFactory::getCelestialBodyList() 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 6ddeed7a..a51a015f 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -6855,7 +6855,7 @@ static BaseObjectNNPtr createFromUserInput(const std::string &text, *