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

Optimize address lookup #281

Open
ut opened this issue Jul 10, 2023 · 1 comment
Open

Optimize address lookup #281

ut opened this issue Jul 10, 2023 · 1 comment

Comments

@ut
Copy link
Member

ut commented Jul 10, 2023

Currently the allocation of address details does not work precise. It no match is returned the message could be more verbose to give hint how to.improve the query

@ut
Copy link
Member Author

ut commented Sep 9, 2023

Reverse lookup for the value "city" should be extended like this:


                        if (val.address.city) {
                            city = val.address.city;
                        } else if (val.address.town) {
                            city = val.address.town;
                        } else if (val.address.village) {
                            city = val.address.village;
                        } else if (val.address.municipality) {
                            city = val.address.municipality;
                        } else {
                            city = val.address.state;
                        }

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

1 participant