This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

To which level of data injected on a OSM can be retirved through API?

0

Take e.g. https://www.openstreetmap.org/#map=19/18.51160/73.87876

at various zoom levels; we keep getting more and more injected data on map; and at highest zoom level its not only facility or building names but even individual shop/facility in it with icons and even names like a coffee-shop, pharmacy, fabrics, restaurant/dining; religious places, optician, hospital. If data is available then it even goes to a level where it identifies individual amenities/facilities in apartment blocks.

Is there any way; all this data can be retrieved making use of API? If yes, some references will be more than appreciated.

Thanks in Advance.

asked 29 Jan '23, 09:55

vijay_k's gravatar image

vijay_k
11223
accept rate: 0%


One Answer:

5

The API on openstreetmap.org is the editing API and not suitable for bulk downloads or topical retrievals. To retrieve all OSM data go to planet.openstreetmap.org there are links to extract services for geographic regions linked on the page too.

If you want to retrieve specific data and don't want to filter it out of the previously mentioned complete data, using the overpass API is probably your best bet: https://wiki.openstreetmap.org/wiki/Overpass_API

answered 29 Jan '23, 10:00

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%