- Bump
geo-types
dependency to 0.4.0 - Bump
rstar
andproj
dependencies - Implement
Centroid
forMultiPoint
- Rewrite
Polygon
structure to enforce closedLineString
rings - Implement
Into<Geometry>
forLine
- Implement
Index<usize>
forLineString
to get the coordinate at that position - Bump
rstar
dependency - Ability to construct
MultiPolygon
fromVec
of anything that implementsInto<Polygon>
- Add
new
,is_empty
,len
functions onGeometryCollection
- Add
MapCoords
forRect
s - Rewrite vincenty/haversine docs; specify param/return units.
Area
can work on some non-Float
geometries (e.g.Rect<Integer>
)
- Fix misnamed
serde
feature flag. - Add
width
andheight
helpers onRect
.
- Add
to_lines
method on aTriangle
- Add
to_degrees
andto_radians
methods onPoint
s
- Fix some edge case on centroid computation
- Introduce
Line::{dx, dy, slope, determinant}
methods. - Remove unnecessary borrows in function params for
Copy
types. - Introduce
x_y
method onPoint
andCoordinate
- Migrate
Line
aandLineString
to be a series ofCoordinates
(notPoints
). - Introduce Triangle geometry type.
- Rename bounding ‘box’ to ‘rect’; move structure to geo-types.
- Remove unnecessary borrows in function params for
Copy
types. - Rename bounding ‘box’ to ‘rect’; move structure to geo-types.
- Fix Line-Polygon euclidean distance
- Implement
EuclideanDistance
forMultiPolygon
toLine
andLine
toMultiPolygon
- Add
Line
-LineString
euclidean distance - Add
VincentyDistance
andVincentyLength
algorithms - Add
HaversineIntermediate
algorithm
- Make serde an optional dependency for
geo
, rename feature touse-serde
- Use the
proj
crate, rename feature touse-proj
- Return unboxed iterators from
LineString::lines
,Winding::points_cw
, andWinding::points_ccw
- Fix compilation errors when using the
proj
feature - Add
Polygon
-Polygon
andLineString
-LineString
distance - Update postgis optional dependency to 0.6
- Clarify wording for Contains algorithm.
- Allow LineString creation from vec of two-element CoordinateType array
- Reexport core types from
geo-types
- New crate with core types from
geo
- Fix documentation generation on docs.rs
- Fix centroid calculation for degenerate polygons
- Prefix Euclidean distance/length traits with 'Euclidean'.
- Bump num-traits: 0.1 → 0.2
- Implement
SpatialObject
forLine
type - Implement a
TryMapCoords
trait - Impl Polygon convexity function on the type
- Implement rust-proj as an optional feature within geo
- Easy methods to convert a Geometry to the underlying type
- Map coords inplace
- [Added bearing trait]georust#186)
- Winding/Orientation for LineStrings
- Add
Line
to theGeometry
enum
- Use new bulk-load method for initial R* Tree population
- Add PostGIS and GeoJSON integration/conversions
- Add a
lines
iterator method onLineString
- Implement
Contains<Polygon>
forPolygon
- Correctly check for LineString containment in Polygon
- Remove unnecessary trait bound on
Translate
- Topology preserving Visvalingam-Whyatt algorithm
- Implement
Copy
forLine
- Rewrite
RotatePoint
impls to be generic - Add associated return type for
BoundingBox
- Add associated return type for
Centroid
- Quickhull orientation fix
- Implement distance traits for more geometries
- Correctly calculate centroid for complex polygons
- Add
Orient
trait for polygon - Add geometry rotation
- Add extreme point-finding
- Add contains point impl for bbox
- Implement Haversine algorithm
- fix when multipolygon composed of two polygons of opposite clockwise
- Migrate from 'num' to 'num_traits' crate
- Data structures and traits are now generic (previously all were
f64
) geo::COORD_PRECISION
is nowf32
(previously wasf64
)