0

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

echoalphapapa
417812
accept rate: 0%

edited 05 Nov '14, 16:23


One Answer:
2

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

https://help.openstreetmap.org/questions/19213/osm-xml-into-graph

permanent link

answered 05 Nov '14, 16:32

SomeoneElse's gravatar image

SomeoneElse ♦
33.0k65343778
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

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:

×263
×228
×80
×66
×16

question asked: 05 Nov '14, 16:22

question was seen: 12,823 times

last updated: 05 Nov '14, 17:25

powered by OSQA