I'm having trouble with two things.

The first is that I want 2 maps, one without roads or highway shields and a second with only roads and highway shields in order to insert a traffic layer between them.

The second is that I would like to download, using C#, a .png file of each map described above.

In javascript using leaflet, this seems to support this download, but it seems to derived from the leaflet.js.

new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');

Any help with these would be welcome and appreciated.

Thank you

asked 11 Jan, 18:19

chascallaway's gravatar image

accept rate: 0%

edited 11 Jan, 18:21

At the risk of stating the obvious, if you want to download a .png map tile layer with only certain data on it (say, no roads) then you're going to need to create a map style that shows the information you want and render the tiles for the area that you're interested in.

Or, alternatively, look for a "non-png" based approach - there are various ways of creating "vector tiles" out there, not all documented very well unfortunately, but this may be a more suitable approach for you.

(12 Jan, 00:45) SomeoneElse ♦

I admit I'm a newbie, but I'm aware that I need to create a map style that shows the information I want but all I find at openstreetmap.org is a selection of styles - all without specific layer (badges, road, water, etc.) settings. For instance, I can choose a background but what if I don't want one at all?

If I need to create a stylesheet specifically disabling the hundred or so layers exposed by MapBox, I can, but what are they called?

And a C# sample I could find to download a (styled) .png file from a url???


(12 Jan, 01:40) chascallaway

So this is a question about OpenStreetMap in the Mapbox UI ?

(12 Jan, 04:26) escada

No. I wish not to use MapBox if possible.

(12 Jan, 06:58) chascallaway
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 11 Jan, 18:19

question was seen: 63 times

last updated: 12 Jan, 06:58

powered by OSQA