NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello OSM Community,

I've been reading about the API for several days now andy trying to figure out if it's possible to do specific API calls. As far as I noticed you can only get all the raw data (buildings, streets, transport) for a region e.g. Manhattan, NY. Since the raw data files are quite large and I'm only interested in streets / water ways / bridges, I was wondering how you can only request them? Is that possible?

Thank you so much for looking into it.

Best, Dan

asked 06 Apr '16, 13:37

Dan744's gravatar image

Dan744
36113
accept rate: 0%


The OSM API is an "Editing API" and does not support filtering etc. An alternative to extracting the data from the raw data (for example from https://mapzen.com/data/metro-extracts/ ) is to use the Overpass API and/or Overpass Turbo.

permanent link

answered 06 Apr '16, 14:03

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 06 Apr '16, 14:04

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:

×290

question asked: 06 Apr '16, 13:37

question was seen: 2,325 times

last updated: 06 Apr '16, 14:04

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum