-
Notifications
You must be signed in to change notification settings - Fork 43
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
Pims-1858 Truncate Address From Geocoder #2523
Conversation
🚀 Deployment Information The React APP Image has been built with the tag: |
Code Climate has analyzed commit 132ca7f and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 93.7%. View more on Code Climate. |
url.searchParams.append('locationDescriptor', 'accessPoint'); | ||
url.searchParams.append('setBack', '10'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was curious about what this locationDescriptor did, so I did some tests with it on/off:
All tests done with 467 Lampson St.
With lines 37 and 38 commented out, I get this:
With line 38 commented out only, I get this:
And with both lines present, I get this:
It seems like adding these lines might have reduced the accuracy of the location somehow.
Yet, with 1407 Haultain St (a weird split parcel), I get this with them both active:
With them, accuracy was 2/2 checked. Without, it was 1/2. so I think it's still worth it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really could go either way - it just depends on each parcel. But I found the same, on parcels that geocoder sends a good point it makes the point worse but still acceptable, on parcels that geocoder sends a bad point it makes it better.
🎯 Summary
PIMS-1858:
Made the following changes:
🔰 Checklist