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
0
votes
1answer
873 views

OpenLayers does not display vector tiles in their origin projection

I have 3 vector layers and one raster which I want to display with OpenLayers. I used Geoserver and Geowebcache for creating VectorTiles cache (in EPSG:4326). These cached layers displayed well in ...
3
votes
1answer
848 views

Extent property is not working with openlayers tile layer

I have an application where the images are load through the tiles, and I successfully made the tiles and was able to show them on the map. But never was able to set the extent of the tile layer. ...
1
vote
0answers
1k views

Mapbox Vector Tiles in Leaflet - How to get feature info?

I'm using geoserver to serve PostGIS layer (contains points only) as MVT (Mapbox Vector Tiles). I have a simple Leaflet application that displays that layer along with OSM or Google satellite imagery ...
4
votes
0answers
490 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 ...
0
votes
1answer
136 views

Create image from ESRI VectorTileServer using script

I have service from ESRI VectorTileServer https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_Childrens_Map/VectorTileServer/tile/{z}/{x}/{y}.pbf Map example: https://tiles....
1
vote
2answers
217 views

Mapzen / Tangram topojson building data alternatives

I'm using Vizicities to visualise 3d building data on a map. Vizicities uses Mapzen vector tiles: http://tile.mapzen.com/mapzen/vector/v1/buildings/{z}/{x}/{y}.topojson?api_key=[key] With Mapzen ...
1
vote
1answer
564 views

Adding Geometry to a mapbox vector tile using java library

I'm attempting to make a mapbox vector tile to be used in leafletjs. I have a couple of layers I need to do with this, but I started with a point layer since I thought it would be easier. I am using ...
7
votes
1answer
575 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 ...
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 ...
2
votes
1answer
208 views

How to change vector tile source provider in TangramJS

I rely on the Mapzen API to serve vector tiles to TangramJS which render in Leaflet using a style similar to Bubble Wrap (https://github.com/tangrams/bubble-wrap/blob/gh-pages/bubble-wrap-style.yaml). ...
1
vote
0answers
99 views

Geoserver sending BigDecimal data as String in vector tiles

Setup details: Geoserver: 2.12.1 DataStore: PostgreSQL 10.1 with PostGIS 2.4.2 mapbox-gl: 0.42.0 I am using mapbox-gl to render vector tiles from geoserver using TMS. I am styling the tiles using ...
0
votes
1answer
159 views

Where is data coming from Tilevector or mapstyle

I'm struggling to use the data that's in a vector tileset source (PortalsWithOrderNr) I commented out the add.source and add.layer but when I click on a portal I get most of the data that's in the ...
3
votes
1answer
2k views

Get properties data from MapBox vector tile source

I struggle with getting data from a MapBox Vector Tile source or MapBox DataSet. I found the example page from MapBox GL JS. The goal is to let users put in a number (1-24) in a input field, this ...
2
votes
1answer
172 views

Vector tiles for Oracle Spatial

I'm curious what solutions there may be for generating Mapbox vector tiles from SDO_Geometry data? There doesn't appear to be native support as with PostGIS.
1
vote
2answers
506 views

Vector tiles in Openlayers as WMS

I can make a vector tiles request with valid response against Geoserver as WMS but in OL you seem to have to use a ol.source.VectorTile source which is some kind of xyz-url. Perhaps WMS is possible ...
1
vote
1answer
168 views

Get Mapbox tile-reduce up and running

I'm new to Mapbox tile-reduce library. I would like to process OSM tiles for Portugal. I've download the mbtiles from Portugal. I've installed tile-reduce with: npm ini npm install @mapbox/tile-...
1
vote
1answer
157 views

tippocanoe feature filter not working

I use tippocanoe to build Mapbox Vector Tiles from GEOJSON features but can't get the filter to work. I use a geojson file which contains millions of features and want to filter them for different ...
2
votes
1answer
364 views

Geoserver VectorTile Error

I am using openlayers 3 to try and get vector data from my Geoserver 2.12.0. I am using ol.layer.vectorTile and ol.source.VectorTile to build my vector layer. The main goal is to pull polygon vector ...
1
vote
1answer
559 views

Error in OpenLayers: c.de is not a function

I've used vector tile in OpenLayers 4.1 to show vectors on top of OSM base map. The problem is, it shows a white screen and throws the "c.de is not a function" in the console. I debugged the code and ...
3
votes
0answers
292 views

Looking for Proxy Server (like MapProxy) but for Vector/Feature Data [closed]

Currently, I'm using MapProxy to pull raster tiles from web services, cache those tiles locally, then serve them back out. So MapProxy is acting as a performance enhancing proxy. Is there any piece ...
1
vote
0answers
290 views

Tileserver-gl custom styles

How to load custom style (mapbox GL JSON) when running a docker container of tileserver-gl? I have my own MBTILES vector tiles made with tippecanoe and Ive made a stylesheet. Want to load that JSON ...
3
votes
2answers
1k views

geojson to mapbox vector tile in nodejs

I'm looking for a way to transform geoJson (obtained from a query to potsgis) to mapbox vector format, serverside in nodejs, without using mapnik (I dont have access to the server and therefore cannot ...
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 ...
0
votes
0answers
100 views

Tiling triangulated irregular network (TIN)

I want to generate vector tiles for TIN which I created from elevation data. I want to use Tile Map Server (TMS) specification for vector tiles. But I did not understand how tile bounds can be ...
12
votes
2answers
294 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 ...
3
votes
1answer
765 views

Self hosting vector tiles

I'm building a web application, which involves (currently) a REST backend and a frontend SPA. The backend is hosting massive geo-enabled data, and the frontend is displaying it on a mapbox map. I'm ...
1
vote
0answers
238 views

Third Party Vector Tile Source in Mapbox Studio

I am currently styling a map in Mapbox Studio (the web interface, not desktop application) and would like to add a layer that draws on vector tiles from a third party. When I select "New Layer" and ...
0
votes
2answers
2k views

openlayers 4: force refresh tiles in ol.source.VectorTile on interval

I'm using openlayers 4, and have a ol.source.VectorTile which uses MVT tiles. I want to refresh the tiles every 5 seconds without refreshing the browser. I've used source.changed(), source.refresh(), ...
3
votes
1answer
346 views

Labels not rendering properly with OSM Bright style on Openlayers using Tileserver

Referring the document at Tilerserver I am using my local tileserver-gl-light but my label are not rendered correctly. Label appears as {name:latin}{name:nonlatin} or {name:en}{name:nonlatin} refer ...
0
votes
1answer
352 views

Dissolve Leaflet VectorGrid polygon at tile boundary by ID

I am using Leaflet and the Leaflet.VectorGrid plugin to display vector tiles on a map. My vector tiles contain Polygons that render fine, except that they are also rendering the split at the tile ...
2
votes
0answers
99 views

Editing vector tiles?

I'd like to create a web service where the user can edit some basic information of vector tiles. For example change the category of a street category from 5 to other value (4,3,2,1). I'm not so ...
0
votes
1answer
113 views

Disable auto-compositing in Mapbox

I've got a style in Mapbox Studio which, like all styles, has composited my layers with Mapbox layers into a single set of vector tiles. I'd actually prefer my source data to be kept separate (so I ...
1
vote
0answers
84 views

Why does Mapbox Studio deform my polygon layers?

I'm uploading perfect squares to Mapbox Studio, either .shp or .geojson, and the resulting layers are stretched or otherwise deformed. Here are my polygons as seen in QGIS, EPSG:3857. They are all 50*...
2
votes
1answer
1k views

Render raster tiles from a Mapbox GL style

I'm struggling to put together the appropriate stack for rendering raster tiles (for display of slippy maps) from a given Mapbox GL style. Style specifications: First there were the Mapnik XML ...
2
votes
2answers
465 views

Mapbox-GL-JS styles that use Mapzen's vector tiles

Are there any complete, public, styles in Mapbox-GL/JS format that use Mapzen's vector tiles? The only one I can find is Mapzen's own effort but it doesn't look like much effort has gone into it, it's ...
2
votes
1answer
385 views

GeoWebCache missing Vector tiles

I am using GeoServer 2.11.2 and GeoWebCache 1.11.1. I try to generate vector tiles in pbf format. There is a lot of missing tiles in the result. I try several things: set meta tiles to 1X1 use one ...
2
votes
1answer
73 views

Using mapbox to implement lighting effects?

I use mapbox.gl.js + postgrepsql+mapnik+ mapbox vector tile; this is my map: but I want this, The point of overlap is brighter:
5
votes
0answers
808 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 ...
4
votes
0answers
702 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 ...
1
vote
1answer
506 views

Is there a way to filter geoserver vector tile on request?

I am using Geoserver 2.11.1 with the vector tile extension to render data in mapbox-gl. I'm able to pull the vector tiles in no problem, but I also need to filter the data on the server side. ...
0
votes
1answer
621 views

OpenLayers 3 VectorTile Layer Reload style on zoom

I have a vectorlayer in my map and would like to change the style of features when the zoom level changes. Is this possible? var vlayer = new ol.layer.VectorTile({ renderMode: 'vector', ...
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 ...
1
vote
0answers
149 views

Combine vector and raster tiles

I have raster tiles in mbtiles format. I also have vector tiles in GeoJson format. My goal is to combine both tiles so they will overlap each other, the vector tiles will be on top of the raster tiles....
1
vote
2answers
633 views

Get <canvas> features inside a rectangle after drawing it

Let's start with https://jsfiddle.net/ziyuang/dfekwzhd/ Say, now I want to allow users to specify areas by drawing rectangles. After the map having a rectangular area, I want to have the information, ...
1
vote
0answers
174 views

Fill e.layer when firing events manually [closed]

(Asked on stackoverflow, but later found gis@stackexchange, and think it may be a more suitable place) I am using a L.vectorGrid.protobuf layer (named as pbfLayer) to display vector tiles, and I want ...
1
vote
0answers
1k views

Display .mbtiles in QGIS for web use

I am attempting to display Open Map Tiles (https://openmaptiles.org/downloads/#country) into my QGIS project but I am getting nowhere when attempting to load them into my project. Is there a specific ...
3
votes
2answers
4k views

Mapbox Vector Tiles from Geoserver 2.11 in Mapbox GL JS

I am running Geoserver 2.11.0, have installed the vector tiles extension and enabled the application/x-protobuf,type=mapbox-vector tile format. Requesting vector tiles from my server using OL3 works ...
1
vote
0answers
372 views

Can TileMill be configured to produce vector tiles, given a mapnik that supports the format?

Out of the box, TileMill 0.10.2 can import shapefiles from OpenStreetMaps (OSM), can style layers with CartoCSS, and can output an mbtiles file containing raster tiles (png). TileMill uses mapnik as ...
1
vote
0answers
100 views

Tilestache VecTile Encoding Error

I'm trying to fix what I believe to be an encoding issue with Tilestache and was curious if someone else has seen this issue. Here's an example of the string that gets passed: �9*y��c�ަ��uSA��ٍ�c��'�...
2
votes
1answer
575 views

Opening vector files in QGIS 2.18 causes error and crash

When trying to open vector files (.shp or .tab) in QGIS 2.18 and 2.18.3 on my desktop using either drag and drop or through Add Layer, I get the "qgis-bin.exe has stopped working" message and crashes. ...