Questions tagged [mapbox]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Open iFrame of Links in Map Feature Data in MapBox

I have a MapBox map of points, with a column called "iframe_link", where there's a different link for each point. I made an iframe that works for one page, but I want to open an iframe for each point. ...
0
votes
0answers
36 views

Mapbox GL filter features by ID? No unique Ids?

I am getting the the OSM Buildings (mapbox://mapbox.mapbox-streets-v8) via mapbox style. I want to hide some building within a BBox. Getting the corresponding features: var features = this.map....
1
vote
0answers
33 views

Mapbox choropleth map without the in-between colors?

I am new to Mapbox and love the simplicity of creating choropleth maps with stops, and while I prefer the way Mapbox colors each polygon relative to where the value falls between stops by blending the ...
0
votes
0answers
20 views

Provide MbTiles from GeoServer with mutliple vector Layers

Is there a way to serve pbfs tiles by loading a mbtiles file (multiple vector layers) into the GeoServer? For this we used before Klokantech TileServer Gl to offer big mbtiles (osm vector tiles) to ...
1
vote
0answers
130 views

Converting Vector Tiles to Raster Tiles

I have created a Vector tile server using TileserverGL/Tessera. I have exported a few MBTiles layers through Tippecanoe. I must have to use Multiple MBTiles. Then I have designed the map through a ...
0
votes
0answers
15 views

QGIS 3.4, Why doesn't MapBox look the same ion Map canvas as in Layout? [duplicate]

When I export, the basemap looks completely different. And then Exported as .jpeg: Have asked MapBox and they don't know.
0
votes
2answers
18 views

How to get the text labels in a raster tile in OpenMapTiles?

I'd like to use OpenMapTiles to generate training data for a text recognition task. So, I need to have the corresponding text labels in a raster tile, preferably with their location on the image, ...
0
votes
0answers
25 views

Auth Error Cascading MapBox WMTS with GeoServer

I'm trying to cascade MapBox WMTS with Geoserver using the following GetCapabilities url: https://api.mapbox.com/styles/v1/mapbox/dark-v10/wmts?access_token=pk. But Geoserver is getting a 401 {"...
0
votes
0answers
20 views

Create search control in Ionic v3 with Leaflet and Mapbox style

I'm trying to build some GIS mobile by Ionic v3 using Leaflet map and Mapbox style, but i can create search control to search some data from Mapbox style data that i created before. Here is my map....
0
votes
2answers
47 views

Getting MapBox basemaps into QGIS?

Have been playing around with this answer for a while and I can't get it to work in QGIS 3.4.4: https://docs.mapbox.com/help/tutorials/mapbox-arcgis-qgis/#add-mapbox-maps-in-arcmap No help on ...
1
vote
0answers
26 views

Blur all other area outside polygon in mapbox-gl

I am trying to create an effect like Can view it by adding feature from fiddle in http://geojson.io/#map=14/46.9597/7.1446 when added the feature in mapbox as geojson layer of mapbox-gl I am getting ...
0
votes
1answer
31 views

Mapbox Studio - View bridges at any zoom

I'm currently styling a map with Mapbox Studio. My goal is to get bridges over water to be visible at any zoom. I've tried several different approaches so far. The first and most obvious approach is ...
0
votes
1answer
52 views

Mapbox gl expression to get match in text field

I am trying to set one of the values from feature properties to text-field depending on a property "text-field": [ "match", ["get","label"], "L1","{...
0
votes
0answers
39 views

Filter geofabrik to Mapbox Style

GeoFabrik's extracts - as expected - have a massive amount of unnecessary information for most applications. Filtering this information is a critical step to decrease the map's size, especially for ...
0
votes
0answers
40 views

Changing color of GeoTIFF using GDAL and Mapbox?

I have a geotiff that I am importing to a mapping software that I want in the color pink. It is currently a white image, and I would like a GDAL option to change the color. I am using Mapbox, which ...
-1
votes
2answers
41 views

Error The sourceLayer parameter must be provided for vector source types

mapbox GL: I got this error Error: The sourceLayer parameter must be provided for vector source types. What is wrong?
0
votes
1answer
18 views

Change dynamically created layer's minZoom after render

I want to change the minzoom of dynamically created layer after the rendering. I tried couple of things: map.getLayer('my_custom_layer'); // this gets the layer map.getLayer('my_custom_layer')....
0
votes
1answer
41 views

Mapbox GL JS ImageSource wrong coordinates

I'm struggling to position an image correctly onto my map. I'm using one of the following URLs for my (live) image: https://maps.dwd.de/geoserver/dwd/wms?service=WMS&version=1.3.0&request=...
0
votes
0answers
32 views

Mapbox Unity SDK not getting all correct building IDs from Openstreetmap

I'm developing a location based game and using the buildings as a part of the element of the game. I'm using the Mapbox SDK 2.0 in unity. Now I'm noticing on some part of the maps are loaded, but ...
2
votes
1answer
58 views

Mapbox - Icon rotations in FeatureCollection

I'm displaying various ships on a map and I have made real sized polygons to represent them. These are not visible at lower zooms, so I wanted to also add icons representing each ship. The icon is a ...
0
votes
0answers
54 views

Mapbox/Leaflet - how to generate evenly spaced coordinates inside a polygon

I'm trying to generate an evenly spaced grid of coordinates inside a polygon. I know that I can generate random points like follows: const polygon = L.polygon([somePoints]).addTo(map); const bounds = ...
1
vote
1answer
88 views

Mapbox GL JS/Android: Draw User's 3D Vector Layer of Buildings

Here: https://docs.mapbox.com/mapbox-gl-js/example/3d-buildings/ It's possible to draw 3D buildings by taking advantage of extrusions, however the 3D vector layer source is the Mapbox's underlying ...
0
votes
2answers
53 views

Mapbox GL JS - Trouble Loading Data to Create Layer

I am new to Mapbox GL JS and working with starter code from "Create a Time Slider" below: https://docs.mapbox.com/mapbox-gl-js/example/timeline-animation/ To pull in the data, the code uses d3.json ...
0
votes
1answer
76 views

Difference between MapBox mbtiles and offline mbtiles for MapBox Android SDK

I know what have some difference between MapBox mbtiles and offline mbtiles for MapBox Android SDK. In offline mbtiles for SDK besides tiles contains: Style JSON. All fonts and icons associated ...
0
votes
1answer
208 views

Add custom maps in Mapbox as tile layer in Folium

I was trying to create a map in Folium using a custom map built tile layer created with Mapbox Studio (using 3 different datasets and a satellite basemap). I was wondering if there is a simple way to ...
0
votes
2answers
31 views

Adding GeoJSON tile set to an existing map

I'm confused on how to add my GeoJSON tileset to an existing map built with a default style. Do I add the GeoJSON by ID or by style? Here is what I'm working with now.l Added .geojson to Tilesets as ...
1
vote
0answers
87 views

Generate vector tiles for dynamic data

I am having around million features stored in PostgreSQl table (with PostGIS extension). I can generate vector tiles by performing below steps Generate GeoJSON from PG table using GDAL Generate ...
0
votes
0answers
19 views

Filtering Custom Mapbox style implemented in Android

I created Custom Mapbox styles by importing Tilesets containing custom point locations in it.I implemented the same style in my android app.I can access the data inside each points by using ...
0
votes
1answer
47 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
54 views

Location is not accurate when replicating an existing feature and zooming in

I am trying to resolve an issue with the accuracy of a selected point using queryRenderedFeatures. The accuracy is fine when zoomed out, but when zooming in it appears off. I am using the ...
0
votes
1answer
81 views

GeoServer Mapbox Vector Tile

I have a spring boot application which is making request to GeoServer to get a layer as a vector tile instead of the front end application making the request directly. The problem is I am not getting ...
0
votes
1answer
20 views

Mapbox API - Regenerate a Tileset after it's related Dataset has been udated

I'm using Mapbox's API to update the features on a dataset. However, I'm not seeing the changes automatically appear in the tileset that's been generated from it afterwards. Is there an extra step ...
0
votes
0answers
19 views

Bringing GeoServer data into Mapbox in Android

I have some point locations and polygons published in GeoServer. I am creating an Android Application to display those data using Mapbox. Is there a way I can do that? (I am completely new to this.)
0
votes
0answers
67 views

Mapbox GL - change all marker symbols based on zoom

I am adding markers from a GeoJSON one by one. myGeoJSON.features.forEach(function(marker) { var elem = document.createElement('div'); var text = var text = document.createTextNode(marker....
0
votes
0answers
101 views

MapBox SDK load local MBTiles

does anyone know how I can load local MBTiles from the device storage using the MapBox SDK? The vector Tiles come from this Website: https://openmaptiles.com/downloads/planet/ The same page offers ...
0
votes
1answer
107 views

Put custom XYZ tile in Mapbox

How to put custom tiles xyz raster files example : http://blablabla.bla/{z}/{x}/{y}.png I tried to insert it using : map.addSource('bla.tile',{ 'type': 'raster', 'tiles': ['http://...
0
votes
0answers
69 views

How to create a map-based survey with drag-drop capability?

I am an urban planning master student. I need to create a map-based survey for my research. The survey should allow users to drag some different points from the toolbar to the map showing next to it. ...
0
votes
1answer
175 views

Supplement Mapbox geocoder results with external geocoder API

I am still learning JS so please bear with me. I have built a Mapbox GL JS map and would like to supplement Mapbox geocoding results with those from an external geocoding API as many POIs I need are ...
0
votes
0answers
47 views

Decrease the volume of vector tiles generated by GeoServer

I've used GeoServer vector tile extension to produce PBF files from set of shape files. The problem is the generated MVTs from GeoServer have larger volume in comparison with Mapbox ones. How can I ...
1
vote
0answers
92 views

Mapbox drawing with snap to grid

I'm using Mapbox for a web project and would like to have a drawing tool for closed polygons where the drawn line is always snapped to a grid. Specifically, I'm using a 100m global grid (MGRS) and ...
0
votes
0answers
106 views

How do I get a polyline Displayed in Mapbox Visual for Power BI?

All of the Mapbox Examples involve point layers where you add a csv and drop lat/lngs into power bi. I have also tried creating a custom map in studio and adding and styling my polyline. However ...
0
votes
0answers
299 views

Adding select option menu to Mapbox map and filtering data source?

I'm attempting to add a drop down select menu for # of bedrooms to a mapbox map. The data source that I'm attempting to filter on is a geojson data file. I setup window onchange event listener ...
0
votes
0answers
36 views

How to pass local storage item (address) from one page to another page with a Mapbox map on it?

I have a simple text submit field on one page. The goal is to have users type in a location and hit submit then go to a landing page with a Mapbox map and have it center or zoom to that location. Here'...
1
vote
1answer
95 views

Does the PostGIS ST_AsMVTGeom function perform geometry simplification on the fly?

PostGIS now comes with a set of functions that allow to generate Mapbox Vector Tiles. Among them, the ST_AsMVTGeom allows to transform a geometry into the coordinate space of a tile (typically ...
0
votes
0answers
70 views

Map with clickable polygons to extract properties and fill a table column using HTML/CSS

I created an interactive map from Mapbox with a vector file from a tileset. In addition to that I added a slidebar in the left side of the map and inside of the slidebar a table. With a popup when I ...
0
votes
0answers
48 views

Display a popup with the information arranged in tabs using Mapbox GL JS

I'm creating a map in the Mapbox and I need When you click a point on the map the information is displayed in a popup. So far I can already do following this tutorial: https://www.mapbox.com/help/...
4
votes
0answers
87 views

Fixing buildings that do not appear in 3D using Mapbox gl js?

I'm trying to adopt this Display buildings in 3D example, but I found out that in my city (Minsk, Belarus) some buildings look flat like this: The coordinates of this particular building are 27....
1
vote
2answers
217 views

Get GeoJSON Features using Mapbox?

I'm using Mapbox to create webmapping, I want to get GeoJSON Features. I tried map.queryRenderedFeatures but it returns array empty. there are my code: map.on('load', function(e) { map.addSource("...
0
votes
0answers
83 views

Merging two MapBox MBTiles files using javascript/typescript in Cordova?

I am using the MapBox-GL-JS API to render maps in a Cordova hybrid app that runs on Android and iOS. I have serving vector tiles locally from the phone working. In my use case, I would like users to ...
0
votes
1answer
67 views

Can't Add Mapbox hosted DigitalGlobe Basemap in QGIS 3.2

I'm having trouble viewing a Digital Globe base map in QGIS. I'm following Mapbox's instructions from their API https://mapsapidocs.digitalglobe.com/v2.0/docs/tiles (bottom section that describes ...