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

Structured search requests #6

Merged

Conversation

aalbagarcia
Copy link
Contributor

Adding structured search options to Nominatim::Search.

As described in http://wiki.openstreetmap.org/wiki/Nominatim#Parameters, you can send structured search requests using street, city, county, state and country parameters.

This commit adds these methods to the Nominatim::Search. Since you cannot mixed structured requests
with the q parameter, if an structured search is performed, the q criterion is deleted before
performing the request.

As described in http://wiki.openstreetmap.org/wiki/Nominatim, you can send structured search requests
using street, city, county, state and country parameters.

This commit adds these methods to the Nominatim::Search. Since you cannot mixed structured requests
with the q parameter, if an structured search is performed, the q criterion is deleted before
performing the request.
jakubsvehla added a commit that referenced this pull request Nov 8, 2015
@jakubsvehla jakubsvehla merged commit f8dc878 into jakubsvehla:master Nov 8, 2015
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.

None yet

2 participants