A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [vector-tiles]

A mechanism for distributing vector data following the same tile numbering scheme as widely used raster tiles. Used by Google, Mapbox and other major mapping providers.

Filter by
Sorted by
Tagged with
83
votes
9answers
42k views

Self-hosting Mapbox vector tiles

As presented in a talk at FOSS4G Mapbox Studio allows to create Mapbox vector tiles and export them as a .mbtiles file. The mapbox-gl.js library can be used to dynamically style and render Mapbox ...
19
votes
3answers
5k views

Can the new Mapbox Vector Tiles be used as a QGIS basemap?

With the implementation of the mapbox vector tiles begs the question of how these could be used as a basemap in a QGIS printed map (assuming anyone cares about printed maps anymore!). To use OSM data ...
18
votes
3answers
2k views

What is the wire format for Google's new vector map tiles?

Google recently released new vector cartography for their mobile maps. I'm curious if anyone here has any insight into the wire format they use for transmission? I've experimented with a few formats ...
14
votes
4answers
6k views

Create Vector Tiles for Polymaps

Ok, likely my bad for not making it to WhereCamp5280 and asking the FortiusOne geeks directly, but what's the process for creating GeoJSON 'tiles' for use in Polymaps? The Population example over at ...
13
votes
5answers
14k views

Libraries to render vector-based maps in the browser

Is there a open source JavaScript library like Leaflet or OpenLayers which can be used in a web or mobile application and loads vector-based maps instead of images? I only need the road information ...
13
votes
3answers
846 views

Increase Tiles Caching Speed (TileStache)

I am serving vector tiles using TileStache, I have everything set up like I want. My data is stored in Postgres and I am using the VecTiles provider to serve GeoJSON tiles. I want to cache all my ...
12
votes
2answers
305 views

Aggregate Lines Based on Distance between Segments

I have a VectorTile basemap that I am optimizing, (working on reducing the size of individual tiles), the major chunk of tile size is road data (geometry and attributes). I am working on simplifying ...
12
votes
2answers
2k views

Tiling Vector data without losing geometrical and topological information

I am trying to figure out a way to sub-divide a vector based map into smaller blocks. I can tile the map based on different strategies such as q-tree. However, it is unavoidable to cut some polylines ...
11
votes
2answers
3k 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 ...
11
votes
2answers
2k views

What does vector tiled map mean?

I'm working on an application that renders GeoJSON into OpenLayers map. The idea is about not having PNG images downloaded from external services (OSM or Bing) but having geo-information in GeoJSON ...
10
votes
3answers
8k views

Mapbox SDK: Is it free if you host your own vector tiles?

I wish to use Mapbox SDK for iOS and Android apps (mapbox-gl) for rendering of maps that I host myself (that conform to https://github.com/mapbox/vector-tile-spec). I went through their pricing and it ...
10
votes
4answers
3k views

Creating Vector MBTiles?

I am searching for a tool to generate vector-tiles that I can then display using the Mapbox Map-View. We currently have a postgres database with all of our data. What is the best tool to generate ...
10
votes
1answer
5k 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 + ...
9
votes
2answers
21k views

Loading vector tile layer in Leaflet map?

I need to load a vector tile layer in a Leaflet map. The vector tile is the vector tile layer about Mapillary sequences (look at https://a.mapillary.com/#vector-tiles ...), and the tile URL pattern ...
8
votes
2answers
516 views

TileStache Vector Tiles Overlay problem

I am using TileStache to serve my own vector tiles using a postgis datasource. First I re-projected the shapefiles I had using ArcMap ( reprojected to Web Mercator (Auxilary Sphere)) and loaded them ...
7
votes
2answers
892 views

How to render Multi-Response GeoJSON tiles

I am using TileStache to combine and server multiple vector layers in a single Mutli-Response GeoJSON tile, which is basically all my individual tiles/layers (GeoJSONs containing either roads, pois, ...
7
votes
5answers
4k views

WFS to Vector Tiles

Is there, by some miracle, an existing piece of software which is able to convert a (3rd party, GeoServer) WFS feed into vector tiles? In a utopian world, this would happen on the fly, but a download/...
7
votes
2answers
5k views

Converting Shapefiles to Mapbox Vector Tiles

We are currently hosting OSM vector tiles on our mapping server (courtesy osm2vectortiles and tilesever-gl). Now I'm trying to convert our own shapefiles into the same Mapbox Vector Tile format so we ...
7
votes
1answer
360 views

Stacking Vector Layers in TileStache

I am serving several vector tile layers of different geometries (point, line & polygon) in TileStache using VecTiles:Provider, with this cfgfile: { "cache": { "name": "DISK", "path":"...
7
votes
1answer
732 views

How to load mvt tiles in QGIS

I want to load mvt tiles into QGIS through a URL service https://abc.com:8080/buildings/{z}/{x}/{y}.mvt But, the menu in the Vector Tile Reader plugin allows TileJSON URL. Is there any way I can ...
7
votes
0answers
2k views

Creating vector tiles from OpenStreetMap?

I need to understand the process of creating Mapbox Vector Tiles from OSM data in some detail -- in particular I need to fiddle with cutting out a lot of data (esp. buildings) to keep the final vector ...
6
votes
1answer
3k views

Create my own MapBox Vector tile and self hosting

I understood hosting mbtiles is possible and some solutions are available. I not sure that I can find the answer; How can I create my own vector tiles (mapbox vector tile format) which from my data ...
6
votes
1answer
2k views

Styling GeoServer pbf vector tiles in Leaflet

I'm serving up vector tiles in pbf format in GeoServer 2.11.2 (using the MVT extension) and consuming them in Leaflet 1.2.0 with Leaflet.VectorGrid 1.2.0 but am having trouble styling them. The URL ...
6
votes
1answer
904 views

Create Vector Tiles from Local GeoJSON

Background In a leaflet application I am currently using geojson-vt to turn small geoJSON files (45MB) into tiles stored as a javascript variable. This cannot be done with the larger files (900MB) ...
6
votes
2answers
712 views

Creating a Vector Tile base map

I want to create a vector tile base map using my own shapefiles/postgis tables for use on a mobile primarily. By my understanding the process is divided into 3 main steps: Creating/slicing the data ...
6
votes
1answer
1k views

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 ...
5
votes
3answers
2k views

Render vector tiles to PNG on Android & iOS

I have an Android + iOS app using Google Maps SDKs to display a map, and I'm in the process of setting up an OSM tile server. I'm evaluating the possibility to use vector tiles instead of raster, but ...
5
votes
2answers
2k 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 ...
5
votes
1answer
401 views

Mapbox vector tiles version 2 MVTv2 and Geoserver 2.13.x

I use WMS on Geoserver to display MVTs in conjunction with mapboxgl.js v0.45.0. A OSM road layer renders 1:1 on top of the Mapbox base layer, so far so good. However, I got a warning from the js ...
5
votes
2answers
388 views

Data-defined styles in Mapbox vector tiles

Is it possible to style Mapbox vector tiles (Mapbox GL JS) using a feature's attributes? Assuming each feature has an attribute color which is a hex color string, I tried "paint": { "fill-color": ...
5
votes
1answer
575 views

Adding ArcGIS Online vector tile service in Leaflet map?

I am trying to add an arcgis online served vector tiles service to a Leaflet map. I am using ( https://github.com/Leaflet/Leaflet.VectorGrid ) to add the vector tiles to a Leaflet v1.3.1 map ...
5
votes
1answer
2k views

Generating and hosting vector tiles from GeoJSON - no errors, but no data

I wish to construct a pipleline that takes GeoJSON through to self-hosted MapBox vector tiles specification. My plan is: Tippecanoe converts geojson to .mbt mbutil converts mbt to tiles tileserver-...
5
votes
3answers
388 views

How to encrypt vector tiles JSON response

I am using TileStache to serve vector tiles from Postgres and using Tangram to display these tiles by passing urlhttp://localhost:8080/composite/{z}/{x}/{y}.json in the data source. The response i get ...
5
votes
1answer
3k views

How to cache and server pre-rendered vector tiles in pbf format?

I want to serve vector tiles server in pbf format. For that I used Mapnik-vector-tiles which is bundled by avecado. Using avecado_server i can render pbf tiles on the fly using ./avecado_server -b ...
5
votes
0answers
936 views

What is the best way to display a large shapefile (with polygons) as a layer on a leaflet map?

I have a leaflet map of the UK with around ~2000 points total points and a bit of metadata loading for each point with two side-panels showing the metadata. These points are drawn from several tables ...
5
votes
0answers
1k views

Vector tiles from GeoServer seem to work, but invisible

I run GeoServer 2.10.0 powered by a vector tiles plugin (geoserver-2.10-SNAPSHOT-vectortiles-plugin.zip) on Ubuntu Server 16.04. Following this official tutorial I tried to visualize a simple map in ...
4
votes
1answer
371 views

Reverse Engineering of Vector tiles and Tiles Security

I am using the following workflow to generate and visualize vector tiles. Store edited shapefile to PostGIS Create vector tiles using Tippecanoe from PostGIS data Serve vector tiles through ...
4
votes
1answer
298 views

Publishing existing Mapbox Vector Tiles using GeoServer?

I am new to Geoserver so it's entirely possible I'm missing something obvious. I have a large set of vector tiles created by another process in a complex workflow, and I would like to publish them as ...
4
votes
2answers
5k views

Offline Vector Tile Map for Android and iOS app [closed]

I am trying to generate vector files and store them in a MBtiles file to make them available for download within the app. (I have also tried with raster tiles and TileMill but the file were too large: ...
4
votes
1answer
2k views

Alternative to Tippecanoe for generating Mapbox vector tiles on command-line

Tippecanoe is the tool I always use for converting Shapefiles/GeoJSONs to Mapbox vector tiles in PBF format, for rendering in Mapbox-GL-JS. But it doesn't seem ideal: its primary use case seems to be ...
4
votes
1answer
1k views

Rendering tm2 projects? [closed]

What are the options for rendering tm2 projects? As far as I know the open source Mapbox tm2 projects have proprietary data sources (like OSM Bright 2), thus they are of little use, but some other ...
4
votes
1answer
213 views

Skip making Vector-Tiles for higher Zoom (18+)

I made the switch from raster to Vector Tiles for my maps sometime last year and so far I've been really satisfied with my decision. I have been making tiles from zoom 1 to 21 and it's been a real ...
4
votes
2answers
727 views

How can I create Mapbox vector tiles with zoom extent 0-4?

when I use Mapbox and load a vector polygon. after upload is done the file is converted to vector tiles. it is then assigned a zoom extent: How can I tweak this ? I would like the tiles created from ...
4
votes
1answer
201 views

PostGIS St_AsMVT latitude incorrect at low zoom levels

I'm using the St_AsMVT feature in Post GIS to create mapbox tiles. This works ok at high zoom levels (>9) but at lower levels the latitude appears to be significantly off...which gets worse as the ...
4
votes
1answer
109 views

Openlayers Vector label density

I am rendering vector tiles and the roads are made up of many line segments. Each segment has a line layer and symbol layer in the vector tile. I am getting repeated labels along main roads made up ...
4
votes
0answers
603 views

Mapbox GL JS style vector tile interaction in OpenLayers?

I am currently researching different approaches for integrating vector tiles (especially MVT and/or GeoJSON tiles, served from GeoServer) with OpenLayers (^4.0.0) in a manner that would retain access ...
4
votes
0answers
533 views

Construction of R-tree data structure for tiling polygon vector data

Because it is better for irregular distributed data, I want to create tiles using r-tree for my dataset. My dataset consists of 1214 polygons which represents building foorprints. After doing some ...
4
votes
0answers
752 views

mapbox styling of vector tiles with many features in openlayers 4

I am trying to process a vector tile source in OpenLayers using the VectorTile layer and source in OpenLayers 4.1. The backend is serving pbf (mvt-based) tiles from an mbtiles source. The tiles have ...
3
votes
2answers
1k views

Convert Mapbox Vector Tiles to Longitude and Latitude

I am using Mapbox's QA Tiles and Python to access OSM data. While the tile-based approach is very handy I got stuck with how the geometry is saved. Apparently, coordinates are optimized for Mapbox's ...
3
votes
2answers
569 views

Do Vector-tile file-names need zoom levels and if so, why?

I'm new to mapping and m looking to self-host some PBF-based vector tile files, mainly for a hybrid mobile app (Phonegap, HTML5, Openlayers or Mapbox-GL-JS). If I need to generate or pre-render ...