The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [mapbox-studio]

A subscription-based cross-platform web-GIS tool for creating interactive slippy maps and custom visuals for Big Data feeds.

Filter by
Sorted by
Tagged with
19
votes
3answers
5k views

Can the new Mapbox Vector Tiles be used as a QGIS basemap?

With the implementation of the mapbox vector tiles begs the question of how these could be used as a basemap in a QGIS printed map (assuming anyone cares about printed maps anymore!). To use OSM data ...
6
votes
2answers
4k views

In MapBox Studio, how to create a centred label of a polygon created from shapefile?

To get the undesired result below, I: Uploaded a zipped shapefile to MapBox Studio. Using the shape, created a layer of polygons to display area boundaries. Using the same shape, created a text layer ...
5
votes
1answer
1k views

Style line-width proportionally to maintain relative size in Mapbox GL

I want a data driven line-width to keep its relative size in all sizes I tried using an exponential function for that but it did not work the way I expected. For the sake of the example let's say I ...
4
votes
2answers
6k views

What's the most appropriate way to load Mapbox Studio tiles in Leaflet?

I'm updating a Leaflet map's basemap, and I'd like to use Mapbox to create this basemap. At first I thought I would have to ditch Leaflet and switch entirely to Mapbox GL. After digging around in the ...
3
votes
1answer
1k views

Exporting GeoJson from QGIS to Mapbox Studio

I am willing to create GeoJson layer with QGIS, download it and upload it to Mapbox Studio. When I upload the GeoJson file to Mapbox Studio, I get the following error: Input failed. Datasets don't ...
3
votes
1answer
646 views

Using Mapbox studio style and exported mbtiles to create web map?

I used Mapbox Studio to create a style using a local tile source. I exported the source to get vector mbtiles. Now how do I use these mbtiles and the style (which is still in Mapbox Studio) to ...
3
votes
1answer
673 views

How to set the fill extrusion height in Mapbox Studio

in Mapbox Studio, I'm trying to set the height of an extrusion layer to a value that is mapped to the identity values of the layer property but I cannot find the option. My layer data have the ...
3
votes
1answer
2k views

Get properties data from MapBox vector tile source

I struggle with getting data from a MapBox Vector Tile source or MapBox DataSet. I found the example page from MapBox GL JS. The goal is to let users put in a number (1-24) in a input field, this ...
3
votes
0answers
298 views

How Can I Fix rtl text labeling in Mapbox Studio? [closed]

I'm new in Mapbox Studio. My language is Persian. I published new map at here. When I use local language for label locations, it show as follow: How Can I Fix rtl text labeling in Mapbox Studio?
2
votes
1answer
1k views

Mapbox GL “Improve this map” message

In the copyright section of a mapboxgl map using a Mapbox Studio style, I see the message "Improve this map", which links here (https://www.mapbox.com/map-feedback/). Where is this link stored or how ...
2
votes
1answer
1k views

Render raster tiles from a Mapbox GL style

I'm struggling to put together the appropriate stack for rendering raster tiles (for display of slippy maps) from a given Mapbox GL style. Style specifications: First there were the Mapnik XML ...
2
votes
1answer
919 views

Popup in Mapbox Studio

Are popup markers supported in Mapbox Studio? I inherited a project which uses earlier versions of Mapbox. Today, a marketing personnel asked me because she cannot update the data that is being ...
2
votes
1answer
111 views

How do I add someone else's Tileset in Mapbox Studio?

I'm trying to see the Microsoft Building Footprints in my hometown with the Tileset Chetan has prepared but his Tileset page doesn't have the Map ID that my own Tilesets have and is required by Studio....
2
votes
1answer
2k views

Exporting vector tiles from Mapbox Studio?

Using MapBox Studio, I created a new tileset, uploaded a zipped shapefile and styled it. Now, I want to export vector tiles so I can self-host them. While searching, I found many indications that ...
2
votes
1answer
726 views

Define a legend for a MapBox Studio Project

Given that it is possible to request the TileJSON for a MapBox project at https://api.mapbox.com/v4/{mapId}.json?access_token={token}, I was wondering if it was possible to define a legend for MapBox ...
2
votes
1answer
1k views

Mapbox Studio: How to upload glyphs or sprite for custom markers

I am wondering how I can view the available or upload new glyphs or sprites into Mapbox Studio. I want to style some markers with custom icons and can't figure out where the default glyphs are coming ...
2
votes
1answer
143 views

Using boundaries of city to cover world outside of it in solid color? [duplicate]

I need to create a mask to cover the rest of the world outside of a single city. (Here are Boston boundaries to use as reference for the boundaries of a city). I've been told by support to open those ...
2
votes
2answers
775 views

Mapbox Studio for macOS renders GeoTiff into webp with black background - suggestions?

We are converting a 11 MB GeoTiff, 324511630_Descanso_FSTopo.tif, to post to Mapbox, using Mapbox Studio Classic macOS. The issue is when the Mapbox tileset is posted in Mapbox.com/studio, there is a ...
2
votes
2answers
3k views

How to create MBtiles file from “.osm.pbf” file using TileMill?

I am using Mapbox Offline Map in my app using MBTiles. Previously I was using shapefiles for creating offline maps. After searching a lot I am not getting Australian shapefiles. But my friend ...
2
votes
1answer
586 views

Displaying names of small streets in Mapbox Studio

I'm creating a custom map of the town I live in. It's intended to be used in static form (print/static imagery). The emphasis is on the visibility of street names and house numbers. The latter has ...
2
votes
1answer
264 views

Mapbox Studio- How does Text Halo work?

How do I make text Halo in Mapbox Studio work? I tried different width and blur but the text still the same no matter what
2
votes
0answers
943 views

rotate custom icon on mapbox gl js

I try to rotate a custom Marker icon inside Mapbox gl-js. All the commented attempts not working. Are we absolutely need to go with geojson sources to rotate an icon and a custom one that is not able ...
2
votes
0answers
60 views

Mapbox Studio tileset is missing the bottom corner of polygon after upload to studio [closed]

I am uploading a shapefile to Mapbox Studio. Here is a screenshot of the shapefile polygon in QGis This is the polygon in QGis Now, when I zip the files and upload them as a new tileset, the bottom ...
1
vote
2answers
119 views

Symbolizing field with many values in Mapbox Studio?

I am using Mapbox Studio and trying to symbolize my Tileset which has about 200 unique values. I am able to create individual 'stops' and manually assign a unique color, but looking for a more ...
1
vote
1answer
1k views

Mapbox GL Js: what is the sourceID?

The documentation for Map.querySourceFeatures says it takes a parameter for sourceID - the ID of the vector tile or GeoJSON source. In their example, they add a source manually: map.addSource('...
1
vote
1answer
508 views

How Do I share a complicated style from one Mapbox Account to another?

I was looking at the scenic style, and I ended up copying it and modifying it in MapBox Studio. What happened is that I edited it in my personal Account, and not my Organization's account. How do I ...
1
vote
1answer
357 views

Label orientation in Mapbox Studio or Mapbox GL JS

Is it possible to make a label orientation a function of the shape of the polygon it is labeling? I imagine it's possible with Mapbox GL JS with https://www.mapbox.com/mapbox-gl-style-spec/#layout-...
1
vote
1answer
26 views

Is there a way to use formula in filtering a dataset in Mapbox Studio?

I am very new to Mapbox and was wondering if anyone knew how to filter a layer based on a formula defined for a field in that layer. For example, I have a 'depth' field in the data and I want to ...
1
vote
1answer
690 views

SVG icons not loading in mapbox

I uploaded a zipped shapefile to Mapbox with about 500 location data points and tried to display each of those data points with one of 60 different SVG icons. Those SVG icons have been loading ...
1
vote
1answer
394 views

Mapbox data not appearing a lower zoom levels

I'm styling a Mapbox map, and want to show mountain peak labels. I've created a layer for this, and in the "Select data" tab set the zoom range to 8-20. However on the map (and in the data select ...
1
vote
2answers
64 views

Making correct shapefile for Mapbox Studio in QGIS?

I want to create an age building map of my home city. I made decision to follow this tutorial: https://www.wired.com/2013/10/how-to-map-building-ages-in-your-home-town/. Building footprint shapefile ...
1
vote
1answer
187 views

Combining popup info from overlapping polygons in Mapbox Studio?

I'm trying to display popup information from overlapping polygons similar to this question, but instead of a click, I'm using the mouse over to identify my popup. In areas that have overlapping ...
1
vote
0answers
22 views

Changes to Styles not publishing

When adding a layer to a custom style and symbolizing the layer, the new layer doesn't seem to show up in the published style. We have waited a day to ensure the new tiles have had time to render. ...
1
vote
0answers
72 views

Converting CARTO data to MapBox?

Our map data is on CARTO. We have 170,000 polygons on CARTO representing zoning data. I tried to export this data as GeoJSON from CARTO. Then I tried uploading it to MapBox Studio. The GeoJSON doesn'...
1
vote
0answers
238 views

Third Party Vector Tile Source in Mapbox Studio

I am currently styling a map in Mapbox Studio (the web interface, not desktop application) and would like to add a layer that draws on vector tiles from a third party. When I select "New Layer" and ...
1
vote
0answers
84 views

Why does Mapbox Studio deform my polygon layers?

I'm uploading perfect squares to Mapbox Studio, either .shp or .geojson, and the resulting layers are stretched or otherwise deformed. Here are my polygons as seen in QGIS, EPSG:3857. They are all 50*...
1
vote
0answers
34 views

How to avoid clipped trash-labels in static image generated with MapBox

I choose "Generate static image" and select settings and area. All looks correct in the map. Then I enter the generated URL in a browser and look at the image; clipped trash-labels appear that wasn't ...
1
vote
0answers
71 views

Map tile creation

I am experienced in Leaflet and used Mapbox. But I think the time has come to have to bake our own tiles as the data has got so large. Basically we need to show building level data around the world ...
1
vote
1answer
487 views

MapboxGL Mapbox streets v7 street layer name

See this example: https://www.mapbox.com/mapbox-gl-js/example/color-switcher/ It styles the water layer and building layer with different colors. I was wondering is there a layer for the "streets" ...
1
vote
0answers
79 views

Switch language of labels in Mapbox studio based on users locale

Is there an easy way to change all the map labels to use the users locale instead of a fixed locale. In Mapbox studio the default layers are set to {name_en}. Does that mean that each langugage needs ...
1
vote
0answers
188 views

Making custom world map in Mapbox

I have .shp and .csv files for polygons that I have extracted from the georeferenced version of the pangea supercontinent. Link to the image which I have started from: http://4.bp.blogspot.com/-...
1
vote
0answers
132 views

What determines Zoom Extent in MapBox Studio

When uploading data to Mapbox Studio, a zoom extent is attributed to the dataset/tileset after processing. What controls this attribute? I've uploaded datasets that I want to use at Zoom Extent ...
1
vote
1answer
656 views

Features disappear from Leaflet after zooming in

I have a Mapbox studio template which already looks the way I want it to, but when I put it in a Leaflet app, after I zoom in past level 17, a lot of the features disappear. Zooming in inside Mapbox ...
0
votes
1answer
295 views

Mapbox GL JS - toggling 2 layers

I'm using Mapbox's Show and Hide Layer example where the user can toggle on/off layers, but seem to be running into an issue I can't pinpoint. What I did In Mapbox's example, I replace the first ...
0
votes
1answer
462 views

Mapbox GL control visibility on multiple labels using zoom attribute

I have a point dataset that is intended only as labels. Each label has a pre-calculated minZoom attribute to one decimal place, e.g. 6.1. While there are labels that share the same value, they vary ...
0
votes
1answer
113 views

Disable auto-compositing in Mapbox

I've got a style in Mapbox Studio which, like all styles, has composited my layers with Mapbox layers into a single set of vector tiles. I'd actually prefer my source data to be kept separate (so I ...
0
votes
1answer
21 views

How to manipulate mapbox symbol icons - MapboxGL.js

I have my own Mapbox style that I build in MapBox Studio. Now I want to allow my user to move poi_label symbols. How could I do that? I am following this example Create a draggable point and also I am ...
0
votes
1answer
112 views

MapBox Text Layer is adding multiple text instead of single centered text

I am trying to use data from my tileset (.zipped shape file) to show Text Label over my tile layer. However, instead of adding a centered label, it's adding multiple-texts sometimes. For example 38 ...
0
votes
1answer
239 views

Mapbox GL JS Toggle Layers default to “off”

Using Mapbox's 'Toggle Layer' example, how would I load the map with the "contours" and "museums" layers turned off? I want the layers to be turned "off" by default and have the user turn "on" the ...
0
votes
2answers
760 views

How to create a (offline) custom map from OSM data?

I am a beginner with GIS software, but know some basics of the OSM format. So I want to create a custom map for a game. I already created a heightmap from DEM data, but I need to color the water ...