diff options
| author | Mike Taves <mwtoews@gmail.com> | 2021-05-04 09:05:06 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-04 09:05:06 +1200 |
| commit | ea3f53746c859c73c775bf11d17f8471d0fb59f2 (patch) | |
| tree | 53e3ea1cf0a5f22786f0b7805bc638e41151500b /src | |
| parent | 371bc3c5e7472d4f2fdffad0b39e7c9d27abf234 (diff) | |
| download | PROJ-ea3f53746c859c73c775bf11d17f8471d0fb59f2.tar.gz PROJ-ea3f53746c859c73c775bf11d17f8471d0fb59f2.zip | |
DOC: configure and add spelling wordlist; fix typos, apply Sphinx syntax (#2705)
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/c_api.cpp | 8 | ||||
| -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, 16 insertions, 16 deletions
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, * <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" @@ -6911,7 +6911,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 ad2ab65b..20bbce6f 100644 --- a/src/iso19111/operation/concatenatedoperation.cpp +++ b/src/iso19111/operation/concatenatedoperation.cpp @@ -449,7 +449,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 13d245bb..183926bf 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 e4467882..f78e00fe 100644 --- a/src/iso19111/static.cpp +++ b/src/iso19111/static.cpp @@ -374,7 +374,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, @@ -1055,7 +1055,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(). |
