Skip to content
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

Switch to OSM for reverse geocoding #4444

Merged
merged 1 commit into from
May 19, 2023
Merged

Switch to OSM for reverse geocoding #4444

merged 1 commit into from
May 19, 2023

Conversation

davea
Copy link
Member

@davea davea commented May 17, 2023

No description provided.

@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #4444 (46d29f2) into master (fd3f7db) will decrease coverage by 12.68%.
The diff coverage is n/a.

❗ Current head 46d29f2 differs from pull request most recent head ee72137. Consider uploading reports for the commit ee72137 to get more accurate results

@@             Coverage Diff             @@
##           master    #4444       +/-   ##
===========================================
- Coverage   82.27%   69.60%   -12.68%     
===========================================
  Files         364       41      -323     
  Lines       27610     4872    -22738     
  Branches     4276        0     -4276     
===========================================
- Hits        22717     3391    -19326     
+ Misses       3609     1481     -2128     
+ Partials     1284        0     -1284     

see 323 files with indirect coverage changes

@davea davea requested a review from dracos May 17, 2023 13:53
@davea
Copy link
Member Author

davea commented May 17, 2023

@dracos not quite finished yet (need to ensure all cobrands' use of resourceSets can handle OSM results) but does this look like the right sort of thing?

Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, looking good :)

@davea davea marked this pull request as ready for review May 18, 2023 21:05
@davea davea requested a review from dracos May 18, 2023 21:05
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small issues, plus one large issue concerning tests making external calls.

Given the amount of code checking display_name/resourceSets, I'd later suggest we factor that into Problem.pm so it can return one canonical set of data for a geocode row perhaps, would simplify all the changes here, but probably not for now given the issue.

t/cobrand/peterborough.t Outdated Show resolved Hide resolved
perllib/FixMyStreet/Cobrand/Peterborough.pm Show resolved Hide resolved
perllib/FixMyStreet/Cobrand/Default.pm Outdated Show resolved Hide resolved
@davea davea requested a review from dracos May 19, 2023 10:22
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woo :)

@davea davea merged commit e8e1c23 into master May 19, 2023
@davea davea temporarily deployed to github-pages May 19, 2023 10:33 — with GitHub Pages Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants