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

learn more… | top users | synonyms

7
votes
1answer
2k views

Generating Interactive Tiles using Nodejs, Mapnik, and PostGIS for Leaflet

I am looking to do something like this but where I have all the data on the same server. I've been following through the set of tutorials @ sparkgeo.com/labs/big/ and I'm having some difficulty. ...
3
votes
1answer
90 views

Web Maps for Collecting Information in a Questionnaire

I am working with a Non Profit group who are looking for collect information around urban cycling routes. They would like to know the routes people take to get from point A to point B. I thought, ...
2
votes
1answer
306 views

find inner bounds of a polygon in leaflet

How can I find the inner bounds of a polygon in leaflet? I a want to plot points randomly in polygoon but when I say Layer.getBounds() I get the bounds and I can still plot the markers ...
2
votes
1answer
94 views

TileMill: How to mask layer without loosing background

I have a large geotiff with elevation gradient which I want to use to colour my map. However the coastal line of the geotiff doesn't excacly match my shapefile so I want to mask it. The problem is ...
2
votes
1answer
506 views

How to get data from TileMill tileLayer properties in Mapbox for click/hover

I've successfully used Leaflet to load a geoJSON polygon-shapefile with data, and added click and hover interactivity to the layer. For a large dataset, I switched to mapbox.js 1.6.1, used TileMill to ...
1
vote
1answer
64 views

Using Mapbox (LeafletJS), how do I edit imported shapes from GeoJSON?

Overview: I'm currently working on a project where I'm importing GeoJSON into a map using Mapbox. However, I'm wanting to be able to edit those shapes once imported into the map. I've gotten the ...
1
vote
1answer
132 views

Using custom styles with Mapnik

I'm setting up a custom tile server using OpenstreetMaps and Mapnik. I've been able to successfully setup the server and serve tiles using it. I'm using the OSM-Bright style right now. I would like ...
3
votes
0answers
58 views

Data format for offline apps on iPad?

For an iPAD application (based on WhirlyGlobe) we've two modes: offline and online. It's a meteorological application so each day around 1600 layers (worldwide) per day are created on the servers. ...
3
votes
0answers
1k views

How can a leaflet SVG overlay be placed outside of the leaflet-overlay-pane?

I have SVG on top of GeoJSON in my map. How can a leaflet SVG overlay be placed outside of the leaflet-overlay-pane while keeping GeoJSON in place in the leaflet-overlay-pane? (For example, how could ...
2
votes
0answers
19 views

Wrapping vector tiles generated by geojson-vt

I've followed the example in geojson-vt, and am able to generate vector tiles from my geoJson source. However, I can't read these tiles with mapbox-gl-js or Leaflet.MapboxVectorTile because I don't ...
2
votes
0answers
22 views

Mbtile To Geopackage and Vice versa

Considering the new open format offered by OGC, Geopackage, on top of vector data (like that of shapefiles), it supports map tiles as well. The functionality is similar to mbtile format founded by ...
2
votes
0answers
44 views

What worldwide raster basemaps does MapBox provide, and how much do they cost to use?

There are a number of MapBox basemaps that show up on various websites (MapBox Streets, MapBox Outdoors), but weirdly, I can't find a list of them anywhere. I have in the past seen a big list of ...
2
votes
0answers
65 views

Add vector tile sources to QGIS

Is it possible to add vector tile sources (using MapBox's protocol buffers format, or GeoJSON, or otherwise) to QGIS? If so, how? (My question is a bit similar to Can the new Mapbox Vector Tiles be ...
2
votes
0answers
3k views

How to get multiple dynamic custom markers on map using MapBox in MySQL and PHP?

Can anyone help me to get multiple custom markers on mapbox using lat/long from the database MySQL. I want to use 2 types of markers on the map, for which I have two separate table of lat/longs in the ...
2
votes
0answers
674 views

How to render Mapbox Vector Tiles from OSM data?

I'd like to render my own vector tiles in the Mapbox Vector Tile format (MVT) format using OpenStreetMap data (ultimately for use with Mapbox's hot Mapbox GL JS client renderer). Is TileStache + ...
2
votes
0answers
206 views

Export a style from Mapbox Studio to be used in Mabox GL-JS

I designed my map with Mapbox Studio. However I would like to use my design in Mapbox gl-js. The styles are not CartoCSS but a JSON. Is there a way to export my design to this JSON format? They seem ...
2
votes
0answers
67 views

CartoCSS : Style a road using a road_label rule

The parisian ring road (and probably others) usually looks a bit off (especially at low zoom levels), because in OSM it has been created as two independant 'main' roads, instead of one 'highway'. ...
2
votes
0answers
81 views

Stray horizontal lines after converting from GeoJSON to topojson

After converting a GeoJSON file to topojson, and loading the topojson into Leaflet, stray lines appear in the resulting map. Like this: What is causing this? If I view the GeoJSON, these stray ...
2
votes
0answers
248 views

TileMill Exports Failing

I'm having trouble exporting my map in TileMill (v0.10.1). I'm using OSM Bright with a PostGIS database connection to import OpenStreetMap data. When exporting an SVG or PDF through the user interface ...
1
vote
0answers
19 views

How to show the labels of aeroways like Openstreetmap in Mapbox Studio

I'm using Mapbox Studio to create a Mapbox style. However, I don't know how to show the labels of aeroways like Openstreetmap. You can see the labels are showing on the right side.
1
vote
0answers
35 views

JSON Layer does not show when .setview Changes

I've set a Mapbox map with a geoJSON layer overlaying it. The problem is that with the default set values, the json layer shows up just fine. However, If I change the .setView too much, the json layer ...
1
vote
0answers
40 views

What is the advantage of Mapbox-gl native vs. javascript on mobile devices?

Mapbox-gl renders maps from vector tiles locally on the clients device. You can either use the js library or use the native c++ bindings (for ios/android/etc.) For a mobile device, what would be the ...
1
vote
0answers
43 views

How to add a non-pattern polygon fill in mapnik/mapbox?

I have a map with a polygon that I want to fill with an SVG image (see simple example below). I got polygon-pattern-file to work, but I don't want the image to be used as a pattern. I mean, when I ...
1
vote
0answers
47 views

Mapbox integration with Cartodb

We are using Mapbox Mobile SDK for Android application Development. We have used our own Maps Data SETs for POIs and Addresses. These custom POIs are not available to us in Search and Creating ...
1
vote
0answers
80 views

SVG patterns in Tilemill/Mapbox Studio

I'm working on a project that requires custom styles for lines, similar to that in Mapbox's line-pattern-file example, but I keep running into an issue where my custom line symbology looks suboptimal ...
1
vote
0answers
91 views

In Mapbox Studio how do I make an image for a marker be 400 pixels without getting clipped off?

For Mapbox Studio, I've prepared this Squid drawing I'm going to put in a body of water, similar to the ships in the 'Pirates Return' map. I have sizes of the drawing in 100,200, and 400 pixels. ...
1
vote
0answers
23 views

How to know which Tiles build a rendered Image obtained by a Map Query?

as Test Purpose for my app, I want to know exactly, which Tiles were used to render the result image I get by query. I.e. I want to see a bounding box of 500px*300px with zoom 13 of Location ...
0
votes
0answers
19 views

Mapbox.js: Bind dynamic popups with featureLayer?

I am building a multiple chloropleth map using v2.2.1 of Mapbox.js with featureLayer. Now I would like to add tooltips with custom content on hover event. This code is working well to set up the ...
0
votes
0answers
24 views

How to run Mapbox Vector Tile Mini Server?

I am trying to make an offline map for the vector tiles that I've exported from Mapbox Studio (mbtiles). I found this : https://github.com/BergWerkGIS/mini-server I have it downloaded on my ...
0
votes
0answers
32 views

Using custom mapbox styles with mapnik

I created my own tile server according to this instruction and my own layout/style with mapbox. Following the mentioned instruction I currently use OSM Bright as layout/style. In short: How can I use ...
0
votes
0answers
13 views

How can I prevent markers from being clipped?

I have a series of point that I want to draw circles with varying radii around. The radii depend on the zoom level and represent a 1.1 mile circle from the point. I'm running into an issue where the ...
0
votes
0answers
21 views

MapBox VectorTile

I'm trying to decode mapbox vector tiles for use with SharpMap. It is not clear to me, does such a tile know its position in the grid (x, y) and zoom level (z), or do I have to provide these values ...
0
votes
0answers
47 views

Regroup SHP files and convert to one MBTiles file

I have a lot of shp files and i want to regroup all of them and export the whole thing in one mbtiles file (and display this with MapBox GL). I tried MapBox Studio but it's crash a lot ! Any ideas ?
0
votes
0answers
32 views

Custom fonts in Tilemill

I'm trying to add a custom font to my OSM Bright project in TileMill. I've followed instructions here: Tilemill use custom font and have found where in the palette.mss file I need to add my font, I've ...
0
votes
0answers
57 views

mbutil export of mbtiles png files are all corrupt

I have an mbtiles file that I created with MapBox studio from a GeoTIFF source, and when trying to export the mbtiles with mbutil, all the images are corrupt, no matter if I try png or jpg. Has ...
0
votes
0answers
55 views

Leaflet-image draw legend

I'm using the mapbox leaflet-image plugin to allow users to save images of an app I'm making for a client. It works great with this setup: Callback function on click event... leafletImage(map, ...
0
votes
0answers
93 views

Large road labels and roads on high zoom level

I am making small maps to print on small paper cards with the street people live in and the surroundings. The paper card has the dimensions of a printed photo, around 10x15cm. First, I made a ...
0
votes
0answers
155 views

Drawing fastest route between two points

In reference at this example https://gist.github.com/miccferr/f0716649c82e5cefc5eb i'm trying to visualize the fastest route between two points. After i drag the position marker I would like to click ...
0
votes
0answers
198 views

How to install mapbox studio in ubuntu

Can anyone give me a hand to install the Mapbox studio in Ubuntu 12.04? I have downloaded the zip file for Linux but cannot find any installation instructions there.
0
votes
0answers
87 views

How do I get popups to function in this interactive map?

I'm trying to create an interactive map like the Mapbox one demonstrated here Scroll-driven navigation map however, I want to have markers with popups. I cannot figure out what is prohibiting the ...
0
votes
0answers
19 views

How do I add the sanitizer option to mapbox.js v1.6.2?

I believe this is the newest version of mapbox.js sanitizer var gridControl = L.mapbox.gridControl('grafa.hack22fp', {sanitizer: function(x) { return x; }}) .addTo(map); I need to add it to ...
0
votes
0answers
115 views

Mapbox Studio local sources

I'm deeply confused by the whole Mapbox Studio workflow regarding the use of local data. Say I have a shapefile, and I want to use it on top of a remote style. As far as I understood, the way ...
0
votes
0answers
56 views

CartoCSS problem with zoom levels - polygons are turned off

Can someone help me where could be a problem with CartoCSS rule below? I'm not able to see "school" polygons at z11-13 though rule seems to be written correctly:>>> [zoom>=11][zoom<=15]. Polygons ...
0
votes
0answers
57 views

How do you filter mapbox layers?

I have 6 layers that contain grid, feature, and tile layers. var layers = [{ name: 'basemap', minZoom: 0, maxZoom: 19, layer: L.layerGroup([ ...
0
votes
0answers
51 views

Possibility of Multiple Popups on single Markers?- Mapbox

I am styling a minimal world map (no country names, maximum zoom level 3) with markers representing Universities. The problem is that some of the universities are in the same town as others, so ...
0
votes
0answers
34 views

Is the server side component of Mapbox's Surface API open source?

Mapbox's Surface API looks really cool. But it's apparently only available as a service for a limited number of developers. Is there any public code which provides the API?
0
votes
0answers
88 views

Map box GL mature / appropriate for own OSM-Tileserver

I am quite new to this topic and currently trying to decide what library to use for developing OSM-apps with my own tile-server for Android, iOS and Websites (currently using Leaflet for websites) - ...
0
votes
0answers
86 views

How to create a query dialog with MapBox JS?

I like to have a query dialog in the map in order to filter data according to specified fields and attributes selected by the user. Example: user may want to select a state via a dropdown menu and ...
0
votes
0answers
226 views

How to toggle legends with layers in Mapbox.js?

Map is currently toggling 23 layers using var = overlays. I want the respective layer legends to appear when layer is toggled on, and show legends of all ON layers. var map = L.map('map',{center: ...
0
votes
0answers
23 views

Jquery slider cycling through swipable layers - getting a bug

I'm building a tool that allows the visitor to cycle through rendered maps of low and high emission climate data projections. The high and low sets by themselves work great, but when I am using the ...