Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mapbox]

A company that creates different tools for styling and deploying maps as well as providing services for hosting maps

0
votes
1answer
25 views

What do the heatmap layer settings numbers in mapbox stands for?

I have layer settings of mapbox heatmap as follows from this official site: What do these numbers stand for (the first, the second, the third, the fourth number) and what are their limitations please?...
0
votes
1answer
24 views

Change Leaflet Map Layer/Terrain Style

I'm going to show KML file using Leaflet's plugins named Omnivore KML (https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-kml/) I've read the tutorial, implement the source code, and it ...
0
votes
0answers
18 views

Mapbox multiple filters to layers

I'm new to Mapbox GL and want to understand how i would go about the following; I have 5 principle layers (from the same source, all vector tiles from Geoserver) which will only be drawn in ...
0
votes
1answer
16 views

Dynamic grid subset bounds

I have two instances of Geoserver running. One on a local machine (version 2.14.0) on Oracle 1.8.0_161. The other on a server (2.13.2) with Oracle 1.8.0_181. On the server version when I look at ...
0
votes
1answer
16 views

Set border width and color in Mapbox GL

I'm working on an application based on Mapbox GL, I need to give to the user the opportunity to set the width and the color of the borders of polygons but I can't find the right GeoJSON proprieties to ...
0
votes
0answers
12 views

Mapbox GL Expression to filter array in property

I have GeoJSON Feature properties that look like this: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "id": "someID", "...
0
votes
1answer
36 views

Can't display vector layer using L.vectorGrid.protobuf

I use mapbox/tippecanoe to create .pbf tiles. But when I try to display them using L.vectorGrid.protobuf nothing is rendered, although I see that proper .pbf files are requested and downloaded by ...
0
votes
1answer
33 views

Mapbox.js (or GL) with Openlayers

Our initial need is to have a GIS tool that overlays images on a map which is not facing north. In our research we have seen that only Mapbox and Openlayers support this. Along with that we want ...
0
votes
0answers
17 views

Extract geometry from TileJSON map

I would like to get to know where the pipeline data of http://mapa.cartocritica.mx/ is hidden. The map is using Leaflet and json tiles from GIS Cloud like http://tiles.giscloud.com/t/1524762449/...
1
vote
2answers
38 views

Seeking world map (epsg 3857) tile boundaries in shapefile?

I am working on manipulating data and I need a shapefile of world map tile in each zoom level. It could be better if it is in polygon but line is also fine. I tried to find the file using as many ...
1
vote
0answers
27 views

Remove map layer when animation restarts Mapbox gl

I am having issues in 'clearing' the map from lines when the user clicks on an element. The idea is to switch between different city-animations on click. For each city, a new geojson is called. The ...
0
votes
1answer
62 views

Mapbox WMTS layer in QGIS poor print quality

I've added a Mapbox WMTS layer to my QGIS project. However when I use the print composer and export my map the result is blurry / not sharp. The image in the print composer itself is sharp, it is ...
0
votes
0answers
21 views

Show / Hide GeoJSON Layers with Mapbox.js

I would like to display two GeoJSON layers on the map using the drop-down menu. In creating the right script I would like to ask for suggestions. Link to my code on JSFiddle
0
votes
1answer
100 views

OpenLayers 5 Vector Tiles Styling and ESPG:4326 projection issues

I have a OL5 map using a projection of EPSG:4326. I am adding a Vector Tile layer with a projection of ESPG:4326. I am using Open Layers Mapbox Style (https://github.com/boundlessgeo/ol-mapbox-style) ...
0
votes
0answers
27 views

Data-driven cluster colour with mapboxgl

I am trying to draw circle which colour depends on a "group" attribute in my geojson. I followed a simple example with these colours: map.addSource("data", { type: "geojson", data: url, ...
0
votes
1answer
54 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
0answers
73 views

Getting started generating vector tiles

I am working on an app that displays a nice map. Currently, we use raster tiles, but we'd like to switch to vector tiles. We want the freedom to add all the information we want, so we want to create ...
0
votes
0answers
51 views

Adding layers programmatically to Mapbox, (via Python or Swift SDK)

I have been uploading various .GeoJSON files (--> tilesets) on to Mapbox via the Python SDK, which can be easily displayed on the map by going into Mapbox Studio and adding layers with a given file as ...
0
votes
1answer
51 views

Black box around raster layer retreieved from Mapbox in ArcGIS online

I manage a mapping system for the Pine Ridge Reservation in South Dakota and am trying to retrieve a raster layer but I keep getting this expanding black background/box. When I open the mbtiles file ...
0
votes
1answer
55 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
0answers
52 views

Combining python and JS (mapbox) for interactive rendering

I plan on visualising a huge dataset (probably around 20-30GB of data) using Mapbox in order to have a very nice map visualization. However I would like this visualization to be interactive and I am ...
0
votes
0answers
93 views

Mapbox with python: show a 3D globe

I wanted to know whether it was possible to get a 3D globe view with Mapbox when using python. I've seen that Folium does just that, and wanted to achieve the same thing with Mapbox since Mapbox would ...
1
vote
1answer
56 views

How do I get current map rotation value in MapBox?

I have custom drawn icons that I am rendering on top of a MapBox instance at angles that correspond to their direction of travel, but things start to look at little weird when you right-click and ...
1
vote
1answer
89 views

How to get vector tiles to self-host

The question Self-hosting Mapbox vector tiles pointed to the ability to self-host MBTiles formatted tiles (an open specification, the MB is not related to Mapbox I don't think). The answers to the ...
0
votes
1answer
59 views

WMTS Error when adding Mapbox Layer to QGIS: Failed to download capabilities?

I've tried this a few different ways and can't quite get it to work using QGIS's add WMTS layer tool. The URL loads fine in a browser but won't download as a tile in QGIS. I don't have that good an ...
5
votes
1answer
344 views

Creating Vector MBTiles?

I am searching for a tool to generate vector-tiles that I can then display using the Mapbox Map-View. We currently have a postgres database with all of our data. What is the best tool to generate ...
1
vote
0answers
81 views

MapBox GL JS - Markers or Layers

Ok. I've a server which send me a geojson data, according to the specifications. I'm using mapbox gl js, and not sure what type of method to choose: 1) creating a layer with geojson properties of ...
0
votes
0answers
59 views

Mix raster and vector tiles with tileserver-gl

I am quite new to vector tiles. Up until now my app only used our own self made raster tiles. Now we'd like to have vector tiles as well, but still keep our high quality hill shading as vector. We'd ...
1
vote
1answer
61 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
54 views

Looped query rendered feature function for a set of intersect points upon a GeoJSON building layer in Mapbox GL JS

I'm currently using mapbox gl to visualise and analyse a GeoJSON layer of buildings. My current aim is to develop a function that will use the mapbox draw functionality to draw a line (using the ...
0
votes
1answer
81 views

Getting width of road segment given its end points using Leaflet?

I want to highlight a road segment on a Leaflet Map. I have the coordinates of the end point of the road segment, so could plot it as a linestring. But the problem is how can I get the width of the ...
0
votes
1answer
277 views

Is Leaflet Framework free?

Is Leaflet 100% free? if you go to doc example , you will see : var mymap = L.map('mapid').setView([51.505, -0.09], 13); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?...
0
votes
0answers
57 views

Mapbox minimum zoom extent

I uploaded a custom shapefile (converted to geoJSON) using the mapbox python SDK and visualize it in a Jupyter Notebook using the MapboxGL python module. After I successfully upload the GeoJSON file ...
0
votes
0answers
55 views

Consume ArcGIS REST API in MapBox's React Native Library

I’m currently working on a weather app built in React Native. In the process, I’ve come to learn a lot about mapping technologies and GIS in general. My immediate goal is to display radar imagery in ...
0
votes
0answers
27 views

Display big shp files from geoserver on Mapbox [duplicate]

I need to display large SHP files served as tile layers by Geoserver on Mapbox. When my SHP files get bigger, Geoserver crashes cause it's running out of memory. I wasn't working with Geoserver in the ...
0
votes
1answer
119 views

How to find layer names within vector tiles, without TileJSON or the .mbtiles file?

I'm trying to use an endpoint in Mapbox vector tile format. I can access the .pbf's ok, but there's no documentation or TileJSON endpoint. How can I find the names of layers that exist within the ...
1
vote
1answer
87 views

Mapbox Vector Tiles dropping features across tile boundaries

I'm currently working on a project that involves the creation of vector tiles from geojson files. These vector tiles are then displayed using Mapbox GL JS. Recently, we've ran into an issue where ...
0
votes
1answer
167 views

Mapbox GL JS - Adding variable dependent images to popup

I've been working with popups in Mapbox GL JS, using HTML and want to be able to use variables within the Mapbox dataset, so different popups show different images, depending on attributes in the ...
2
votes
2answers
83 views

Natural earth tiles are not detailed enough

I am new to GIS, but I have been using the following set of tiles in some of my D3 applications: .tiles.mapbox.com/v3/mapbox.natural-earth-2/ The issue with these tiles is that they are not too '...
0
votes
1answer
116 views

Creating an XML file using a Mapbox TMS

I'm looking for a way to display a Mapbox map in QGis in so it's recognized as a raster layer. I've already tried this, and I succeeded adding the TMS layer via TileLayer Plugin, using my mapbox url ...
2
votes
1answer
78 views

geojson file not interpreted properly (wrong format?)

My problem: I am using a web application that uses geojson file to define point data - here is the application: https://smartcville.com/racks.html I would like to use the skeleton of the ...
0
votes
0answers
95 views

Render OpenTopoMap (or similar) on MapBox?

Is it possible to convert the OpenTopoMap mapnik XML file into something which can be used for rendering via the MapBox API? Perhaps convert to CartoCSS via MapBox Studio Classic? I am looking for a ...
0
votes
1answer
42 views

Workflow to create global mapbox tileset

I am in process of creating a hiking map rendered from OSM data using Mapbox. It works quite fine already, however some data are missing in the Mapbox Streets V7 datasets, namely: bus stops power ...
4
votes
1answer
167 views

Rasterio: Use case for src.meta vs. src.profile when reading and writing rasters?

When I read a raster in with rasterio (version 0.36.0) in Python, I can call up the metadata in two ways: src = rasterio.open(my_raster) src.profile {'affine': Affine(1.0, 0.0, 401900.0, 0.0, -1.0, ...
0
votes
1answer
101 views

Print Mapbox XYZ layer using Mapfish/Geoserver

I'm having trouble getting a mapbox XYZ layer to work with the Geoserver Print plugin - I just get the following error: spec.layers[0].baseURL has an invalid value and a bit further down: Illegal ...
0
votes
1answer
28 views

MarkerSymbolizer of MultiLine not orientated in line direction (Mapnik, Mapbox)

What I want: drawing orientated arrows on one-directional streets What I tried so far: MarkerSymbolizer: However, the arrows are all looking towards the "east" (right of the screen) instead of the ...
0
votes
0answers
118 views

Vector Tiles: Considering a rule, change each building color of Buildings layer

I'm consuming a Mapbox hosted map with Mapbox GL (but if needed, I can use leaflet or whatever) that has the standard Mapbox street layers including OSM Buildings layer plus a custom layer uploaded by ...
0
votes
0answers
131 views

How can I make Zoom-slider instead of + or - button in MapBox?

I want to make Zoom-slider instead of + or - button in MapBox: See blow given link. https://www.mapbox.com/mapbox-gl-js/example/navigation/
0
votes
0answers
56 views

Using OSM Liberty on OpenLayers?

I have seen there is an free basemap from OpenStreetMap called OSM Liberty which I can to apply styles (from Maputnik). Can I use this on my OpenLayers map as a layer? I want a free customize map in ...
0
votes
1answer
218 views

Local GeoJSON Access Mapbox GL JS / Online GeoJSON Updating?

I've seen a lot of similar questions floating around but they have not really addressed what I am looking for. I am a novice at web development. I'm attempting to change my project so that my ...