The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

75 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
5
votes
0answers
811 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
981 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
0answers
550 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
493 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
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 ...
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 ...
3
votes
0answers
51 views

Rotating orthophoto based on polygon boundary (rotated pixel)?

When I clip an orthophoto using a vector polygon, the resulting pixels orientation is north-up like as shown in the graphic below. I used Global Mapper, ERDAS, Arcmap "Clip" "Extract by Mask", "...
3
votes
1answer
134 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 ...
3
votes
0answers
246 views

mapnik-vector-tile produces tiles with only one feature

I've written some C/C++ code to wrap mapnik-vector-tile and produce a mapbox vector tile from GeoJSON. mvtc_return * mvtc_from_geo_json(const int tile_size, const ...
2
votes
0answers
19 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 ...
2
votes
0answers
125 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
175 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 ...
2
votes
0answers
72 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 ...
2
votes
0answers
195 views

How zooming Google Maps works regarding the new projection?

Please help understanding how tiles now work on Google Maps. As I understand (these are all assumptions, please feel free to correct) the following happens: Google Maps now work with orthographic ...
2
votes
0answers
476 views

How to get GeoServer Vector Tile work

I have a spatial table in PostGIS that gets written (Insert/Update/Delete) by a production web app. Almost every minute there's write to the table. The app shows the geometry of the table on web ...
2
votes
1answer
194 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
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 ...
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:
2
votes
0answers
236 views

Leaflet with GeoJSON Tiles and a Partitioned Datastore

I'm looking at displaying a frequently updated (potentially thousands of points per second) global dataset of locations on a tiled slippy map. Functionally I'm just going to be putting a marker down ...
1
vote
0answers
35 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
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 ...
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 ...
1
vote
0answers
90 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 ...
1
vote
0answers
26 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
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.
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
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, ...
1
vote
0answers
141 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 ...
1
vote
0answers
162 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 ...
1
vote
0answers
82 views

PerpendicularOffset is not working for vector tile

I want to create an application using vector tile. I am using openlayers v.5 and geoserver 2.14.1 for this purpose. In geoserver SLD i have added OGC filter which filters geometries on the basis of ...
1
vote
0answers
73 views

Is it possible to add OS Open Carto vector tiles to QGIS 3?

I am interested to learn whether it is possible to view Ordnance Surveys OS Open Carto vector tiles in QGIS - I am using QGIS 3.4.2. The data I would like to add can be found here, and I have tried ...
1
vote
0answers
150 views

PBF vector tiles reach the client through Apache HTTP Mod_rewrite, but not shown in Leaflet. How to show these PBF in Leaflet?

In short: This is about proxy-ing access to OpenMapTiles (OMT) by Apache Http. The proxy works hence the PBF tiles from OMT reach the client. However Leaflet fails to draw the PBF tiles in the map. ...
1
vote
0answers
195 views

Mapbox multiple filters to layers

I'm new to Mapbox GL and want to understand how i would go about the following; I have 5 principle layers (from the same source, all vector tiles from Geoserver) which will only be drawn in ...
1
vote
0answers
127 views

Custom feature ids from GeoServer

i've come across an issue with the generated feature ID from GeoServer. The generated ID is a concatenation of the layer id and the feature primary key, rendering something like 'assets-1234566' say. ...
1
vote
0answers
183 views

Vector tile layers over 3D terrain

I have a set of vector tile layers I'm hosting (mbtiles) on Mapbox. Currently, I'm using Leaflet to overlay these on a 2D satellite view and works. However I'm wanting to add in some features to my ...
1
vote
0answers
1k views

Vector Tiles VS Raster Tiles for leaflet

I have downloaded many vector tiles in the mbtiles format from OpenMapTiles. The reason I did that is because I will be using them on a station that cannot have an internet connection at all. I would ...
1
vote
0answers
133 views

Points won't display on map using OpenLayers 3 and MapServer

Im constructing a Vector-tile map using data from the following site GeoNorge -N5000. Im constructing it using OpenLayers 3 and MapServer with the data being passed from a PostGis database. I've ...
1
vote
0answers
112 views

obfuscate real coordinates

Due to copyrights I cannot deliver some POIs as plain vector data using GeoJSON in Leaflet or OpenLayers. I'm therefor looking for some kind of sane obfuscation, to make it harder for normal users to ...
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 ...
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. ...
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 ...
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 ...
1
vote
0answers
291 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 ...
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 ...
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*...
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
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 ...
1
vote
0answers
373 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 ...