geo
geo copied to clipboard
Geospatial primitives and algorithms for Rust
When I executed the following code, a panic occurred. I believe it is related to issue #976; however, a different error message was displayed, saying `assembly segments must be eulierian`....
BoolOps take two (multi-)polygons, the subject and the clip and returns the union/intersection/XOR/difference of these as a new (multi-)polygon. It can be useful to know which edges in the result...
Mostly a feature request that I'm interested in hearing your take on. It's quite common for me to have failed unit tests that check `assert_eq!` on structs with geometries, simply...
I was moving some geometries into a [CachedEnvelope](https://docs.rs/rstar/0.11.0/rstar/primitives/struct.CachedEnvelope.html), and while fixing up the types found the following: ```rust let p1: Point = (0., 1.).into(); let ce = CachedEnvelope::new(p1); let bce...
Fixes https://github.com/georust/geo/issues/982 Still draft as I haven't written any tests yet. - [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/main/CODE_OF_CONDUCT.md). - [ ] I added an entry to...
Documentation for `HaversineIntermediate` trait can be improved. Notably the parts that can be improved are the function arguments `f` for `haversine_intermediate()` and `max_dist` and `include_ends` for `haversine_intermediate_fill()`. - I _think_...
When using `geodesic_bearing()` method with a point where the latitude is outside of the coordinate range [-90, 90], the result will be NaN. However, there is no corresponding result when...
- [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/main/CODE_OF_CONDUCT.md). - [ ] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users....
If I have a non-closed `LineString`, I often want to slice / split it and get something smaller back. The input could be... - a [start, end] distance, measured from...
I would love to have an API to find the points where two `LineString`s intersect. The naive implementation would be something like ``` use geo::algorithm::line_intersection::{line_intersection, LineIntersection}; /// Return all intersections...