Skip to content

Commit

Permalink
Fix typos (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews authored Jul 20, 2024
1 parent 4254611 commit 6201229
Show file tree
Hide file tree
Showing 66 changed files with 104 additions and 104 deletions.
18 changes: 9 additions & 9 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
- Autoconf build system is dropped in favour of CMake
See README.md and INSTALL.md for examples of usage
- Libtool is no longer used for in favour of CMake
Therefor libgeos.la is no longer built/installed
Therefore libgeos.la is no longer built/installed
- #1094, #1090: Drop inlines.cpp to address duplicate symbols on many platforms
(Regina Obe)
- GH475: Do not return NaN from GEOSProjectNormalized_r (Paul Ramsey)
Expand All @@ -243,7 +243,7 @@
- Update geos-config tool for consistency
and escape paths (https://git.osgeo.org/gitea/geos/geos/pulls/99)
changes mostly affect CMake MSVC builds (#1015, Mike Taves)
- Testing on Rasberry Pi 32-bit (berrie) (#1017, Bruce Rindahl, Regina Obe)
- Testing on Raspberry Pi 32-bit (berrie) (#1017, Bruce Rindahl, Regina Obe)
- Replace ttmath with JTS DD double-double implementation (Paul Ramsey)
- Fix bug in DistanceOp for geometries with empty components (#1026, Paul Ramsey)
- Remove undefined behaviour in CAPI (#1021, Greg Troxel)
Expand Down Expand Up @@ -495,7 +495,7 @@ See 3.7.0 notes
- Fix area boundary return from GEOSPointOnSurface (#623)
- Speedup GEOSWKBReader_read (#621)
- Fix RobustLineIntersector handling of invalid intersection points (#622)
- Reduce likelyhood of invalid output from snap operation (#629, #501)
- Reduce likelihood of invalid output from snap operation (#629, #501)
- Reduce memory fragmentation of prepared Polygon/Point intersection op
- Fix mingw64 compile (#630)
- Fix bug in HotPixel constructor (#635)
Expand Down Expand Up @@ -526,7 +526,7 @@ See 3.7.0 notes
2012-11-15 -- that's Post-GIS day !

- Bug fixes / improvements
- Add support for testing with phpunit 3.6 (not loosing support for 3.4)
- Add support for testing with phpunit 3.6 (not losing support for 3.4)
- Segfault from intersection (#586, #598, #599)

## Changes in 3.3.5
Expand Down Expand Up @@ -607,7 +607,7 @@ See 3.7.0 notes
GEOSGeom_createEmptyPolygon, GEOSGeom_createEmptyCollection
- CAPI: GEOSGeom_extractUniquePoints
- CAPI: GEOSGetGeometryN support for single geometries
- CAPI: GEOSPolygonize_full to return all informations computed by
- CAPI: GEOSPolygonize_full to return all information computed by
the polygonizer
- CAPI: GEOSOrientationIndex
- CAPI: GEOSSharedPaths to find shared paths and their orientation
Expand Down Expand Up @@ -700,7 +700,7 @@ See 3.7.0 notes
- New operation/predicate package
- Added CGAlgorithms::isPointInRing() version working with
Coordinate::ConstVect type (faster!)
- Added getAt(int pos, Coordinate &to) funtion to CoordinateSequence
- Added getAt(int pos, Coordinate &to) function to CoordinateSequence
class.
- Moved GetNumGeometries() and GetGeometryN() interfaces
from GeometryCollection to Geometry class.
Expand Down Expand Up @@ -772,12 +772,12 @@ See 3.7.0 notes
- Namespaces mapping JTS packages
- Renamed classes after JTS names (namespaces use made this possible
w/out name clashes)
- Splitted headers, for build speedup and possible API reduction.
- Split headers, for build speedup and possible API reduction.
- Moved source/bigtest and source/test to tests/bigtest
and test/xmltester
- Moved C-API in it's own top-level dir capi/
- Reworked automake scripts to produce a static lib for each subdir
and then link all subsystem's libs togheter
and then link all subsystem's libs together
- Renamed DefaultCoordinateSequence to CoordinateArraySequence.
- Renamed OverlayOp opcodes by prepending the 'op' prefix, and
given the enum a name (OpCode) for type-safety.
Expand Down Expand Up @@ -813,7 +813,7 @@ See 3.7.0 notes
use unsigned int rather then int
- Changed EdgeEndStar to maintain a single container for EdgeEnds
- Changed PlanarGraph::addEdges to take a const vector by ref
rathern then a non-const vector by pointer
rather then a non-const vector by pointer
- Changed EdgeList::addAll to take a const vector by ref
rather then a non-const vector by pointer
- Added apply_rw(CoordinateFilter *) and apply_ro(CoordinateFilter *)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/capi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the COPYING file for more information.
################################################################################
add_executable(perf_memleak_mp_prep memleak_mp_prep.c)
# test_perf_memleak_mp_prep is not dependant against geos target,
# test_perf_memleak_mp_prep is not dependent against geos target,
# but geos_c only, so need explicit include directories.
target_include_directories(perf_memleak_mp_prep
PUBLIC
Expand Down
2 changes: 1 addition & 1 deletion capi/geos_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ extern "C" {

/****************************************************************
** relate()-related functions
** return 0 = false, 1 = true, 2 = error occured
** return 0 = false, 1 = true, 2 = error occurred
**
*/
char
Expand Down
10 changes: 5 additions & 5 deletions capi/geos_c.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -2666,7 +2666,7 @@ extern int GEOS_DLL GEOSGetSRID(const GEOSGeometry* g);
/**
* Return the anonymous "user data" for this geometry.
* User data must be managed by the caller, and is not freed when
* the geometry is destoryed.
* the geometry is destroyed.
* \param g Input geometry
* \return A void* to the user data, caller is responsible for
* casting to the appropriate type.
Expand Down Expand Up @@ -4060,7 +4060,7 @@ extern GEOSGeometry GEOS_DLL *GEOSConcaveHull(
* The concave hull is constructed by removing the longest outer edges
* of the Delaunay Triangulation of the space between the polygons,
* until the specified maximm edge length is reached.
* A large value produces the convex hull, 0 produces the hull of maximim concaveness.
* A large value produces the convex hull, 0 produces the hull of maximum concaveness.
*
* \param g The input geometry
* \param length The maximum edge length (0 or greater)
Expand Down Expand Up @@ -4495,7 +4495,7 @@ extern GEOSGeometry GEOS_DLL *GEOSPolygonizer_getCutEdges(

/**
* Perform the polygonization as GEOSPolygonize() and return the
* polygonal result as well as all extra ouputs.
* polygonal result as well as all extra outputs.
*
* \param[in] input A single geometry with all the input lines to polygonize.
* \param[out] cuts Pointer to hold "cut edges", connected on both ends but not part of output. Caller must free.
Expand Down Expand Up @@ -4715,7 +4715,7 @@ extern GEOSGeometry GEOS_DLL *GEOSGeom_transformXY(
* \param input An input geometry
* \param snap_target A geometry to snap the input to
* \param tolerance Snapping tolerance
* \return The snapped verion of the input. NULL on exception.
* \return The snapped version of the input. NULL on exception.
* Caller is responsible for freeing with GEOSGeom_destroy().
*
* \since 3.3
Expand Down Expand Up @@ -5268,7 +5268,7 @@ extern GEOSSTRtree GEOS_DLL *GEOSSTRtree_create(size_t nodeCapacity);
* Construct an STRtree from items that have been inserted. Once constructed,
* no more items may be inserted into the tree. Functions that require a
* constructed tree will build it automatically, so there is no need to call
* `GEOSSTRtree_build` unless it is desired to explicity construct the tree
* `GEOSSTRtree_build` unless it is desired to explicitly construct the tree
* in a certain section of code or using a certain thread.
*
* \param tree the \ref GEOSSTRtree to apply the build to
Expand Down
4 changes: 2 additions & 2 deletions include/geos/algorithm/ConvexHull.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <vector>
#include <cassert>

// FIXME: avoid using Cordinate:: typedefs to avoid full include
// FIXME: avoid using Coordinate:: typedefs to avoid full include
#include <geos/algorithm/ConvexHull.h>
#include <geos/geom/Coordinate.h>
#include <geos/geom/CoordinateSequence.h>
Expand Down Expand Up @@ -153,7 +153,7 @@ class GEOS_DLL ConvexHull {

/**
* Write in 'cleaned' a version of 'input' with collinear
* vertexes removed.
* vertices removed.
*/
void cleanRing(const geom::Coordinate::ConstVect& input,
geom::Coordinate::ConstVect& cleaned);
Expand Down
2 changes: 1 addition & 1 deletion include/geos/algorithm/HCoordinate.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class GEOS_DLL HCoordinate {

/** \brief
* Constructs a homogeneous coordinate which is the intersection
* of the lines define by the homogenous coordinates represented
* of the lines define by the homogeneous coordinates represented
* by two [Coordinates](@ref geom::Coordinate).
*
* @param p1
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geom/CoordinateList.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace geom { // geos::geom

/** \brief
* A list of {@link Coordinate}s, which may
* be set to prevent repeated coordinates from occuring in the list.
* be set to prevent repeated coordinates from occurring in the list.
*
* Use this class when fast insertions and removal at arbitrary
* position is needed.
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geom/CoordinateSequences.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CoordinateSequences {
public:
///
/// \brief binaryDispatch calls a functor template, explicitly providing the backing types of two CoordinateSequences. The
/// CoordinateSequences are not provided to the functor as arguments but can be provided along with any other arugments
/// CoordinateSequences are not provided to the functor as arguments but can be provided along with any other arguments
/// through the `args` argument.
template<typename F, class... Args>
static void binaryDispatch(const CoordinateSequence& seq1, const CoordinateSequence& seq2, F& fun, Args... args)
Expand Down
4 changes: 2 additions & 2 deletions include/geos/geom/GeometryFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class GEOS_DLL GeometryFactory {
static const GeometryFactory*
getDefaultInstance();

//Skipped a lot of list to array convertors
//Skipped a lot of list to array converters

static std::unique_ptr<Point> createPointFromInternalCoord(const Coordinate* coord,
const Geometry* exemplar);
Expand Down Expand Up @@ -389,7 +389,7 @@ class GEOS_DLL GeometryFactory {

/// See buildGeometry(std::vector<Geometry *>&) for semantics
//
/// Will clone the geometries accessible trough the iterator.
/// Will clone the geometries accessible through the iterator.
///
/// @tparam T an iterator yielding something which casts to const Geometry*
/// @param from start iterator
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geom/IntersectionMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GEOS_DLL IntersectionMatrix {
IntersectionMatrix();

/** \brief
* Overriden constructor.
* Overridden constructor.
*
* Creates an IntersectionMatrix with the given dimension symbols.
*
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geom/PrecisionModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class GEOS_DLL PrecisionModel {
/**
* Computes the grid size for a fixed precision model.
* This is equal to the reciprocal of the scale factor.
* If the grid size has been set explicity (via a negative scale factor)
* If the grid size has been set explicitly (via a negative scale factor)
* it will be returned.
*
* @return the grid size at a fixed precision scale.
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geom/util/GeometryEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace util { // geos.geom.util
* this is not checked by the GeometryEditor
* - the coordinate lists may be changed
* (e.g. by adding or deleting coordinates).
* The modifed coordinate lists must be consistent with their original
* The modified coordinate lists must be consistent with their original
* parent component
* (e.g. a LinearRing must always have at least 4 coordinates, and the
* first and last coordinate must be equal)
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geom/util/GeometryTransformer.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class GEOS_DLL GeometryTransformer {
bool pruneEmptyGeometry;

/**
* `true` if a homogenous collection result
* `true` if a homogeneous collection result
* from a {@link GeometryCollection} should still
* be a general GeometryCollection
*/
Expand Down
4 changes: 2 additions & 2 deletions include/geos/geomgraph/DirectedEdge.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class GEOS_DLL DirectedEdge: public EdgeEnd {
};

/** \brief
* Tells wheter this edge is a Line
* Tells whether this edge is a Line
*
* This edge is a line edge if
* - at least one of the labels is a line label
Expand All @@ -169,7 +169,7 @@ class GEOS_DLL DirectedEdge: public EdgeEnd {
bool isLineEdge();

/** \brief
* Tells wheter this edge is an Area
* Tells whether this edge is an Area
*
* This is an interior Area edge if
* - its label is an Area label for both Geometries
Expand Down
2 changes: 1 addition & 1 deletion include/geos/geomgraph/DirectedEdgeStar.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class GEOS_DLL DirectedEdgeStar: public EdgeEndStar {
void linkAllDirectedEdges();

/** \brief
* Traverse the star of edges, maintaing the current location in the result
* Traverse the star of edges, maintaining the current location in the result
* area at this node (if any).
*
* If any L edges are found in the interior of the result, mark them as covered.
Expand Down
2 changes: 1 addition & 1 deletion include/geos/index/bintree/Bintree.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace bintree { // geos::index::bintree
* may be a single point).
*
* This implementation does not require specifying the extent of the inserted
* items beforehand. It will automatically expand to accomodate any extent
* items beforehand. It will automatically expand to accommodate any extent
* of dataset.
*
* This index is different to the "Interval Tree of Edelsbrunner"
Expand Down
2 changes: 1 addition & 1 deletion include/geos/index/quadtree/Quadtree.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace quadtree { // geos::index::quadtree
* intersection, such as testing other kinds of spatial relationships.
*
* This implementation does not require specifying the extent of the inserted
* items beforehand. It will automatically expand to accomodate any extent
* items beforehand. It will automatically expand to accommodate any extent
* of dataset.
*
* This data structure is also known as an <i>MX-CIF quadtree</i>
Expand Down
4 changes: 2 additions & 2 deletions include/geos/io/GeoJSONReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class GEOS_DLL GeoJSONReader {
public:

/**
* \brief Inizialize parser with given GeometryFactory.
* \brief Initialize parser with given GeometryFactory.
*
* Note that all Geometry objects created by the
* parser will contain a pointer to the given factory
Expand All @@ -60,7 +60,7 @@ class GEOS_DLL GeoJSONReader {
GeoJSONReader(const geom::GeometryFactory& gf);

/**
* \brief Inizialize parser with default GeometryFactory.
* \brief Initialize parser with default GeometryFactory.
*
*/
GeoJSONReader();
Expand Down
2 changes: 1 addition & 1 deletion include/geos/io/WKBReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class GEOS_DLL WKBReader {

WKBReader(geom::GeometryFactory const& f);

/// Inizialize parser with default GeometryFactory.
/// Initialize parser with default GeometryFactory.
WKBReader();

void setFixStructure(bool doFixStructure);
Expand Down
2 changes: 1 addition & 1 deletion include/geos/linearref/LengthIndexedLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class GEOS_DLL LengthIndexedLine {
*
* (The subline must **conform** to the line; that is,
* all vertices in the subline (except possibly the first and last)
* must be vertices of the line and occcur in the same order).
* must be vertices of the line and occur in the same order).
*
* @param subLine a subLine of the line
* @return a pair of indices for the start and end of the subline.
Expand Down
2 changes: 1 addition & 1 deletion include/geos/namespaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ namespace index { // geos.index
/// formats.
///
/// The Java Topology Suite (JTS) is a Java API that implements a core set of
/// spatial data operations usin g an explicit precision model and robust
/// spatial data operations using an explicit precision model and robust
/// geometric algorithms. JTS is intended to be used in the devel opment of
/// applications that support the validation, cleaning, integration and
/// querying of spatial data sets.
Expand Down
2 changes: 1 addition & 1 deletion include/geos/noding/Octant.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace noding { // geos.noding
*/
class GEOS_DLL Octant {
private:
Octant() {} // Can't instanciate it
Octant() {} // Can't instantiate it
public:

/**
Expand Down
2 changes: 1 addition & 1 deletion include/geos/operation/overlayng/EdgeNodingBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class GEOS_DLL EdgeNodingBuilder {
* This is one of:
*
* - Fixed precision: a snap-rounding noder (which should be fully robust)
* - Floating precision: a conventional nodel (which may be non-robust).
* - Floating precision: a conventional model (which may be non-robust).
* In this case, a validation step is applied to the output from the noder.
*/
Noder* getNoder();
Expand Down
2 changes: 1 addition & 1 deletion include/geos/operation/polygonize/BuildArea.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class GEOS_DLL BuildArea {

~BuildArea() = default;

/** \brief Return the area built fromthe constituent linework of the input geometry. */
/** \brief Return the area built from the constituent linework of the input geometry. */
std::unique_ptr<geom::Geometry> build(const geom::Geometry* geom);
};

Expand Down
2 changes: 1 addition & 1 deletion include/geos/operation/polygonize/PolygonizeGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class GEOS_DLL PolygonizeGraph: public planargraph::PlanarGraph {

EdgeRing* findEdgeRing(PolygonizeDirectedEdge* startDE);

/* Tese are for memory management */
/* These are for memory management */
std::vector<planargraph::Edge*> newEdges;
std::vector<planargraph::DirectedEdge*> newDirEdges;
std::vector<planargraph::Node*> newNodes;
Expand Down
2 changes: 1 addition & 1 deletion include/geos/operation/relate/EdgeEndBundle.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class GEOS_DLL EdgeEndBundle: public geomgraph::EdgeEnd {
* on the boundary and in the interior (e.g. a LineString segment
* lying on
* top of a Polygon edge.) In this case the Boundary is
* given precendence.
* given precedence.
*
* These observations result in the following rules for computing
* the ON location:
Expand Down
Loading

0 comments on commit 6201229

Please sign in to comment.