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
0 answers
14 views

3D terrain in Mapbox using Python

I am connecting my Dash output to a custom-styled mapbox style. In my custom mapbox style, I have enabled 3D terrain which gives super cool insights and it allows you to tilt the map so that you can ...
user avatar
  • 31
0 votes
0 answers
9 views

How to ascertain the date of a tile, harvested from mapbox

I am harvesting tiles from the mapbox API and want to know from which date the image acquisition for this tile actually is. So far I have been able to use this https://api.mapbox.com/v4/mapbox....
user avatar
  • 276
0 votes
0 answers
12 views

How to know if a geocoded search is a city, village or town

I'm using the MapBox Geocoding API to allow users to search for cities, villages or towns. Now I need to know if the user's choice is exactly a city, a village or a town. I'm currently using MapBox ...
user avatar
1 vote
0 answers
28 views

How to configure Mapbox Vector Tiles (pbf files) cache in NGINX

I am using a Geoserver to serve Vector Tiles which are used by Mapbox JS Clients. To reduce the requests to the Geoserver I want to implement a caching functionality. As webserver I use a NGINX. I ...
user avatar
1 vote
0 answers
39 views

How to properly superimpose weather radar data on map

I am trying to superimpose weather radar data onto a map. It needs to be done programmatically as this will be part of a program (python) that displays weather data. It is not browser based, and ...
user avatar
  • 11
1 vote
0 answers
18 views

How can I configure zoom extent in Mapbox when generating raster tilesets from GeoTIFF?

GOAL I'm using Mapbox to generate raster tilesets from raw GeoTIFFs. The GeoTIFFs have a resolution such that a single pixel represents roughly a 5km x 5km square on the map. I hope to generate and ...
user avatar
0 votes
1 answer
29 views

Having trouble with Mapbox Isochrone FeatureCollection return type

I'm making a call to the Mapbox Isochrone API to obtain a FeatureCollection with this code: string getIso = lng.ToString() + "," + lat.ToString() + "?...
user avatar
1 vote
0 answers
19 views

Django Leaflet Back-end Service for Map Screenshot

I am developing an application in Django using leaflet, i have a questionnaire that when user fill they type the address, and then using google address api, i fetch the address details e.g. lat/long. ...
user avatar
0 votes
1 answer
73 views

How to add image in Mapbox with turf.js grid

I divide the map into squares with Mapbox-GL and trufjs and the grid is created. I want to select some of these frames with the mouse and add pictures to the selected frames. The image should be above ...
user avatar
0 votes
0 answers
186 views

Mapbox layer doesn't update on variable change | react-map-gl

I have a map with a custom layer. Right now I have a problem that when points state get updated the map doesn't rerender. How can I force a rerender of the map layer when points changes? Codesandbox: ...
user avatar
  • 51
0 votes
1 answer
16 views

Adding MapBox WMTS to MapInfo Pro Zoom Error

Not sure what's causing this problem, but I cannot see the tiles being loaded on my MapInfo. I know that the API call to the server is working, but it cannot fetch tiles because of the zoom level? I'm ...
user avatar
0 votes
0 answers
39 views

Update tiles Mapbox

I am trying to manually update a tile with Mapbox I have: map.on('load', () => { map.addSource('CA_WMS_SRC', { 'type': 'raster', 'tiles': [ 'https://...
user avatar
  • 1
2 votes
1 answer
48 views

Select records by area and update value of CSV

In my little project I have a CSV with more rows than I can count, and I am trying to find a tool that can do the following: Plot each record on a map using their lat lon coordinates, interactively ...
user avatar
0 votes
0 answers
50 views

Adding a lot of georeferenced images makes mapbox very slow

I have a map for which I have to add a lot of (about 150) images on a map. I've seen their example Add a raster image to a map layer, which shows that you need to add a source with coordinates, then ...
user avatar
  • 189
0 votes
0 answers
51 views

How do I change the camera speed in MapBox GL JS?

When you press the "up" arrow on the keyword, the camera moves "forward" with the current angle and height, etc. This makes it look sort of like a helicopter or airplane looking ...
user avatar
  • 9
0 votes
0 answers
54 views

Programmatically resolving addresses with the Mapbox Geocoding API?

I'm creating a dataset of select industrial buildings in the US and Canada using Mapbox Studio. I noticed the Geocoding API is a bit out of date. A screenshot is the best example I can think of. ...
user avatar
1 vote
0 answers
37 views

Using QGIS to filter some levels on the Ordnance Survey boundaries data

I am working on a full UK map and I need the postcode level 1 and 2 (areas and districts) and while I have gotten the postcode level 1 data, I need the postcode level 2 (postcode districts) data that ...
user avatar
  • 11
0 votes
1 answer
79 views

Using several sources layers from the same tileset in Mapbox

I have a tileset where I am adding several layers, I want to call them so i can organize the order I receive it. I want first to show source layer1 and then underlaying source layer2. I have tried ...
user avatar
2 votes
1 answer
149 views

Map not showing behind polygon

I have inserted polygon data in POSTGIS using an SQL query via dbeaver. However, when I view the value tab, only the polygon is showing without the map whereas when I am seeing Multipolygon in the ...
user avatar
  • 47
1 vote
0 answers
28 views

ArcGIS: restrict FeatureLayer SQL access based on token

I am working on a web app using the ArcGIS API for JavaScript that fetches a FeatureLayer from ArcGIS Online. The web app has users with many different permission roles and I want users to be able to ...
user avatar
1 vote
1 answer
188 views

Mapbox - checkbox filters work in modal but not div

In my first map (https://codepen.io/flyinginsect2/pen/oNoQvNQ), the checkbox filters in the modal popup seem to work just fine. However, when I move the filters to a new div (https://codepen.io/...
user avatar
  • 145
0 votes
1 answer
254 views

Mapbox - combining multiple checkbox filters

I am creating a Mapbox map in which I want multiple checkboxes to create an 'and' filter on one layer. Here's the checkbox parts of my code so far: <input type="checkbox" id="srBox&...
user avatar
  • 145
0 votes
0 answers
563 views

Problem plotting geometries in Choropleth map using plotly

I am trying to plot census level data and geometries to plotly mapbox. While I am able to plot the base map, the colored polygons used to represent spatial data are missing. import pandas as pd ...
user avatar
  • 345
0 votes
0 answers
30 views

Error attempting to read GeoJSON file in Flask Application

I have a Flask Application in which I am rendering scatter and choropleth maps using MapBox. For choropleth map, I need the census geometries. This is a fairly large GeoJSON file ~150mb. When I ...
user avatar
  • 345
0 votes
0 answers
44 views

Lines, styled as arrows, to qgis2web

I have the feeling that this question is somwhat self explanartory. But I still wanted to ask. So I draw a simple line with QGIS. I then render it as an arrow and make the beginning a little thicker. ...
user avatar
  • 707
3 votes
1 answer
57 views

Convert Mars TIFF file on simple cyllindrical projection to a GeoTIFF - SOLVED

I have rendered a TIFF file, which is on the Mars2000, simple cyllindrical projection format. I want to upload the file to MapBox, and thus need a GeoTiff file. How can I use GDAL, or similar, to ...
user avatar
  • 51
0 votes
0 answers
262 views

Fit label text-size within the polygon Mapbox GL JS symbol-layer

I want to make the text-label in the symbol layer fit within the polygon. change the position and size of the text-label according to zoom and polygon. It is required for mapbox gl js. const map = new ...
user avatar
0 votes
2 answers
92 views

Extract xmin/max, ymin/max for a tile from Mapbox API

I am trying to harness the power of the Mapbox API (https://docs.mapbox.com/api/maps/raster-tiles/) to download some tiles. Easy enough. I also though need to download some metadata about these tiles, ...
user avatar
  • 276
0 votes
1 answer
155 views

Mapbox Static Images API tile positioning for perfect edges

I'm working on a Python project that builds large hi-res images using tiles retrieved from the Mapbox static images API using customized styles designed in Mapbox studio. https://docs.mapbox.com/api/...
user avatar
  • 11
0 votes
0 answers
28 views

Can MapBox GL JS somehow be controlled with a gamepad instead of keyboard + mouse?

It strikes me as I'm screen-recording my fullscreen MapBox GL JS application, trying to make smooth and pleasant zoom-ins and rotations to "show the area" to others, as a video, that ...
user avatar
1 vote
1 answer
83 views

Rotated image in Mapbox are skewed

I have a dji photo that I want to place at the exact coordinates in Mapbox. But when I rotate the image It become skewed. I saw a post that I solve is problem but didn't work for me. ...
user avatar
0 votes
0 answers
417 views

Updating cluster layers dynamically in Mapbox-gl-js

I use Mapbox GL JS to draw some points on the map. I also use a cluster to organize the points. My source code is almost the same as official example in their documentation. The only difference is I ...
user avatar
  • 1
2 votes
0 answers
84 views

Can't reference an MVT layer from Mapfile

I'm trying to add an MVT layer to my Mapfile, but it doesn't work and I ran out of ideas. Some info about the layer I'm trying to add: https://support.regrid.com/articles/using-the-tileserver/ This is ...
user avatar
0 votes
1 answer
220 views

Add/remove radius circle after fitting map to radius with Mapbox

I am trying to add a range slider to zoom in and out of a Mapbox map to a radius in miles. I have the map and the slider working and I can sort of zoom in and out of the map by getting the bounds of ...
user avatar
  • 13
0 votes
0 answers
40 views

OSM route inside campsite

I have a problem that I want router to route only inside campsite if starting point is inside campsite, not around campsite as the example in the image. Is there any way to do it? If it is important, ...
user avatar
  • 1
2 votes
0 answers
60 views

Detect land type and adjust polygon area - Python

In my application, I have some code that draws a circle around a point on map. I am using Mapbox to render the map and a python function that takes a geopandas DataFrame, lat, longs, radius as ...
user avatar
  • 345
1 vote
0 answers
255 views

Setting map view with 50 miles of radius of marker with mapbox

I have a mapbox map with a marker and I want to add a radius around it, say 10 miles. Now I can add a circle to the map, even though I do not want to, but I cannot get it to fit the screen. I have ...
user avatar
  • 13
1 vote
1 answer
283 views

Determine the coordinate system used in GeoJSON file?

I'm fairly new to geodata. I got some data (coming from mapbox api from scraping a website) with all geometry points. I'm trying to convert these points to long/lat so I can use it in my project (and ...
user avatar
  • 11
-6 votes
2 answers
278 views

Measured grid in Mapbox

I’m trying to create a reference / measured grid in Mapbox so that each grid tile represents a consistent square shape. I know this square shape might not represent a consistent area. Using long and ...
user avatar
  • 35
0 votes
1 answer
32 views

User location on inaccurate image map

I am looking to overlay a PNG map image on top of a mapping service such as MapBox or Google Maps. The map PNG is a custom design to suit the application but is not geographically accurate (not too ...
user avatar
  • 1
0 votes
1 answer
42 views

Interpreting unknown symbol on MapBox GL JS map

In my MapBox GL JS map, I've encountered this weird, thick line that goes all over the place: It doesn't seem to be a railroad, or a road of any kind. Possibly some kind of border marker. But I ...
user avatar
0 votes
2 answers
195 views

Georeferencing raster image in JavaScript

I was wondering if it is possible to georeference raster image using some kind of JavaScript lib or external API or other kind of service. My project is written in React with Mapbox GL JS. I wanted to ...
user avatar
  • 33
0 votes
1 answer
345 views

Mapbox popups - How to query only the top-most layer when there are multiple overlapping layers?

I have a Mapbox map with one line layer and multiple point layers, as in the screenshot below. Each has its own popup: map.on('click', function(e) { if(!e.originalEvent.defaultPrevented) { ...
user avatar
0 votes
0 answers
37 views

Older mapbox.js tilesize with non-powers of two sizes: what does that mean? (and what to do for Mapbox GL?)

I'm trying to update some (very) old mapbox.js code (0.6.7 - pre Leaflet!) to something more modern, and I'm confused about how it was handling tilesizes. The code uses Mapbox custom raster tilesets ...
user avatar
0 votes
0 answers
95 views

My Mapbox Tileset is not shown to full zoom extend (zoom 22). How can I create an overzoom for my map data, which is set at maxzoom 13?

I created a Mapbox Tileset with Map Tiling Service (MTS). In the recipe.js I set the maxzoom value of the data at 13 (1m resolution). The data is only shown till zoom level 13 and disappears at zoom ...
user avatar
1 vote
1 answer
31 views

Filtering substring from a geojson string column in Mapbox GL JS

I am trying to filter my Mapbox map based on a substring filter. I have a column called COUNTY which has strings like Kern,Ventura,Los Angeles. My current code is as follows - map.addLayer({ id: &...
user avatar
0 votes
1 answer
282 views

How to change the icon image when clicking off the symbol layer

In Mapbox, I can successfully swap marker images when clicking on a marker. However, I can't get it to change back when clicking an empty space on the map. This causes the pop-up to close, but the ...
user avatar
  • 1
1 vote
0 answers
43 views

How to show attribution above Bing max zoom level where allow tile image stretching?

Currently some of location Bing provide image for stretch after crossing max zoom level 21 as per Bing metadata. Wanted to show attribution above max level where Bing tiles able to stretch it out. My ...
user avatar
0 votes
2 answers
271 views

Converting SLD to MapboxGL style

I'm struggling to convert SLD (from Qgis) to MapboxGL style format. Does anyone have any ideas if this is possible?
user avatar
  • 129
0 votes
1 answer
92 views

Stream GPS coordinates using D3 and Mapbox

I’m currently working on a project to stream GeoJSON data using D3 and Mapbox. But, I wasn’t able to plot my data based on their types. Basically, I have three different types of GPS data, when using ...
user avatar

1
2 3 4 5
17