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

Incorrect Value Mapping #7

Open
pqhf5kd opened this issue Jun 27, 2020 · 7 comments
Open

Incorrect Value Mapping #7

pqhf5kd opened this issue Jun 27, 2020 · 7 comments
Assignees

Comments

@pqhf5kd
Copy link

pqhf5kd commented Jun 27, 2020

The 'New value' being pulled from FHRS isn't always correctly mapped. (In fact, I haven't noticed a single correct instance)

image

image

image

@kmpoppe
Copy link
Owner

kmpoppe commented Jun 27, 2020

The problem is that the AddressLines 1 through 4 are out of order in the FHRS response - you can clearly see in your examples that "NEW MILTON" is once returned in another entry than in the other two examples - only the postcode is it's own field and therefore must be in the right place. I just guessed from what I saw in my tests around London, but it seems that other authorities just list the entries differently.

I need to try to figure out a way to guess the address better.

@pqhf5kd
Copy link
Author

pqhf5kd commented Jun 27, 2020

I figured that might be the case :)

@pqhf5kd
Copy link
Author

pqhf5kd commented Jun 28, 2020

Could the value mapping be saved/loaded by the user? The user could drag and drop the values in the merge window and then save the config for that LA?

@kmpoppe
Copy link
Owner

kmpoppe commented Jun 28, 2020

I hadn't thought about that being a Local Authority-kind of thing ... but that might be a brill idea. Lemme see if I can manage that.

@osm-spiregrain
Copy link

More evidence - this time from LB Newham.
fhrs-2020-06-02

kmpoppe added a commit that referenced this issue Apr 16, 2021
@kmpoppe
Copy link
Owner

kmpoppe commented Apr 16, 2021

@pqhf5kd @osm-spiregrain I have built a pre-release (https://github.com/kmpoppe/fhrsPlugin/releases/tag/0.2.1) that will allow you to select which Tag you want to assign to which AddressLine. Would you care to test that out before I start building some contraption for saving that matches somewhere?
Thanks!

@kmpoppe kmpoppe self-assigned this Apr 16, 2021
@osm-spiregrain
Copy link

osm-spiregrain commented Apr 16, 2021 via email

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

No branches or pull requests

3 participants