Why not ask your question on the new OpenStreetMap Community Forum?

I want to download an aerial image containing roads from OSM and also download the corresponding road vectors for all the roads in the image from OSM and plot the roadvectors superimposed on the image to highlight the roads. Can somebody help me how to do it?

asked 23 Jan '15, 10:08

ssbals's gravatar image

ssbals
11112
accept rate: 0%


OSM does not have aerial images, but suppose you find a provider for such images. Libraries such as Leaflet or OpenLayers allow you to show tiles within a bounding box. You program needs to be aware of this bounding box. Then the program can e.g. create an Overpass query to retrieve all ways and place them over the tiles with the aerial images.

An example how to retrieve WMS tiles with OpenLayers, this could be used to load the aerial images, provided they are available as WMS.

Here is a post describing how to combine Overpass with OpenLayers.

permanent link

answered 23 Jan '15, 16:49

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

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:

×223
×42
×1
×1

question asked: 23 Jan '15, 10:08

question was seen: 2,458 times

last updated: 23 Jan '15, 16:49

powered by OSQA