I'm getting this error. I've tried both 0.2.1 and 0.1.4
warning: unused imports: `GeoJson`, `Value`
--> src/main.rs:2:15
|
2 | use geojson::{GeoJson, Value};
| ^^^^^^^ ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0599]: no method named `union` found for struct `geo_types::polygon::Polygon<{float}>` in the current scope
--> src/main.rs:21:23
|
21 | let union = poly1.union(&poly2);
| ^^^^^ method not found in `geo_types::polygon::Polygon<{float}>`
warning: unused import: `geo_booleanop::boolean::BooleanOp`
--> src/main.rs:3:5
|
3 | use geo_booleanop::boolean::BooleanOp;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: could not compile `geo-test-rust`.
To learn more, run the command again with --verbose.
I'm getting this error. I've tried both 0.2.1 and 0.1.4
Clone and build this repo to reproduce https://github.com/inclooder/rust-geo-test