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

Using Openstreetmap

0

Hello,

My name is ABHINAV. I am developing a web application for getting directions. I wanted to know how can I extract a particular part of a map from OPENSTREETMAP and accordingly program it for various purposes like: Intelligent Routing Cost and Time based calculations of the best.

The app which I want to develop is on similar tracks with GOOGLE MAPS. So guys please help me and tell how can I program it according to my needs.

Thank You,

Abhinav

asked 09 Sep '12, 18:49

ABHINAV%20SINGH's gravatar image

ABHINAV SINGH
25112
accept rate: 0%

edited 10 Sep '12, 19:19

stephan75's gravatar image

stephan75
12.6k556210


One Answer:

3

First things first, you're going to need to find out about what OSM data contains. This page from the beginners' guide is a simple introduction. Next, you're going to need to download some data. The XML data for the entire planet is huge, but there are links to some area-based extracts on this page. To start with, you might just want to extract a very small amount of data locally to you - perhaps using XAPI or Overpass.

Routing is a big topic in its own right and there are lots of issues to consider, but many of them are introduced here.

answered 10 Sep '12, 10:33

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .