Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen 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
2
votes
1answer
34 views

OpenLayers vector tile rendering problem on .NET Core 2.2

I working on OpenLayers vector tile. I am using PostGIS ST_AsMvt function for render my geom data. I sending query like this to PostgreSQL in my .NET Core server SELECT ST_AsMVT(mvt, 'geom', 4096, '...
0
votes
0answers
21 views

Displaying ArcGIS Online vector tile layer in Leaflet using Leaflet.VectorGrid Not displaying correctly

I have created a Vector Tile Package using ArcGIS Pro and uploaded it to ArcGIS Online. I am trying to load the layer into a leaflet map using the Leaflet.VectorGrid plugin. It successfully loads but ...
7
votes
4answers
2k 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 ...
1
vote
0answers
37 views

How To Display ST_AsMVT tiles in Leaflet

I have a large polygon dataset in PostGIS I would like to display in Leaflet map. I understand st_asmvt() query will return mapbox vector tiles. I can successfully query the data in postgis but I ...
0
votes
1answer
160 views

GeoServer & GeoWebCache - Issues with tile origins when setting alignTopLeft=true for a gridSet

I'm finding an unexpected behavior when setting alignTopLeft=true at geowebcache.xml for a gridSet. When I am navigating on the map within the same cache level everything works fine (even zooming in/...
1
vote
0answers
28 views

Generate EPSG:4326 Vector Tiles

My goal is to create EPSG:4326 vector tiles (using Plate Caree) that can be served in Leaflet. I currently have a .shp file, which I converted to a geojson file using ogr2ogr. The main obstacle to ...
3
votes
1answer
534 views

Format of output tiles from tippecanoe?

I generated a mbtiles file with tippecanoe and extracted it with mbutil to filesystem. (It named them all .png) Anyhow, what format are these tiles in? I tried parsing them with a vector tile parser ...
0
votes
1answer
38 views

Map .pbf CRS in QGIS?

I am trying to learn the Vector Tile Map, and got one pbf file for one tile. I can load it into QGIS, but how can I know the CRS? http://PBFSERVER/13/2411/3080.pbf Update: I am trying to follow ...
6
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 ...
2
votes
1answer
195 views

Configure styling of OSM with T-Rex vector tile server

I am using T-Rex as vector tileserver, osm2pgsql for importing the .osm.pbf file into the PostGIS database (table format - planet_osm_line, planet_osm, point, planet_osm_polygon, planet_osm_road). I ...
2
votes
1answer
156 views

ST_AsMVT single layer with multiple Id's

I'm trying to create mvt using postgis by following this tutorial If understand correctly ST_AsMVT is used to create a layer and generated layer will have id. same id can be used to apply styles. ...
1
vote
1answer
297 views

Styling Roads in Openlayers

I am building a style to work with vector tiles. My road geometries are many linestrings in a single layer. I want to style the roads by rendering a casing, fill and centreline from one geometry. ...
0
votes
1answer
72 views

Using Mapbox vector tiles from Geoserver in OpenLayers

Currently this error code is the only result: Uncaught Error: Unimplemented type: 4 at Pbf.skip (index.js:191) at Pbf.readFields (index.js:41) at MVT.readFeatures (MVT.js:250) at ...
0
votes
1answer
162 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 ...
0
votes
0answers
39 views

Simplifying Mapbox vector tiles from GeoServer for beter performnce?

I use MapBox Vector tiles from GeoServer on my open source web site. How can I improve the performance of this service and how can I simplify the geometry of this service for performance? I know that ...
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
98 views

Displaying GeoServer vector tile using OpenLayers?

I'm using OpenLayers 5.3 and GeoServer to create a web map. Previously, I was using Leaflet and was able to display my layer as a vector tile. Now, I'm having issues getting the vector tile to display ...
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:
1
vote
1answer
65 views

Adding Vector File Server Layer In QGIS w Plugin?

I'm using QGIS 3.8 and trying to connect to the following vector tile server layer using the latest version of the vector tile reader plugin: https://www.arcgis.com/home/item.html?id=...
2
votes
0answers
20 views

Creating custom tiles from information of a node-link graph?

For my thesis I want to visualize node-link graph in form of a Web GIS. The graphs consist of up to 30.000 nodes and edges. I am new to GIS, completely overwhelmed by the tools and techniques and do ...
0
votes
1answer
172 views

Highlighting polygons of Mapbox tileset on hover?

I am trying to highlight polygons from a Mapbox tileset on a map on hover. Based on Mapbox's tutorial I am adding a feature state hover to the data that is set through mousemove and mouseleave events. ...
1
vote
1answer
91 views

Can't add VectorTile in Openlayers 4

I'm trying to add a vector tile layer in my app using Openlayers 4 , but I'm getting the error as follows , ol.js:753 Uncaught TypeError: a.replace is not a function Here is my code to add the vector ...
3
votes
1answer
135 views

T-rex tile server with postgis (windows) : utf-8 encoding error

I want to use T-rex as vector tileserver on Windows. I load osm.pbf file (from geofabrik) to PostGIs dataBase with osm2pgsql successfully. When I run the server with the following commands, I get the ...
0
votes
1answer
47 views

Generate concentric polygons using Turf

I'm interested in trying to reproduce this kind of cartography in a Mapbox/Turf/vector tile stack: I would start with the polygon for the lake edge, and generate a series of concentric polygons ...
1
vote
1answer
45 views

ESRI ArcGIS Runtime for .NET view non ESRI Vector Tiles

I am trying to view some vector tiles hosted outside of ArcGIS Online/ArcGIS Enterprise on my own tile server (Flat non indexed tiles). I have been unable to add the Tile Server to the .NET Runtime ...
0
votes
0answers
17 views

GeoServer Vector Tiles Accuracy Problem

I used GeoServer connected to DB with the vector tile extention to export mapbox vector tiles to mapboxGL. i created a new grid for the 512x512 pixels, because 256 looks too simplify. On zoomlevel 11 ...
0
votes
0answers
21 views

Actual components that can be used to generate vector tiles [duplicate]

I want to try Vector Tiles. It's mean that I want to generate my current data and periodically update tiles. What source data I have: Some big tables with geometry on `MS SQL Server` Debian 9 ...
2
votes
0answers
127 views

Converting GeoJSON file to vector tiles

I need to display huge GeoJSON file using OpenLayers. So I decided to use VectorTiles. Library geojson-vt.js works perfectly for me, but unfortunately it requires my GeoJSON file to be preloaded on ...
2
votes
0answers
192 views

Fast Dynamic MVT generation

I am trying to migrate from serving static MVT to generated on the backend by PostGIS with ST_AsMVT(). Or find a way of minimizing the time of building MVT from the database. I have a dataset of ...
0
votes
1answer
104 views

Is vector tile a feasible option for dynamic data?

I want to create an application using vector tile. I am using OpenLayers 5 and GeoServer 2.14 for this purpose. My data (stored in PostgreSQL+PostGIS) has around 2.5 lakhs geometry (road network) ...
6
votes
1answer
837 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) ...
3
votes
2answers
95 views

Combining GeoServer vector tiles with QGIS

I am using QGIS 3.8 (or 3.4) with the vector tile plugin: https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin I've also installed the vector tiles plugin for GeoServer 2.15.1. The problem ...
1
vote
0answers
42 views

QGIS Vector Tiles Reader does not apply style

I have downloaded Vector Map Tiles from Open Map Tiles and have these tiles as local .mbtiles file. In QGIS there is the plugin called Vector Tiles Reader and I have the following problems: I ...
2
votes
0answers
73 views

Styling GeoServer vector tiles using *.sld files (PostGIS, QGIS, Leaflet)

I've been styling vector layers published to GeoServer using *.sld files saved from QGIS as explained in this link. Now, I'd like to work with vector tiles. While I am able to code the JSON within ...
1
vote
0answers
91 views

Show/Hide labels of Vector Tile layers on button click

I have displayed vector tiles layers with "application/vnd.mapbox-vector-tile" format in Open Layers 3.While creating vector tile I have applied only image style. I want to display labels for existing ...
0
votes
1answer
24 views

Tile packaging geometry error?

Following the Arcmap 10.6.1 help content instructions, I'm attempting to create a tile package on my local drive, using File > Share As > Tile Package... However, I get this error: I find “...
0
votes
0answers
30 views

Convert Mapbox vector tiles to GeoJSON in browser

Although Mapbox's vt2geojson is fine for node use, I need to convert vector tiles to JSON in the browser. I haven't found a browser based solution for this. Is there one? Possibly the solution is ...
1
vote
0answers
27 views

How to add GeoServer vector tiles in ArcGIS using ArcGIS JS API

I am trying to display vector tile layers from GeoServer in ArcGIS using JavaScript API. I have referred this.here they have used tegola service but i want to add "application/x-protobuf;type=mapbox-...
4
votes
1answer
986 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 ...
1
vote
0answers
17 views

Change or remove default style in GeoServer tiles layers

I have publish vector tiles layers in GeoServer. It's displaying with default style as shown in image and . I want to change style for vector tiles in GeoServer.
4
votes
1answer
103 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 ...
0
votes
0answers
38 views

Vector Tiles generating taking time in Geoserver

I have displayed map box vector tiles for EPSG:3857 projection customized by me with 21 zoom levels.below is code using in my application <!DOCTYPE html --> <html> <head> <...
1
vote
0answers
28 views

Snapping to vertices in vector tile layer using ArcGIS Pro?

I am trying to create features in a geodatabase layer using the tracing tool of ArcGIS Pro. I am able to use other shapefile layers in the project for tracing but vector tile layers loaded from the ...
1
vote
1answer
790 views

Rendering gridded time-series data with Leaflet.js

Background My colleague and I have developed a web-app for visualizing gridded time-series data (in the arctic) using leaflet.js with webgl-heatmap. The source data is in netCDF format, which we ...
0
votes
1answer
64 views

Mapbox Vector Tiles appear to lack accurate intersection nodes?

Mapbox Vector Tiles appear to lack accurate intersection nodes. Is this a bug? i.e. should the tile's geojson include a shared node between two intersecting streets? Details: Using MVT's from http:...
1
vote
0answers
47 views

Storing a large amount of vector layers on PostGIS

I'm developing a web application where PostGIS will be used as a vector tile server backend to serve mvt tiles. For each user of the application at least one vector layer will be created. So, ...
0
votes
0answers
25 views

Cannot display GeoServer vector tiles when serving web map using IIS [duplicate]

I am currently developing a web map with Mapbox GL JS. I have been adding layers to the map from GeoServer using the following url: "http://localhost:8080/geoserver/...". When opening the map in ...
0
votes
0answers
228 views

Interact with vector tiles from Mapbox in Leaflet.JS

I am trying to add GeoJSON layers on a Leaflet.JS map, but there are GsoJSON files with a very big size that can not be rendered as GeoJSON on the map. So i have added it to the map vector tile ...
1
vote
0answers
143 views

Generate vector tiles for dynamic data

I am having around million features stored in PostgreSQl table (with PostGIS extension). I can generate vector tiles by performing below steps Generate GeoJSON from PG table using GDAL Generate ...
1
vote
0answers
23 views

vectortiles: change style of basemap instead of data

I'm using Mapbox-GL-Leaflet bindings on Leaflet to style my vector tiles. I'd now allow the user to switch a style using Leaflet control. The easiest way would be to use LayerControl for this. Since ...