Questions tagged [openstreetmap]

OpenStreetMap is a free editable map of the whole world. OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from anywhere on Earth.

OpenStreetMap is a free, editable map of the whole world. Unlike proprietary datasets like Google Maps, the OpenStreetMap license allows free access to the full map dataset. This massive amount of data can be downloaded in full, but also is available in immediately-useful forms like maps and commercial services.

The main way that users participate in OpenStreetMap is by editing the map. With a free user account, you can make improvements to the map that fix issues and add data for everyone. Some users take GPS units on walks, drives, or cycling trips to record tracks that can then be imported to OpenStreetMap. Others help out by tracing roads and features they find in satellite imagery into the map.

OpenStreetMap's funding and infrastructure is supported by the non-profit OpenStreetMap Foundation. While it doesn't maintain ownership of the dataset or control of the project, the foundation encourages the growth, development and distribution of free geospatial data for anybody to use and share.

If you already have an OSM account it is recommended to ask your question at help.openstreetmap.org where you will find a much larger OSM community.

Further Reading

  1. OpenStreetMap Wiki
  2. The Map
  3. Instructions for switching to OSM
  4. OSM Q&A community
  5. Mailing lists
  6. Official forum
  7. OSM Foundation
4335 questions
126
votes
10 answers

Openstreetmap: embedding map in webpage (like Google Maps)

Is there a way to embed/mashup the OpenStreetMap in your page (like the way Google Maps API works)? I need to show a map inside my page with some markers and allow dragging/zooming around, maybe routing. I suspect there would be some Javascript API…
Piskvor left the building
  • 91,498
  • 46
  • 177
  • 222
72
votes
9 answers

A* Algorithm for very large graphs, any thoughts on caching shortcuts?

I'm writing a courier/logistics simulation on OpenStreetMap maps and have realised that the basic A* algorithm as pictured below is not going to be fast enough for large maps (like Greater London). The green nodes correspond to ones that were put…
drspa44
  • 1,041
  • 8
  • 12
55
votes
2 answers

How to integrate OpenStreetMap into a react-native project?

I am trying to integrate OpenStreetMap into a React Native project. But I can't find any library or anything related to React Native in their GitHub account. The only thing I can find relating to these to topics is the link below, in which there is…
Amal p
  • 2,882
  • 4
  • 29
  • 49
54
votes
1 answer

Get address from co-ordinates using OpenStreetMap

I'm looking for a solution which gives an address based on co-ordinates (Latitude & Longitude) which I got from html5 geolocation api. I'm using OpenStreetMap.
44
votes
8 answers

Is there an API for openstreetmap?

I wonder if there is any API I could query OSM data through, for example; Are (lon_1, lat_1) at land or at sea? Or could it be possible to get an island as a well-defined polygon? The only usage I've seen so far has just been tools for rendering OSM…
Yngve Sneen Lindal
  • 1,013
  • 3
  • 12
  • 24
42
votes
3 answers

Setting map language to English in Openstreetmap with LeafletJS

I'm using LeafletJS to add a map component to my app. Everything is fine and dandy except for the localization of the map. Some country names are shown in the local language (I'm assuming). Is there a way to show the country names in English? This…
JohnP
  • 49,507
  • 13
  • 108
  • 140
41
votes
8 answers

leaflet map shows up grey

I'm starting leaflet.js with the quickstart but my map shows as grey... is there something I'm missing? script.js: var leafletMap = L.map('leafletMap').setView([51.505, -0.09], 13); L.tileLayer('http://{s}.title.cloudmade.com/' + API_KEY +…
Connor Leech
  • 18,052
  • 30
  • 105
  • 150
39
votes
5 answers

Get exact geo coordinates along an entire route, Google Maps or OpenStreetMap

Suppose I have a route defined from one town to another. From the Google Maps API I can recover a route between the two. However, the route returned from Google is a driving route that includes geo-coordinates only at places where there is another…
Madeleine P. Vincent
  • 3,361
  • 5
  • 25
  • 30
37
votes
2 answers

open street maps api for android

Does anyone know where I can find the open street maps api for android? I have searched the site and all I can see is other peoples implementations of it. I'm looking for one which can be integrated into another app and fully customized.
Paul
  • 1,375
  • 4
  • 16
  • 29
37
votes
1 answer

embed openstreetmap iframe in github markdown

From the share tab on the openstreetmap page, I can export a map view as HTML e.g.: