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

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

0
votes
0answers
27 views

Mapbox GL JS - disable hover if toggled layer is active

I have a layer in my map that is always visible and when my cursor hovers over the layer, data populates in an info box. I'm looking to disable his hover over effect on this layer when a secondary ...
0
votes
0answers
5 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
35 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
50 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
13 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
36 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
44 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
34 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
33 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
38 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
53 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
30 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
144 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
38 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
25 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
53 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
46 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
54 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
120 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
37 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
42 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
24 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
66 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
69 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
100 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
56 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
81 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
64 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
61 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
40 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 ...
3
votes
1answer
108 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
80 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
21 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
92 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
91 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
49 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
146 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 ...
0
votes
1answer
117 views

Display and style a single US state in Mapbox/OpenStreet?

Ok, be gentle. I'm self-taught and don't know the 100% technically correct way to phrase my question.. :) My goal is to create a Mapbox style that shows only the state of Virginia, and any standard ...
0
votes
2answers
468 views

Mapbox + JavaScript (Remove layer)

The attached script was created for the geojson file I created that works properly. <script> $(document).ready(function() { $(pz).click(function() { L.mapbox.featureLayer('...
0
votes
0answers
249 views

mapbox set fill-color dynamcally

I'm using the mapbox library and I have this function that processes a response of type json, but I want the color of every single feature to be dynamic based on a property of the feature itself: ...
0
votes
0answers
117 views

Mapbox GL JS Marker Collision?

I want to make it such that my markers at higher zoom levels are replaced by one marker. This is similar to the cluster function, which I have also not been able to make work either. I believe that ...
0
votes
0answers
126 views

Popups offset from points Mapbox GL JS

I've been playing a lot with mapbox for mapping some data of mine. I have created a map that is heavily borrowed from the original mapbox sweetgreen tutorial here. However, now that I am almost ...
0
votes
1answer
265 views

Mapbox GL JS set Max Zoom level not working?

I cant seem to get my map to set a max zoom level. Here is a snippit of my code - var map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/cdickinson11/cjg49l1f305ou2rls3hd65a6s', ...
0
votes
2answers
155 views

MapBox or Google Maps Static API: Extent or bounding box of image?

I'm using the MapBox or Google Maps Static API to get map images. I understand that the centre of the image is specified in terms of latitude and longitude, but is there any way to either specify or ...
0
votes
1answer
299 views

How to add links to popups in Mapbox GL JS

I have managed to make a map w/ styled pops and such. However, what I am trying to do now is to have it such that the links inside of the popups connect directly to websites. If possible, I would like ...
1
vote
1answer
740 views

How to add CSS styling in Mapbox GL Popup?

I am aware this is similar to many other questions, but I have been unable to determine how to add the correct code to style my popups in mapbox-gl. I'm very new to CSS, Mapbox-gl, and coding in ...
0
votes
2answers
47 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
0answers
29 views

Hosting a FEMA floodmap to a subset of the layer [duplicate]

Going to try this one more time as I think the last time I posted this I was unclear. I have this map here, that is a combination of some ArcGIS analysis and written in Mapbox GL JS. Basically, it is ...
0
votes
1answer
123 views

How to show Ocean Contours on Mapbox Style?

My users would like to be able to see the ocean contour lines as they zoom in. But mapbox outdoors style only seems to provide contours for land. I'm not a GIS pro but a web dev, so please keep that ...
0
votes
1answer
331 views

How to filter layer features by value?

I use Mapbox GL JS for visualization massive dataset. And now I try to create several checkboxes for filtering some features of a tileset by its value. Dataset was uploaded to Mapbox through Mapbox ...