geo
geo copied to clipboard
Geospatial primitives and algorithms for Rust
JTS (and, subsequently, GEOS and several of its related downstream tools such as Shapely and PostGIS) has had the concept of a ["prepared geometry"](https://locationtech.github.io/jts/javadoc/org/locationtech/jts/geom/prep/PreparedGeometry.html) for a long time now. The...
Above some threshold, it may be faster to load the geometry or geometries into an R*-star tree and query for a subset of intersection candidates. This is a draft PR...
There are operations within these algorithms that can panic. We should update these algorithms to be panic-free, and instead return `Result`s. An attempt was made in https://github.com/georust/geo/pull/589
[Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates) is a github bot that will automatically open PR's with dependency updates. The PR's look like this: https://github.com/urschrei/polylabel-rs/pull/23 Until now we've been using the very-reliable and polite [dependa-martin](https://github.com/martinfrances107) (see...
Do we need this? https://github.com/georust/geo/blob/a3c2094990f87ac9e31420893bd2c1a0e43711e8/geo/Cargo.toml#L19 Could it just be a feature we enable in tests?
This PR includes #772 --- This PR focuses on `geo-types` only. This is a part of #742. This PR changes the underlying geo-type data structures to support 3D data and...
Add it here: https://github.com/georust/geo/blob/1d3b32970a49746de6ce2400305725edd21f7c15/geo/src/lib.rs#L124-L130
Right now it's only implemented between two `Point`s https://docs.rs/geo/0.20.1/geo/algorithm/haversine_distance/trait.HaversineDistance.html
Excepting [Rect](https://github.com/georust/geo/issues/362)s and Polygons, all of our geometry structs have public fields. This is going to make releasing [#797](https://github.com/georust/geo/pull/797/files#diff-6ff837506e614f9a8a7c162d78e60b81e6020202c551fcb680b2b8867ba16e17R33) not only a breaking change, but a breaking change without any...
Related: #607 I was testing `concave_hull` and ran across a potential bug. The following set of points are basically two polygons combined: a square, and a four-sided polygon that overlaps...