-
Notifications
You must be signed in to change notification settings - Fork 92
Replace homegrown converter with osm2geojson #140
Conversation
Hey cool! Sorry it took me so long to respond. What work do you think needs to be done to the unit tests? Last I checked test coverage is still pretty poor... |
Testing is not my greatest strength, but I think #141 would be a good start in improving the tests. I'll try to do some more comprehensive analysis to see what can be improved beyond that. |
@dericke what is left to do before we can merge this? Should there be a 1.x branch since this would be a breaking API change? @russbiggs can you comment on whether this will break #130 ? |
I was just waiting until the PR related to tests was merged, which I see you've done (thanks!), and for feedback on the API change. I don't feel confident on judging whether the API change is significant enough to warrant a major version increment or not. |
8c57448
to
ce32e2d
Compare
It does appear that this PR currently regresses #130 . I'll look into doing a PR against osm2geojson to fix this. |
The PR for |
Hey, see my comment here: #135 (comment) |
I like the idea of supporting |
Yes, it would. But then any library that adopts |
5a2923a
to
9cc83a6
Compare
Just a quick shout: It seems that the example for MapQuery hits a very similar "polygons only as references" problem as #122 (which #129 apparently partially fixed). |
I agree this would probably be the best option, but given nothing is happening on that end wouldnt it be better to merge this one than the status quo? |
This PR's code can resolve the "corrupted multipolygon" issue from my end. I hope it can be merged soon if no other blockers. Thanks a lot for the nice job @dericke ! |
I don't see any other blockers here. I think we're good to finally (sorry..) merge this /cc @metazool |
okay I royally messed up the pr review process and committed everything to main instead. I'm going to close this now for that reason. Everything should be there but I'll double check |
Replaces the built-in method to convert Overpass JSON to geojson with the osm2geojson library. The motivation is to reduce the scope of this library and offload some maintenance burden.
Important differences:
id
attribute underproperties
, this lib has been puttingid
as a top-level attributeSetting as a draft PR until:
Closes #135 and possibly some others?