Quantcast
Channel: Question and Answer » mapbox
Browsing index pages (20 articles)

Image may be NSFW.
Clik here to view.

Convert PNG to GeoTIFF: Invalid pixelsize in geotransform array in FME

I’m converting PNG file to GeoTIFF. Here’s the setup that I use in FME: PNGRaster -> RasterExtractor -> CoordinateSystemSetter -> RasterGeoReferencer -> writer The settings of...

View Article


Mapbox source without access token

I found mapbox source of tiles that doesn’t require access token (http://a.tiles.mapbox.com/v3/mapbox.natural-earth-hypso/page.html#3/0.00/0.00). Does it mean that I can use it without view limits (50k...

View Article


Mapbox-gl: flyTo feature with certain property

I have been playing around with mapbox-gl. I am trying to get the map to flyTo() a specific polygon in one of my layers. After looking extensively through the API I can only find methods to return...

View Article

Can MapboxGL use nearest neighbour interpolation for overlay image? [closed]

In HTML+CSS version of mapbox/leaflet I can set image-rendering option for .leaflet-image-layer with CSS to choose interpolation method. How can I make this in GL renderer?

View Article

Is TileMill as a service restricted to PNG? Or is JPEG an option?

Is TileMill as a service restricted to PNG? Or is JPEG an option? I setup TIleMill as a service as documented here: https://www.mapbox.com/tilemill/docs/guides/ubuntu-service/ Tiles are rendering...

View Article


Apportioning two layers using mapbox studio classic

I am using Mapbox Studio Classic to take two shapefiles–one with census tract geometries and the other with my own custom defined geometries. I want to apportion the two geometries so that I can get...

View Article

resize divIcons (svgs) at zoom levels – Leaflet

I am adding a geoJSON to a map using a custom divIcon (from svg) for point markers with Leaflet. The divIcon needs to resize on different zoom levels. Currently I can see the icons and the popup works,...

View Article

Unable to use MapBox basemap in CartoDB

I am trying to embed a MapBox basemap that was created in the new studio (just came out a couple weeks ago) and when entering the MapID/URL and the Access Token in the CartoDB interface I get an error...

View Article


Using MapBox mobile client with GeoServer Protocols?

MapBox client is beauty and easy to use. But it seems only support their own protocols (GeoJSON & KML & TileJSON). GeoServer Only support WCS & WFS & WMS & TMS & WMS-C &...

View Article


Image may be NSFW.
Clik here to view.

Export data from the new Mapbox Studio

The new Mapbox Studio seems to have a button for downloading a style: but not a dataset: So, is there actually a way to export a whole dataset? This may seem like a strange thing to do, but since the...

View Article

How to merge layers from two vector tiles with Mapnik?

I’m using Mapnik + Mapbox nodejs stack. Given two vector tiles (PBFs) for the same location/zoom, with some layers having the same name in both. How do I merge them into one PBF tile – replacing...

View Article

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...

View Article

Determine if point lies within shape?

What would the best method be for determining whether an address (geocoded to a lat/long point) lies within a given shape in a GIS shapefile. Best case scenario, we are given a boolean result, that we...

View Article


Mapbox.js: Accessing data markers created in Mapbox Studio

I used Mapbox Studio to create some projects because my data set was too large to use Mapbox Editor. I loaded my data into a source project and then used that source as a layer in a style project,...

View Article

How do you add a pop up to a Mapbox.js feature Layer

I am trying to get popups to work with a featureLayer in MapBox.js, to no avail. Here is my code: var pliOptions = '<h2>A ferry ride!</h2>' + '<p>Test Data</p>'; // Since...

View Article


Can I add Mapbox data (markers) to CartoDB basemap

I have prepared a basemap in Mapbox which includes imported data (basically, marker points). I was expecting these markers to show when using that project as a basemap in CartoDB, but it only shows the...

View Article

Image may be NSFW.
Clik here to view.

How to alter labels in Mapbox Streets in Mapbox Studio

I am creating vector tiles in Mapbox Studio v5 based off of the MapBox Streets layer. I want to alter the labels that appear over buildings, parks, schools, churches etc. but I cannot find the code...

View Article


What is the future of CartoCSS (i.e. does it have one)? [closed]

MapBox recently announced that they would be moving away from CartoCSS towards a completely visual interface. Apparently the new style sheets that underlay that UI will be JSON based, so despite the...

View Article

Controlling map details shown using Leaflet and MapBox

I am building a map based chart using Leaflet (with MapBox). I would like to know if there is a way to control the level of details displayed on the map when zooming in. For example I do not want to...

View Article

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...

View Article
Browsing index pages (20 articles)


Latest Images