geoarrow2::algorithm

Module geo

Source
Expand description

Contains vectorized algorithms implemented on GeoArrow arrays using geo algorithms.

Re-exports§

pub use affine_ops::AffineOps;
pub use area::Area;
pub use bounding_rect::BoundingRect;
pub use center::Center;
pub use centroid::Centroid;
pub use chaikin_smoothing::ChaikinSmoothing;
pub use chamberlain_duquette_area::ChamberlainDuquetteArea;
pub use contains::Contains;
pub use convex_hull::ConvexHull;
pub use densify::Densify;
pub use dimensions::HasDimensions;
pub use euclidean_length::EuclideanLength;
pub use euclidean_distance::EuclideanDistance;
pub use geodesic_area::GeodesicArea;
pub use geodesic_length::GeodesicLength;
pub use haversine_length::HaversineLength;
pub use intersects::Intersects;
pub use line_interpolate_point::LineInterpolatePoint;
pub use line_locate_point::LineLocatePoint;
pub use minimum_rotated_rect::MinimumRotatedRect;
pub use remove_repeated_points::RemoveRepeatedPoints;
pub use rotate::Rotate;
pub use scale::Scale;
pub use simplify::Simplify;
pub use simplify_vw::SimplifyVw;
pub use skew::Skew;
pub use translate::Translate;
pub use vincenty_length::VincentyLength;
pub use within::Within;

Modules§

affine_ops
Composable affine operations such as rotate, scale, skew, and translate
area
Calculate the area of the surface of geometries.
bounding_rect
Calculate the bounding rectangle of geometries.
center
Calculate the center of geometries.
centroid
Calculate the centroid of geometries.
chaikin_smoothing
Smoothen LineString, Polygon, MultiLineString and MultiPolygon using Chaikins algorithm.
chamberlain_duquette_area
Calculate the signed approximate geodesic area of geometries.
contains
Determine whether Geometry A completely encloses Geometry B.
convex_hull
Calculate the convex hull of geometries.
densify
Densify linear geometry components
dimensions
Dimensionality of a geometry and its boundary, based on OGC-SFA.
euclidean_distance
Calculate the minimum Euclidean distance between two Geometries.
euclidean_length
Calculate the length of a planar length of a LineStringArray.
geodesic_area
Calculate the Geodesic area and perimeter of polygons.
geodesic_length
Calculate the Geodesic length of a line.
haversine_length
Calculate the Haversine length of a Line.
intersects
Determine whether Geometry A intersects Geometry B.
line_interpolate_point
Interpolate a point along a LineStringArray.
line_locate_point
Locate a point along a LineStringArray.
minimum_rotated_rect
Calculate the minimum rotated rectangle of a Geometry.
remove_repeated_points
Remove (consecutive) repeated points
rotate
Rotate geometries by an angle given in degrees.
scale
Scale geometries up or down by a factor
simplify
Simplify geometries using the Ramer-Douglas-Peucker algorithm.
simplify_vw
Simplify geometries using the Visvalingam-Whyatt algorithm.
skew
Skew geometries by shearing it at angles along the x and y dimensions
translate
Translate geometries along the given offsets.
vincenty_length
Calculate the Vincenty length of a LineStringArray.
within
Determine whether Geometry A is completely within by Geometry B.

Structs§

AffineTransform
A general affine transformation matrix, and associated operations.