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

How can get get the underlying graph structure of ways in openstreetmap?

asked 28 Jul '13, 09:18

Nadeem's gravatar image

Nadeem
11223
accept rate: 0%

Hi Nadeem, what do you mean with 'underlaying graph structure' the actual size, structure or the database, please tell us what you want to archieve.

(28 Jul '13, 09:33) Hendrikklaas

Enter "graph" in the search box above to find existing answers, like this: OSM XML into Graph

permanent link

answered 28 Jul '13, 11:35

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

OSM data consists of three basic types, called elements. These are nodes, ways and relations. Each of these elements can have additional tags in order to describe them.

There are various ways of downloading OSM data. The Planet contains all of these elements with all their tags for the whole wold and consequently it is very large. There are also extracts for continents and countries available. For even smaller areas you can either use the API directly or with the help of an editor like JOSM which is probably easier.

Then there is also the possibility of filtering data to reduce its size and strip unneeded elements or tags. You can filter the data before downloading it by using the Overpass API. And you can filter the data after downloading by using osmfilter / osmconvert.

permanent link

answered 28 Jul '13, 09:45

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 28 Jul '13, 09:45

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:

×167
×18

question asked: 28 Jul '13, 09:18

question was seen: 3,818 times

last updated: 28 Jul '13, 11:35

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