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

How to add points (marker) in Mapbox real time geolocation with Cassandra database?

I am now using Angular in web and ionic in mobile with spring-boot for communicate between web and mobile and I use Cassandra for database. I get longitude and latitude of mobile geolocation in real ...
1
vote
0answers
12 views

Show popup on the map for the selected item in the side list using the mapbox gl js

I followed this tutorial "Filter features within map view" and managed to adapt it to my data, which are polygons instead of points. However, the popups on the side menu are not displayed, ...
0
votes
2answers
43 views

How can I stack several 3D elevation layers?

So far I have been using qgis2threejs to display different layers at once like one terrain elevation layer and one population data layer. The result through is that the 3D population data is not ...
0
votes
0answers
14 views

download vector tile map from mapbox studio with python

I have a rendered mapbox map which is made up entirely by a few vector tileset. I wish to capture snipperts or AOI of the rendered map defined by users(or me) at varied zoom level into aa report How ...
1
vote
0answers
21 views

ST_AsPNG query has wrong position on Mapbox

I am trying to import GeoTIFF files into a PostgreSQL database using raster2pgsql. I use the following query to import the data into my database: raster2pgsql -s 4326 -c -P -I -C -t 256x256 *.tif ...
1
vote
1answer
96 views

Mapbox GL JS: Displaying polygons from different coordinate systems / projections

I'm new to GIS and have access to OS MasterMap Topography Layer data (UK). I've got it loaded into PostGIS and am querying the polygons that I'm interested in (buildings). My understanding is the ...
1
vote
1answer
42 views

Get MapBox Marker Coordinates Dynamically

I am new to MapBox and this may be a very simple solution, what I am trying to Achieve is to get the Coordinates of the marker which pops up when I search for Any Address/Location in the Search box. ...
0
votes
1answer
19 views

Add raster image (GeoTIFF) over a TMS with Mapbox

Having some GeoTIFFs, which I would like to display georeferenced over a TMS (in an impossible way to download the GeoTIFF, like another WMS or TMS). Is that possible? Note: Currently I use Mapbox ...
0
votes
1answer
43 views

Creating a popup when hovering a line in Mapbox

I have a custom line in mapbox that displays a popup when you click it, how can I make it so it shows only when you hover it ? I changed from "click" to "mouseenter" but it did not ...
0
votes
0answers
11 views

Some problems with understanding zoom, resolution on map and device

I have some questions over map resolution and zoom over Mapbox GL in maps and device I have found a similar reference to understand https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#...
0
votes
1answer
86 views

Programmatic way of accessing mapbox tileset from leaflet WITHOUT studio

I have a R shiny app that successfully uses leaflet to interact with a custom mapbox studio style. mapbox_url = "https://api.mapbox.com/styles/v1/bweinstein/ck94nmzn20an31imrz6ffplun/tiles/256/{z}...
0
votes
1answer
23 views

What expression works with setLayoutProperty in mapbox

I am able to toggle the opacity of individual groups within a tileset. Unfortunately this does not hide the data when clicked on. As the layers are stacked this is a problem. const toggleGroups = (...
1
vote
0answers
19 views

Decent satellite map for open source project?

I'm working on a cheap open source sidewalk travelling delivery robot. I built a GUI using Qt/QML which (among other things) I use to view satellite data to identify and manually mark where sidewalks ...
0
votes
1answer
51 views

Mapbox Geocoder with a Leaflet map. Zoom to result, how?

I have a Lealfet map together with the Mapbox geocoder outside the map. The Geocoder and the map works. But i need to zoom to the result from the geocoder. Some code: var map = L.map('...
1
vote
1answer
23 views

Layers not appearing even after source is loaded

I have written this code to source USPS postal route data from ESRI, which is to be displayed on a map. The code works fine, the data source is also loaded, as per the console.log I put in place, ...
0
votes
0answers
15 views

Using geojson-vt to convert MongoDB output server side

I am using Mapbox with React.js on client-side, and Nodejs with MongoDB on server side. In order to make the rendering of polygon layers on the map easy, I would like to create tiles out of GeoJSON ...
1
vote
1answer
46 views

Adding Street layer to a Satellite map

I am new to openlayers and I am using OpenLayers Version: 6.3.1. I need to display a satellite map. I have used mapbox API to display the satellite map. It doesn't have streets and displays only the ...
0
votes
0answers
19 views

mapboxgl full update of a layer style

I am trying to change a full-paint property for a vector layer at user request. I store these styles in a JSON, each 'paint' property for different parameters. As you can see below, some styles are ...
0
votes
0answers
28 views

Leaflet Easyprint alternative with MapboxGL

I have a logo (logoContainer) on top of my map, that i need to include in the print: mapboxgl.accessToken = '<ACCESS TOKEN>';; var map = new mapboxgl.Map({ container: 'map'...
0
votes
1answer
33 views

Cannot load tiles from Mapbox using leaflet.js

I am a new user and I can't seem to get the tiles on the map. var mymap = L.map('mapid').setView([51.512, -0.104], 1); L.tileLayer('https://api.mapbox.com/styles/v1/mapbox/{mapbox.mapbox-streets-v8}/...
0
votes
1answer
21 views

mapbox setFilter on interval values

Trying to apply a map.SetFilter over points with continuous values, grouped by categories like: 0-8000 orange 8000-16000 green. 16000-30000 yellow. 30000-40000 blue. Bigger than 40000 purple ...
1
vote
1answer
22 views

Duplicate markers in multiple layer groups not displaying

I have a map with a bunch of markers and some layer groups based on attributes for those markers. I made layer groups for each attribute and some markers appear in multiple layer groups. When I toggle ...
0
votes
1answer
45 views

Filter features outside the viewport in Mapbox

I have a huge GeoJSON file having around 100K features and I want to filter features outside the viewport. I tried multiple approach given on: https://github.com/mapbox/mapbox-gl-js/issues/8350 and ...
0
votes
0answers
78 views

Load a cluster layer with vue mapbox plugin

I have a map in my client application. The map is built with Mapbox-GL and Vue Mapbox, the Mapbox wrapper built for Vue.js applications. I have a list of points that I would like to cluster. Actually, ...
0
votes
0answers
20 views

How to add key value on JSON to send PHP?

I created a table to loop every coordinate I click from my map. var gps = new Array(20);//créer un tableau de 2d array for (var i = 0; i < gps.length; i++) { gps[i] = new Array(2); ...
0
votes
0answers
9 views

Use a Customized Set of Roads

Is there a way using Mapbox and OpenStreetStreet maps to display a customized version of roads. I am building a product which provides directions for large equipment. And there are some roads, ...
0
votes
1answer
78 views

How to remove default map label of places in Mapbox GL JS?

I've added Mapbox map layer in my HTML page using following script. mapboxgl.accessToken = '***********************'; var map = new mapboxgl.Map({ container: 'map', style: 'mapbox://...
0
votes
0answers
30 views

GeoTiff from QGIS uploaded to Mapbox has black background way outside of the edges of the raster

I am exporting a composite RGB images from QGIS into Mapbox and am getting a black background around the raster as well as outside of the limits of the raster data. There are areas within the raster ...
1
vote
1answer
69 views

Using ST_AsMVT with ST_TileEnvelope clipping in mapbox

I have been searching for a while for a way to correctly project the ST_AsMVT to ensure it fits to the map. The below query was the only suggestion I found that will correctly transform to the mapbox ...
0
votes
0answers
9 views

I want to show different administrative levels within the same level

I am using Mapbox as platform and I have an issue with administrative boundaries (admin_level in OSM language). I have some areas that don't have admin_level = 2, and I want them to show their ...
0
votes
0answers
36 views

Why is a GeoTIFF uploaded to MapBox as a tileset shown in black and white and not the original colors in the TIFF?

When uploading a GeoTIFF file to Mapbox to create a tileset, it is being displayed in Black and White? I would expect it to have the same colors as the TIFF when viewed in any other viewer? How do ...
0
votes
0answers
56 views

How can I convert polygon features stored in Shapefile, GeoJSON or GML (over WFS) into obj file

I am currently working on an augmented reality application using ARKit. The required file formats are DAE or OBJ. My clients would like to display information stored within Shapefiles, GeoJSON or GML ...
0
votes
0answers
27 views

Use of Wikimapia API on my site

I'm trying to figure out the half-dead resource Wikimapia, which, unfortunately, is very popular in Russia and contains vernacular data of cities. The goal is a map on a modern and flexible Mapbox, ...
0
votes
0answers
18 views

Mapbox Sheet Mapper: how to use different icons for the markers?

I watched a webinar on Mapbox sheet mapper. At the time linked in this youtube video, this exact question came up, how can you replace the markers with different icons? They said it's possible but ...
1
vote
0answers
20 views

Adding a map legend to a webpage

On the web page where the map shows (using Mapbox GL) and I want to add legend. The icons in the mapbox map are in a sprite with the details in JSON. I can see the PNG sprite and JSON in the browser ...
1
vote
0answers
11 views

How do I match my road data with a Mapbox dataset?

I made an app that detects how bumpy roads are but I only know the road name and zipcode. Is there a way for me to layer this on top of a map? For example, in my database, Main Street in zipcode ...
0
votes
1answer
75 views

Set center on Mapbox GL map

I have a form HTML, e.g. like this: <form id="form" method="post" action="#"> <input class="sidebar__input" type="text" name="lat" id="latitude" /> <input class="...
0
votes
0answers
35 views

Improving appearance of vector tiles in Mapbox at various zoom levels

I am wondering how I can better render large datasets in Mapbox for viewing purposes? Currently I use an ogr2ogr script to convert large ESRI shapefiles to MBTiles. ogr2ogr -f MBTILES -dsco MINZOOM=...
1
vote
1answer
69 views

Custom sprite and glyphs not showing in Maputnik

I'm completely new to vector tiles and mapbox. In order to test different icons, fills, etc. I found Maputnik would be the best option. Working with regular outlines, fills and other primitives is ...
0
votes
1answer
136 views

Adding MultiPolygon GeoJSON file to Leaflet map layer

I have tried various solutions from other helpful answers on here but nothing seems to work. Trying to add a local GeoJSON file with multiple polygons to a map via leaflet with zero success so far. ...
0
votes
1answer
39 views

Publishing a vector layer from GeoServer to use in Mapbox

I have published a vector file in GeoServer 2.15.1. How can I add this layer to Mapbox? The example in doc.geoserver.com works fine but when I use my layer in the provided format it keeps showing 404 ...
0
votes
0answers
17 views

Join Google Spreadsheet to Mapbox tileset

I am trying to join a Google Spreadsheet to a Mapbox tileset so as to keep my map updated everytime I modify the values in the Spreadsheet. The tileset contains polygons of US zipcodes, and it has a ...
0
votes
1answer
31 views

Adding WMS into the Google Maps or Mapbox

Is it possible for me to get the data from https://firms.modaps.eosdis.nasa.gov/web-services/ and add it as a layer in the maps so that whatever data I am getting from the server can be directly shown ...
3
votes
1answer
70 views

Change the hover contents of the control navigation buttons in Mapbox GL

On my Mapbox map, I added the navigation control elements proposed by the Mapbox API (zoom and rotation). map.addControl(new mapboxgl.NavigationControl()); When hovering over these buttons, a ...
0
votes
0answers
31 views

Getting the sum of features for points inside a polygon in Mapbox

I am new to Mapbox and am currently stuck with a problem. After generating an Isochrone polygon, I wanted to find all the points and the total population associated that fall in that polygon. Turf ...
0
votes
0answers
169 views

Is it possible to get area or neighbourhood names through GeoPy with Mapbox API?

I am using GeoPy with Mapbox API to get geolocation data, specifically, I need an area or neighborhood names for a given list of addresses. Nominatim and Google Maps do give out such information, but ...
0
votes
0answers
50 views

MapBox - Add Custom Vector Tile Layer from GeoServer

This started out as a very frustrated question, and then I figured it out right before I clicked "Post". I'm hoping this post will save someone the hours of hair-pulling that I had to spend. So ...
0
votes
0answers
153 views

Turning a JSON data to a GeoJSON data. For Leaflet

I am new to programming. I took a few crash courses and know the basic structure of JSON data. Working with leafletjs to implement a choloropeth map. I am required to convert my own data which in ...
1
vote
0answers
18 views

Shapefile size limits in Mapbox

I'm creating a style in Mapbox which is supposed to contain hundreds of shapefiles for a total size (shp + dbf) of several GBs. Due to the limit of 15 sources per style, I've combined the smaller ...
0
votes
0answers
107 views

Load GeoJSON files as a JavaScript variable. Using Require.js

Trying to load a taluka.geojson With reference to this post here [this guys post with require][1] I am sure my GeoJSON file works [Here is a sample][2] Here is my code: <script src="https://...

1
2 3 4 5
15