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

countrycodes format is wrong #19

Open
yukota opened this issue Jan 4, 2021 · 0 comments
Open

countrycodes format is wrong #19

yukota opened this issue Jan 4, 2021 · 0 comments

Comments

@yukota
Copy link

yukota commented Jan 4, 2021

Overview

generated countrycodes query format is wrong

Reproduce environment

version

2.1.0

code

        Nominatim.geocode({
            q: "a",
            countrycodes: ["jp"],
            limit: 5
        })

Expected and Actual

expected query(accepted country code by osm)
https://nominatim.openstreetmap.org/search?q=a&countrycodes=jp&limit=5&format=json

created query(ignored countrycodes)
https://nominatim.openstreetmap.org/search?q=a&countrycodes[]=jp&limit=5&format=json

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