Closed michaelkirk closed 1 year ago
Thanks !
I see no special reason not to use geo-types
so let's go for it.
I glanced at the abstreet code you linked to, I'm glad it makes using this crate easier and avoids the unnecessary passage through the geojson representation !
In fact I may be AFK the next few days, so in order not to let this PR linger I will merge it now, fix the small typo and change the "value" field to "threshold" in the geojson representation in subsequent commits, update changelog and readme and make a new release today.
Thanks again for the very useful contribution !
Fixes #5
Note this is a breaking change.
Rather than author up geometry types from scratch, I opted to use the existing geo-types for Coordinate/Polygon/MultiPolygon. If you'd prefer we could implement them directly in this crate to get rid of the dependency, but geo-types:
before:
after: