Closed Evelyn-M closed 7 months ago
Important: Due to my lack of expertise about defining classes (i.e.
OSMApiQuery
), I suggest that a second reviewer has a look at the files
climada_petals/entity/exposures/osm_dataloader.py
climada_petals/entity/exposures/test/test_openstreetmap.py
I looked through it, but didn't think through all the functionalities.
Since those functions were not modified in this pull requested, and were reviewed and tested before, this is fine :)
Thanks for the feedback @leonie-villiger and @peanutfun . I implement all your suggestions; tests & tutorials are updated and passing, hence merging :)
@Evelyn-M What's the rush? Several of my comments have not been addressed, and there is quite a number of linter issues one could still resolve, at least two of which have elevated severity. @leonie-villiger and I both requested changes which means that we have to have another round that approves the new version. If you need to hit a deadline, please say so earlier.
Sorry, there were a few hidden comments that got lost! Luckily only 2 or 3, and they're anyways part of the APIQuery part, which was actually not intended to be changed as part of this pull request (I still made quite a few changes upon your suggestions, but feel free to open a separate PR for further amendements. They're all good points, so I'll copy them over to the respective GitHub issue.) Leonie did re-review and approve, and I have no work-time left on this (sorry for the rush this time, was a pragmatic decision :) ).
Changes proposed in this PR:
osm-flex
a dependency, and re-introduceoverpy
as dependency (else accessing overpass API fails)This PR fixes #
PR Author Checklist
develop
)PR Reviewer Checklist