Skip to content

Commit

Permalink
Update changelog and readme, prepare for 0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Mar 14, 2023
1 parent f8ff26d commit a460a81
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

### 0.2.0 (2023-03-14)

- Ensure correct winding order of polygon rings.

- Remove repeated point in polygon rings if any.

- Avoid cloning some values when reconstructing polygons.

### 0.1.0 (2023-03-14)

First release.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contour-isobands"
version = "0.1.0"
version = "0.2.0"
authors = ["Matthieu Viry <[email protected]>"]
edition = "2021"
license = "AGPL-3.0-or-later"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add the following to your `Cargo.toml`:

```toml
[dependencies]
contour-isobands-rs = "0.1.0"
contour-isobands-rs = "0.2.0"
```

Then, you can use the `ContourBuilder` to compute isobands:
Expand Down Expand Up @@ -47,6 +47,11 @@ assert_eq!(result.len(), 3);
Each `Band` struct contains a geometry (`MultiPolygon<f64>`) and the minimum and maximum values of the band.
It can be serialized to geojson using the `geojson` feature:

```toml
[dependencies]
contour-isobands-rs = { "0.2.0", features = ["geojson"] }
```

```rust
use contour_isobands_rs::{ContourBuilder, Band};
use geojson::{Feature, FeatureCollection};
Expand Down

0 comments on commit a460a81

Please sign in to comment.