Hello,

I have simple problem: I am using Nominatim to get the list of pharmacies in London. I always get 50 results, regardless of what I set to limit. Any ideas what I do wrong?

I using such javascript code:

var city = "london";
var object = "pharmacy";
var limit = "10000";
var nomstring = "http://nominatim.openstreetmap.org/search?format=json&q=" + object + "+in+" + city + "&limit=" + limit;
$.getJSON(nomstring, function(result,status)

Thanks!

asked 28 Jul '17, 12:00

marcin%20galazka's gravatar image

marcin galazka
31112
accept rate: 0%


Maximum 50 results is a hardcoded limit in the Nominatim logic for /search. It can't (currently) even be overwritten by a configuration setting on the server.

For a list of POIs considering using the http://overpass-turbo.eu/ tool.

permanent link

answered 28 Jul '17, 12:37

mtmail's gravatar image

mtmail
4.1k1261
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×614
×75
×52

question asked: 28 Jul '17, 12:00

question was seen: 1,438 times

last updated: 28 Jul '17, 12:37

powered by OSQA