1

I have a local Nominatim instance in which I carry out searches within a bounding box. The problem is that for whatever value of limit, I get a maximum of 50 results. I understand that this is the limit set by Nominatim so that the public server does not get overloaded.

Consider this reproductible example (sent to the Nominatim public server). Only the server would be different on the local instance.

http://nominatim.openstreetmap.org/search?q=[pub]&format=xml&bounded=1&limit=50&viewbox=4.7718134,45.7073666,4.8983774,45.8082628

As I am running my own instance, I am wondering, is there a way to raise the maximum number of results of my local Nominatim instance?

A possible solution would be to send queries iteratively, with the exclude_place_id argument. For instance, the second query would exclude the place_id of the first query and give a list of 50 other pubs, an so on until no further match is found. But this is not very eleguant...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.