Why not ask your question on the new OpenStreetMap Community Forum?

I'm a complete beginner in OSM. My final year project involves using OSM to create routing algorithms.

I've been playing with Osmosis to parse OSM XML data and I think I can work with it.

My question is if I need to build a graph out of OSM XML data, what would I need to parse?

I know I need the ways, but I'm not sure if I need to also parse the nodes and relations?

Keep in mind, this is a simple routing app for walking/running/cycling

Any helpful suggestions would be deeply appreciated!

asked 05 Nov '14, 16:22

echoalphapapa's gravatar image

accept rate: 0%

edited 05 Nov '14, 16:23

You're not the first person to ask this ...


permanent link

answered 05 Nov '14, 16:32

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

... also have a look at all opensource solutions listed at http://wiki.openstreetmap.org/wiki/Routing

(05 Nov '14, 17:25) stephan75
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 05 Nov '14, 16:22

question was seen: 15,726 times

last updated: 05 Nov '14, 17:25

powered by OSQA