Hello, i am working on a project to develop an interactive map . Do you have any ideas, what programming languages(ex:Javascript etc.) does the openstreetmap API support?

asked 22 Jul '13, 08:33

Nikb95's gravatar image

Nikb95
-1334
accept rate: 0%


The OSM API is an XML API so any programming language that can make HTTP requests and parse XML responses will work.

permanent link

answered 22 Jul '13, 09:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
70.6k826391105
accept rate: 24%

edited 22 Jul '13, 09:05

Thankyou :)

(22 Jul '13, 09:39) Nikb95
2

Bear in mind that the "OpenStreetMap API" is intended for use by applications that maintain the database, e.g. editors, rather than end-use applications. Non-editor applications should use the Planet file or alternative APIs such as Overpass.

(22 Jul '13, 11:08) Jonathan Ben...

.. but do bear in mind the answer to your other question - the OSM API is designed to be used by editors to add data to OSM; you typically wouldn't use an OSM API call to obtain data for an interactive map.

Have a look at Overpass and XAPI (effectively non-OSM API calls that might be useful to fetch specific items of data that you might want to overlay over a map that you've displayed based on data downloaded from e.g. one of the sites here.

permanent link

answered 22 Jul '13, 11:08

SomeoneElse's gravatar image

SomeoneElse ♦
32.1k63332751
accept rate: 15%

Your answer
toggle preview

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:

×238
×46
×20

question asked: 22 Jul '13, 08:33

question was seen: 3,588 times

last updated: 22 Jul '13, 11:08

powered by OSQA