Hey,

I'm trying to show up smallers roads like service, path etc on smaller zooms like <10.

Using mapbox and default sources is impossible i think..

#roads[class="service"]{
  [zoom<13]{line-width:1; line-color:red}
}

There is any possibility to do it?

asked 16 Oct '15, 09:48

k0n0pka's gravatar image

k0n0pka
26112
accept rate: 0%

edited 19 Oct '15, 19:10

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239551


If Mapbox Studio's default (vector tile-backed) data source doesn't include small roads at z13, then you have a handful of choices:

  • Set up your own rendering stack: switch2osm.org explains how to set up a traditional raster renderer
  • Contact an alternative commercial supplier such as Thunderforest, who may be able to supply different vector tiles
  • Create your own vector tiles with a utility like Tilemaker, which has the detail you want at these zoom levels, and serve them
permanent link

answered 16 Oct '15, 12:14

Richard's gravatar image

Richard ♦
27.8k40247369
accept rate: 19%

"and serve them", how i can import it as source to mapbox studio?

(18 Oct '15, 12:40) k0n0pka
1

I believe you can specify a custom tile URL using the 'Change source' option in Mapbox Studio. If you are hosting your own tiles, you will need to serve the tiles to this URL. The mbtileserver.rb tool in Tilemaker is a simple example of how to do this.

If all of this sounds like gobbledegook, it might be worth you contacting either Mapbox or Thunderforest to see if they can meet your needs.

(19 Oct '15, 10:49) Richard ♦
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:

×86
×75
×34

question asked: 16 Oct '15, 09:48

question was seen: 4,722 times

last updated: 19 Oct '15, 19:10

powered by OSQA