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
1
vote
0answers
12 views

MapBox GL JS - How to set polygon Z-ordering within a layer

I would like to set the Z-ordering of the polygons on my MapBox GL JS vectortile layer. There is a "category" attribute with values: 1 and 2. Polygons with category 2 should be on the top. ...
1
vote
0answers
22 views

PostGIS St_AsGeoBuf: how to handle Boolean type?

I am using ST_AsGeoBuf function in a query like that one: SELECT ST_AsGeoBuf(t.*, 'geom') FROM table t After decoding the geobuf to a legible JSON the boolean types show up as strings with values &...
0
votes
0answers
10 views

Drawing custom markers on Mapbox

I'am using mapbox-gl-js draw, and I need to draw custom markers inside the map. I can't find anyway in the documentation that talked about this issue. Work around is needed, any ideas?
0
votes
0answers
22 views

Tippecanoe optimization and still retaining filtering ability

I'm trying to optimize our displayed vector tileset in symbollayer (In the mobile SDK). If I'm uploading the geojson as it is, I'm getting very bad performance for a number of 3500 features (Only ...
1
vote
1answer
17 views

MapBox GL - filtering GeoJSON by feature index

I'm using MapBOX GL JS with GeoJSON data source. The content of the GeoJSON is changing dynamically. It is a FeatureCollection which contains polygons. I would like to update my MapBox data source ...
2
votes
1answer
12 views

Mapbox select road feature, how to return uncomposited features?

I'm trying to build an interface in which the user can click to select a road. You can see a simple version here: https://codepen.io/lizzie-malk/pen/eYBWbjm What I have noticed is that the features ...
0
votes
0answers
13 views

import .mbtiles[raster+png/jpg] from device can't view in Maptiler App

I am working with maptiler application in android[Kotlin+MVVM]. everything working fine except loading local .mbtiles map file. when I download a .mbtiles file from internet and load in to my android ...
0
votes
1answer
19 views

Mapbox GL JS - Is there a way to specify a different zoom level for mobile devices?

With Mapbox GL JS, is there a way to specify a different zoom level for mobile devices? I found two examples, both from the older mapbox.js (links below), but I can't seem to translate them to GL JS ...
0
votes
0answers
23 views

Open Source Desktop Tool to Style MapBox Vector Tile Data for MapBox

I have MapBox Vector Tile data in the form of mbtile files that needs to be styled for MapBox. Need a desktop application to work with data locally that will allow the style to be saved locally as ...
2
votes
1answer
34 views

Exporting a group of raster layer bounds from QGIS to a GeoJSON

I have a QGIS project with a lot of raster layers; and I want to build a Mapbox map based on this project; that would display those images on a website's map. I need a way to export a group of raster ...
0
votes
0answers
4 views

Smart paint settings for mapboxGL layer

I'm adding a vector layer that is referencing a mapbox:// url that the user has created via an import. As such, I will not know in advance what kind of features are inside that import e.g. polgyons, ...
2
votes
0answers
15 views

Tippecanoe vector tiles duplicating over certain graticules (equator, -90)

I have large geojsons at different scales that I have converted to tiles with tippecanoe. My ultimate goal is for a user to be able to draw a box around the tiles and calculate mean attribute values ...
1
vote
1answer
30 views

Converting ArcGIS / ESRI PBF to GeoJSON

Anyone able to convert ESRI PBF into anything "human readable"? For example GeoJSON? The ArcGIS dev doc is not very concrete here: The PBF format is binary and is thus smaller and faster ...
0
votes
0answers
25 views

Choropleth Map: data source by location name (without geometries)

I am interested in creating a choropleth map using Mapbox, while the data source I have in hand is built only from the location name and the "intensity" value. i.e.: [{"country": &...
0
votes
0answers
14 views

Get satellite image in GeoTiff format with a specific zoom [duplicate]

Hello I can't find a simple solution to the following problem. I need to extract at a particular zoom level (17) and resolution (1280x1280) satellite images in GeoTiff (.tif) format that cover my ...
0
votes
0answers
24 views

Extend Leaflet JS Polygon by x kilometers

I have a huge JSON file with a lot of polygons and I want to extend each polygon by, let's say, 4 kilometers. I don't know any plugin that can do this. Is there a way to achieve this?
0
votes
0answers
197 views

Downloading satellite images in GeoTIFF format

I need to extract at a particular zoom level (17) and resolution (1280x1280) satellite images in GeoTiff (.tif) format that cover my polygons and points in my GeoJson file. To obtain static images in ....
1
vote
0answers
18 views

MapBox Studio: Styling Water in template dataset

I am using MapBox Studio with their own template dataset called Outdoors. I discovered that categories of waterways can be addressed by classes such as river, stream, stream_intermittent etc. This ...
0
votes
0answers
42 views

onEachFeature bindPopup

I am trying to use Mapbox to display my maps. a) I need to bind a popup on each polygon within a Tileset. I have done it in Leaflet using the onEachFeature function. The data should come from the ...
2
votes
1answer
81 views

Distorted h3 hexagons using h3js with Mapbox

When a user clicks on a Mapbox streets-v11 map, I'm attempting to: Take the clicked point, and identify the h3 hexagon (at resolution 10) around the point Convert the hexagon coordinates into the ...
0
votes
1answer
57 views

Mapbox - routing over specified data

I'm making a map which enables routing over hiking trails. I have GeoJSON data containing my custom hiking trails and they are displayed as layer on the map. User can click on that layer and add ...
0
votes
0answers
15 views

Mapbox - filters override each other

I'm creating a map based on this example: https://labs.mapbox.com/education/impact-tools/finder-with-filters/ In their example, they have two dropdown filters and one checkbox filter. I would like to ...
0
votes
1answer
30 views

Changing Mapbox popup based on null values

I currently have a popup in Mapbox that displays some properties and a photo. Not all of the points have photos though, so the ones that have a null value in the image link field just show a blank box ...
1
vote
0answers
31 views

Text size is too small in Mapbox style in R Leaflet map

Does anyone have any experience with mapbox basemaps in R leaflet? The font is too small on my map. I have tried to change the zoomOffset and tileSize as detailed in this question, and in the ...
2
votes
0answers
25 views

Upload of geojson to Mapbox studio showing strange artifacts

I want to upload Geojson data to Mapbox studio. The upload works correctly, but the data in Mapbox show artifacts, which do not exist in the original data. It seems that some vertex has a wrong ...
1
vote
1answer
134 views

Draw GeoJSON polygon over image returned by Mapbox in Python

I am trying to draw a polygon representing the GeoJSON on top of the image I get from a map returned by Mapbox. If I pass in the GeoJSON in the Mapbox REST API URL, I get the following image. . But I ...
0
votes
0answers
41 views

Mapbox Geocoding Service with OpenLayers

I have an angular app that uses the Mapbox Geocoding Service in one component to perform typeahead search and allow user to select a location. In another component I would like to display an ...
1
vote
1answer
55 views

Tippecanoe to not hide geometry

I use these options to create mbtiles for mapbox --accumulate-attribute to accumulate population from polygons, so I can get population with mapbox.queryRenderedFeatures in bbox tippecanoe -o out_sum....
1
vote
0answers
22 views

Filtering duplicate features on mapbox vector tile source

I am using mapbox and have a vector tiles source. How can i filter out duplicate features in order to display only unique feature? I checked the expressions in the filter and i cannot see how can ...
3
votes
1answer
53 views

Map chopped off across 180degree line from QGIS to Mapbox

I am currently exporting a geojson data from qgis to mapbox studio. My area map covers and crosses the 180 degree line across the Pacific ocean. I tried exporting using CRS setting EPSG:4326 and EPSG:...
0
votes
0answers
14 views

How to force line dropping in tippecanoe

I am using tippecanoe to generate tiles for Mapbox. I am using a geojson dataset composed of lots of lines - I want lines shown at a low zoom to besimplified so it doesnt look too cluttered, but I ...
1
vote
1answer
41 views

Interactive map where users can import, transform and export their own layer

I started to create an interactive map with React and Leaflet. I would like to add a sidebars where user of the map can import, display on the map, edit and export their own layer. Basically, it would ...
0
votes
0answers
17 views

Convert Mapsforge (v3) rendertheme to Mapbox style?

Is it possible to convert a Mapsforge (v3, but also works in v5; both versions are included in c:geo for example) rendertheme (XML file plus patterns and symbols) to something usable as style in ...
2
votes
0answers
40 views

How to get a segment between two points

I have a map made of two layers, the first is a list of trails (path) and the second is a point based layer (different intersection between the trails). I am looking for a way to select a segment ...
1
vote
2answers
288 views

Mapbox tiles not showing on Leaflet map using Google Chrome

https://underjollyroger.github.io/EarlyIllinoisLandcover There is a 403 (Forbidden) error and the Mapbox tiles will not display when viewing from Google Chrome (zoom in six times with the mouse wheel ...
0
votes
1answer
40 views

Coordinates in Github repository URL

https://underjollyroger.github.io/EarlyIllinoisLandcover/#9/41.5774/-88.0609 Why are there coordinates showing up in the url of this repository? And is there a way to get rid of them? The repository ...
1
vote
0answers
34 views

Combining Mapbox GL JS plugin with another SQLite-based plugin (Cordova)

I'm creating an App with Cordova. For this I want to use Mapbox GL JS for using offline maps and a SpatiaLite database for storing additional spatial data. The mapbox-gl-cordova-offline plugin ...
1
vote
1answer
44 views

Filtering layers displayed on map only for point layers, lineString layers or polygon layers using mapbox

I tried to use setFilter method in mapbox but this method is used to filter existing layer's features depending on specific property but not filtering all layers according to geometry In other words, ...
1
vote
1answer
45 views

Geodata for label layer in vector tiles

I'm trying to get familiar with creating my custom vector tiles. For this purpose I'm creating a simple world map with country boundaries based on natural earth shapefiles. I'm creating the vector ...
0
votes
0answers
24 views

How to extract and parse property from Mapbox vector tileset?

I have a Mapbox vector tileset (counties) from which I need to extract a property (p). It should be an array, but AFAIK Mapbox doesn't support array properties (right?); it turns them into strings. So ...
1
vote
1answer
77 views

Creating multiple points on Mapbox Isochrone map

Is it possible to create multiple points on an isochrone map in Mapbox? This is the documentation for one of their maps with one point: https://docs.mapbox.com/help/tutorials/get-started-isochrone-api/...
1
vote
0answers
44 views

Clip MBTiles with BoundingBox

I have a relatively large worldwide raster mbTiles file from which I want to convert individual countries into new mbtiles. Unfortunately i fail to use tilelive which is actually predestined for this ...
0
votes
0answers
68 views

Handling large shapefiles and many features( e.g > 1 million points) in Mapbox and GeoServer

I have some issues. But I want to get clarity/assistance on a fundamental one. I use GeoServer as my tile server to my client using Mapbox GL JS. Now, I have uploaded a shapefile that constitutes ...
0
votes
0answers
36 views

How to get Cog(in AWS S3) tile url?

I have one raster file (Cloud Optimized Geotiff) in AWS S3 bucket. And I want to mapping as a raster tile source using Mapbox GL JS. How can I get the my Cog's tile url..? Should I use tile server?? ...
1
vote
0answers
44 views

NetCDF projection conversion to EPSG3857 is cropped in QGIS

I am using QGIS and PyQGIS to transform NetCDF files projection to EPSG:3857. My ultimate goal is export it as raster (TIFF or PNG) to display in Mapbox. When first imported, the NetCDF file itself ...
1
vote
0answers
33 views

Understanding fonts for vector maps

I am serving a custom vector map using Tileserver GL. Everything works as expected, but I just don't want to die dump. So... there is directory called (in my case) glyphs with subdirectories like e.g. ...
1
vote
0answers
35 views

Accessing all layers displayed on map in Mapbox

I want to access names of all layers that I display on the map using Mapbox GL with React. Is there any specific method that enables me to access that?
1
vote
0answers
121 views

Adding WMTS layer to Mapbox GL JS from GeoServer

I'm trying to add WMTS layer from GeoServer 2.18 in Mapbox GL JS. My code: window.mymap.addSource( "mvt-test-source", { "type": "vector&...
0
votes
0answers
124 views

How to detect overlapping features from 2 different layers with Mapbox GL JS

I have 2 layers in total, one is a point layer where each point represent the location and attributes of a company, the other is a draggable polygon layer which is regarded as a filter for spatial ...
0
votes
0answers
44 views

Fix poor quality when using WMTS to import Mapbox to QGIS

I have a basemap created using Mapbox and have imported it in to QGIS using WMTS. The quality is terribly pixelated on the map and is just as bad when I try export as an image. Screenshot: How can I ...

1
2 3 4 5
16