-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New geometries module - Work In Progress #542
Conversation
…e, not the whole response
…, not the whole response
merge latest version of gboeing osmnx master
…ect_index_quadrats()
Merge single dictionary into geometry
@gboeing I think this is getting to the stage where it could do with some thorough testing. I've been doing some myself (and will keep doing more) but it's a bit random and limited in scope so help with that would be much appreciated. I have generally tried to stay away from the Let me know what you think/what's the best way forward. |
Fantastic. Thank you. I'm grateful for all the hard work you've put in. Perhaps we should merge this PR into a feature branch here, when you're comfortable with it as a "first draft"? And then start some coordinated testing?
I think that's fine.
Certainly. Let's do something like this. I'll work up a big processing batch to start downloading geometries all over the world, passing in various tag combos. My goal will be to look for exceptions: do we find anything that breaks the code. I'll aim for several thousand requests sampled across urban areas worldwide. In the meantime, it may be most efficient if your testing focuses on validation... inspecting if individual queries conform to expectations, given the data on OSM. @xgerrmann would you have any appetite for validation-style testing too? |
No problem, it's nice to have the opportunity to contribute, and it will be good to check that it all works as expected.
That sounds good. I think that makes a lot of sense. I'll keep going with some smaller scale tests for a couple more days and then assuming the outputs are as expected it will be great to scale it up and check the robustness. |
I have been working on a few tests which are in notebooks here: https://github.com/AtelierLibre/osmnx_tests/tree/master/notebooks The notebooks are a bit rough but the results are standing up so far. I'll do a few more and then we can broaden it out. |
…ng can't be reprojected
@gboeing I've run through quite a few tests and documented them in the notebooks linked to above. It's seeming pretty robust. The comparisons with overpass-turbo.eu were particularly helpful as they give something external to benchmark against in terms of numbers. I haven't got to the bottom of the discrepancy with the boundary polygon from the nominatim api compared to the boundary polygon through the overpass api on the final example in that notebook. The XMLs have thrown up a few errors mainly because it doesn't seem guaranteed that they are complete (unlike the responses from the overpass api as far as I have found). I've added in a few Let me know if there is anything else you think is worth checking, otherwise I think it probably makes sense to start some wider scale testing now. |
Ok. I'm going to merge this into a |
See #549 |
Resolves #478
Work in progress on a new
geometries
module that combines the capabilities of the existingpois
andfootprints
modules and introduces conversion of ways to LineStrings or Polygons as appropriate.Example: