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
1
vote
0answers
9 views

Adding a popup to features in a leaflet.vectorgrid layer

I am loading a tile set from MapTiler to my leaflet map. I have no trouble styling each feature in the tile set. I can set each feature to the appropriate color. I would like to also add a popup to ...
2
votes
2answers
35 views

Styling polygons in a map tile PBF file in Leaflet

How can I dynamically add data to a pbf file generated by Maptiler? I created a pbf file with the MapTiler desktop application. I started with a geojson file containing polygon geometries. My file is ...
1
vote
0answers
32 views

Using Leaflet.VectorGrid with local GeoJSON and addLayer

I am trying to test out Leaflet.VectorGrid from https://github.com/Leaflet/Leaflet.VectorGrid. My overall goal is to load a large 20MB or larger geojson quickly. I am getting this error... "...
0
votes
0answers
15 views

Mapnik datasource error connection

I don't know why doesn't render a vector tile. In localhost works perfectly but when I'm working with my production server doesn't work. I have a route to test if my server tile is connected with ...
1
vote
0answers
19 views

Cluster Source with tiles

Is it possible create a cluster source with tiles? With geojson works perfectly but I would like to work with a tile source. map.on('load', function () { // add source map.addSource('...
1
vote
1answer
16 views

How can insert properties on a vector tile

I am trying to set up a web server in Node.js that serves vector tiles to be displayed in a browser using MapboxGL JS. The data for the vector tiles is stored in a Postgressql database with PostGIS ...
1
vote
0answers
28 views

Why Server Vector Tiles for MapboxGL Client rendered incorrectly

I am trying to set up a web server in Node.js that serves vector tiles to be displayed in a browser using MapboxGL JS. The data for the vector tiles is stored in a PostGIS database. I receive a ...
1
vote
0answers
53 views

Improving the performance of a map showing millions of point - Vector Tiles vs WebGL [closed]

I am trying to display a map with millions of points with OpenLayers. I published a Multipoint shapefile as Vector Tile service with GeoServer. When I display the map at a low scale, it takes some ...
1
vote
0answers
30 views

Displaying Vectortile Source using ngx-openlayers

I downloaded a tileset from OpenMapTiles and host it with tileserver-gl, what is working just fine. Now I want to load and display the vector tiles in an Angular 7 application using ngx-openlayers, ...
1
vote
1answer
28 views

Uploading MVT to MapBox result in error “Tile exceeds maximum size of 500k at z5…”

I have just recently started to use MapBox. I am trying to convert a huge GeoJSON file (1.28GB) into MVT for uploading into a MapBox. I am using ogr2ogr and this command-line: ogr2ogr -progress --...
2
votes
1answer
46 views

Determine correct tolerance/epsilon for line simplification in different zoom-levels when generating vector tiles

I am writing my own vector-tile generator for a map renderer that I have written, but I am unsure of how to pick the correct epsilon value to use in the PostGIS method ST_Simplify depending on the ...
2
votes
0answers
48 views

Select GeoServer vector tiles feature using OpenLayers and show features attribute in popup?

I have installed vector tiles extension in GeoServer and published a PostGIS tables using this format. The requested vector tiles from GeoServer using Openlayers works fine. Now, I want to select and ...
0
votes
0answers
19 views

Calculate tiles required by GeoJSON [duplicate]

Is there a utility to determine which vector tiles a GeoJSON uses. It is not feasible to print all tiles within a bounding box if its huge. I currently do this by finding the level 18 tiles holding ...
1
vote
1answer
57 views

How do you 'incrementally' create vector tiles?

I am serving my own vector tile layer. In my current setup when a point of interest is added by a user it is stored in PostGis and the relevant zoomtiles are reproduced and written over the previous ...
2
votes
1answer
76 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
54 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 ...
2
votes
0answers
113 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 ...
1
vote
0answers
38 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 ...
0
votes
1answer
52 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 ...
0
votes
0answers
53 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
1answer
171 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 ...
1
vote
1answer
106 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
26 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
52 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 ...
0
votes
0answers
21 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 ...
3
votes
0answers
262 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 ...
3
votes
0answers
426 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 ...
3
votes
2answers
154 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
51 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 ...
3
votes
1answer
198 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
0answers
138 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
115 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
0answers
32 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 ...
0
votes
1answer
30 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 “...
1
vote
0answers
38 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-...
1
vote
0answers
21 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.
0
votes
0answers
47 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
38 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 ...
0
votes
1answer
80 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
59 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
28 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
318 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
179 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
25 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 ...
1
vote
0answers
225 views

MapBox SDK load local MBTiles

does anyone know how I can load local MBTiles from the device storage using the MapBox SDK? The vector Tiles come from this Website: https://openmaptiles.com/downloads/planet/ The same page offers ...
2
votes
1answer
302 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. ...
2
votes
1answer
245 views

Set min and max zoom level to include a specific layer in GeoServer vector tiles

GeoServer has the capability of creating vector tiles in formats such as GeoJSON, TopoJSON or PBF from different kinds of data stores. In a test application, there is a layer group of an area which ...
1
vote
1answer
50 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
55 views

Decrease the volume of vector tiles generated by GeoServer

I've used GeoServer vector tile extension to produce PBF files from set of shape files. The problem is the generated MVTs from GeoServer have larger volume in comparison with Mapbox ones. How can I ...