0

Hello,

I am new to openstreetmap. I have followed the below url to create a first sample application that displays the map.

url: http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example

I have few queries like

we can create openstreetmap using google api,openlayer.js and other libraries. (Please correct me if I am incorrect). So if this is correct, which is the best option to work with.

To display a map and plot data on the map based on lat long abd create shapes on it (like polygons , polylines) and other shapes how we can achieve that and whether that is possible using OpenstreetMap.

Also what is the difference between OpenStreetMaps and OpenStreetMaps API

Please help me.

asked 15 Mar '13, 03:44

sats_sandy's gravatar image

sats_sandy
1111
accept rate: 0%

edited 16 Mar '13, 01:21

aseerel4c26's gravatar image

aseerel4c26 ♦
32.2k16239552


3 Answers:
6

OpenStreetMap is the name of the project (notice: no "s"). The OpenStreetMap API is the interface through which editor software (and, to a small degree, other programs) can directly access the OpenStreetMap database; most users of OpenStreetMap will not use the API but one of the derived products, for example display tiles from the tile server, or download data dumps to load into their own database.

OpenLayers, Leaflet, the Google API, and others are not part of the OpenStreetMap project; they are just JavaScript libraries that take a standardised set of map tiles and make them visible in a browser. (There are similar libraries for Java, Flash, and other programming languages.) Which of these you use is basically a matter of taste. All three libraries mentioned do support vector layers onto which you can draw arbitrary objects; exactly how you achieve this differs between the libraries.

permanent link

answered 15 Mar '13, 07:10

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
73.3k866641137
accept rate: 24%

3

You can find more information about using OpenStreetMap at switch2osm.org

permanent link

answered 15 Mar '13, 22:02

ChrisH's gravatar image

ChrisH
4.1k134262
accept rate: 15%

1

A simple starting point is Leaflet (quick start guide).

If you have to do more complex things, use OpenLayers.

And there are other alternatives like KHTML.

/al

permanent link

answered 20 Mar '13, 17:52

_al's gravatar image

_al
84521018
accept rate: 4%

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:

×294
×50
×23

question asked: 15 Mar '13, 03:44

question was seen: 5,846 times

last updated: 20 Mar '13, 17:52

powered by OSQA