Skip to content

Commit

Permalink
Merge pull request #1231 from georust/mkirk/unify-densify
Browse files Browse the repository at this point in the history
unify Densify trait (adds support for Geodesic, Rhumb)
  • Loading branch information
michaelkirk authored Oct 22, 2024
2 parents f683c7a + 44dd231 commit cf37789
Show file tree
Hide file tree
Showing 11 changed files with 513 additions and 343 deletions.
14 changes: 14 additions & 0 deletions geo/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@
line_string.length::<Haversine>();
```
* <https://github.com/georust/geo/pull/1228>
* Deprecated `DensifyHaversine`
* BREAKING: `Densify::densify` is no longer strictly Euclidean, and now accepts a generic line measure parameter.
```
// Before
line_string.densify();
line_string.densify_haversine();
// After
line_string.densify::<Euclidean>();
line_string.densify::<Haversine>();
// Additional measures are now supported
line_string.densify::<Geodesic>();
line_string.densify::<Rhumb>();
```
* Change IntersectionMatrix::is_equal_topo to now consider empty geometries as equal.
* <https://github.com/georust/geo/pull/1223>
* Fix `(LINESTRING EMPTY).contains(LINESTRING EMPTY)` and `(MULTIPOLYGON EMPTY).contains(MULTIPOINT EMPTY)` which previously
Expand Down
263 changes: 0 additions & 263 deletions geo/src/algorithm/densify.rs

This file was deleted.

Loading

0 comments on commit cf37789

Please sign in to comment.