amandasaurus / osmio

Read & write OSM file formats
Apache License 2.0
19 stars 8 forks source link

is_closed/is_area helper methods for dealing with 2-D ways #3

Closed michaelkirk closed 3 years ago

michaelkirk commented 3 years ago

...plus a couple small cleanup commits.

I needed something like this while converting OSM data to other geometry formats, and thought it would make sense to include in osmio.

What do you think?

amandasaurus commented 3 years ago

Thanks for your contribution.

I have published as v0.5.0-rc1, please feel free to try it out, and it it's OK, I'll publish it as a proper v0.5.0

michaelkirk commented 3 years ago

Thanks! I've tested this change with some local data, and it works as I intended.

Whether you want to release this by itself or wait for #4, is up to you (let me know if you'd like to see any changes there).