Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
27 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/...
0
votes
0answers
21 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. ...
0
votes
0answers
14 views

Are there any command line tools that convert GeoJSON to tiles directly

Are there any command line tools to convert .geojson files to tiles in PNG format? I have read about many questions regarding the same but I didn't find any concrete answer/implementation. Planning ...
2
votes
1answer
21 views

How to generate a correct HTTP response for a pbf within AWS API Gateway?

I am attempting to implement this approach to serving vector tiles from PostGIS using a lambda function and an AWS API Gateway Method: https://www.sparkgeo.com/blog/vector-tile-server-using-postgis. ...
2
votes
1answer
47 views

Understanding Vector Tiles?

I'm having trouble understanding the concept of a Vector tile. My understanding of Vector is point, line, polygon. So buildings, roads, areas etc. My understanding of Raster is a grid of pixels each ...
1
vote
0answers
29 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
1answer
81 views

Implementing Access Token in Tile Server?

I am using Tileserver-GL for rendering vector tiles to web and mobile. For web, I am using Mapbox JS API GL and for Mobile, I am using Mapbox android SDK. Currently, I am using flat URL given by ...
4
votes
1answer
124 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 ...
0
votes
0answers
69 views

Does OpenLayers 4.6.5 (or latest 5.3.0) support reprojection of VectorTiles in MVT format?

I have been setting up my own MVT-service, which takes some GeoJSON input and convert it to MVT tiles. Then I've used Open Layers 4.6.5 to render the tiles. The testdata I have been playing with is ...
0
votes
1answer
81 views

Is it possible to serve vector tiles directly from S3?

I have seen that it is possible to use S3 as a storage backend for vector tile servers such as Tegola. These work by fetching the tile from S3, then serving it through an application server. Is there ...
2
votes
0answers
41 views

Why use GeoServer or Tegola to generate vector tiles from PostGIS rather than ST_AsMVT? [duplicate]

I don't have much experience generating vector tiles dynamically. Instead I use Tippecanoe. I'm looking at generating tiles from PostGIS and see at least three options: PostGIS + Geoserver (with ...
1
vote
1answer
59 views

Tile boundary issue with ST_AsMVT

I have been following a post here to create vector tiles direct from my database. My data is in WebMercator. I am using the query: SELECT ST_AsMVT(tile) FROM (SELECT dh_id, ...
0
votes
1answer
53 views

Extracting data from vector tile package (.vtpk) using ArcGIS Pro?

I have been provided with 1m land contours in a vector tile package (.vtpk). It is 14GB. Is it possible to extract the data from the .vtpk into a geodatabase? I have access to ArcGIS Pro 2.2, ...
1
vote
0answers
31 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. ...
0
votes
0answers
50 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 ...
0
votes
0answers
21 views

ArcGIS Pro - cannot match vector tiling scheme

I want to create vector tiles so my map features will draw super fast as tiles and yet be queryable for pop ups. I need to create a vector tile index before creating the vector tile package but keep ...
0
votes
0answers
23 views

Creating Tile Layer for ArcGIS Online using ArcPy?

I'm trying to generate tile layer out of shapefile in Python script. Is there a good sample script to do it with ArcGIS API or ArcPy function ? When I upload shapefile to ArcGIS online, I see ...
1
vote
1answer
38 views

Is it possible to add vector tile layer published by GeoServer layer using ArcGIS JS API?

GeoServer can publish vector tile layer in format of “application/x-protobuf;type=mapbox-vector”, and I believe the ArcGIS JavaScript API supports this format. So is it possible to add vector tile ...
0
votes
0answers
40 views

Mapserver with tileindex to Mapbox

I have many tif files in a single directory which I want to show as a layer in Mapbox. Starting with Mapserver (running a Docker container) to publish the tifs as PNG raster layer. I receive png ...
4
votes
1answer
57 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 ...
2
votes
0answers
57 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 ...
1
vote
0answers
40 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. ...
0
votes
0answers
47 views

How to style with mapbox a custom mbtile?

I have uploaded in my tile server a mbtile which I have created from a shapefile. I am trying to display this using the mapbox style but I am not sure what parameters to pass in the source-layer The ...
-1
votes
1answer
73 views

Geoserver MVT v2

Is there a geoserver extension (2.13.x) to generate MVT in spec v2 or some plan to include it within the extension or other plugins that allow to generate mvt v2?
3
votes
1answer
78 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
173 views

OpenLayers 5 Vector Tiles Styling and ESPG:4326 projection issues

I have a OL5 map using a projection of EPSG:4326. I am adding a Vector Tile layer with a projection of ESPG:4326. I am using Open Layers Mapbox Style (https://github.com/boundlessgeo/ol-mapbox-style) ...
2
votes
1answer
93 views

How to set Tomcat to completely prevent browser from caching my PBF vector tile?

I need to publish a geometry table (in PostGIS) as a layer of vector tiles (in PBF format) in GeoServer. As the table is dynamically written by a production web app, i need to set the layer's caching ...
1
vote
0answers
131 views

Getting started generating vector tiles

I am working on an app that displays a nice map. Currently, we use raster tiles, but we'd like to switch to vector tiles. We want the freedom to add all the information we want, so we want to create ...
4
votes
1answer
80 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 ...
1
vote
0answers
98 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
1answer
151 views

How to get vector tiles to self-host

The question Self-hosting Mapbox vector tiles pointed to the ability to self-host MBTiles formatted tiles (an open specification, the MB is not related to Mapbox I don't think). The answers to the ...
0
votes
0answers
464 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 ...
2
votes
0answers
222 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 ...
5
votes
1answer
615 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
82 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
1answer
97 views

Using ArcGIS Pro Vector tile package in ArcGIS Desktop?

Does anyone perhaps have a work around for reading a ArcGIS Pro Vector tile package in ArcGIS Desktop? There is an option to open the online service in Desktop but raises an unsupported file type ...
0
votes
1answer
114 views

Using Vector Tile Maps Offline in a Hybrid App (ArcGIS API for JavaScript)

I will create a hybrid map by using ArcGIS API for Javascript. I want to use my own hosted vector tile basemap as offline. What do you advise? Are there any ways to use ESRI Vector Tile Package (....
1
vote
1answer
93 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 ...
1
vote
0answers
66 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 ...
0
votes
0answers
66 views

How to find features in Openlayers VectorTiles

I use MVT vector tiles with Openlayers and everything works fine - but now I have a conceptual problem. I need to make features selectable and searchable. The problem is that there is no way to ...
1
vote
3answers
226 views

Creating a source and a layer from vector tile features in Openlayers

So I retrieve all my features from a vectorTile layer (PBF from Geoserver), and now I want to recreate a layer by filtering on those features and getting only those that satisfy a request. I ...
0
votes
0answers
77 views

Mapbox minimum zoom extent

I uploaded a custom shapefile (converted to geoJSON) using the mapbox python SDK and visualize it in a Jupyter Notebook using the MapboxGL python module. After I successfully upload the GeoJSON file ...
0
votes
1answer
262 views

How to display large geospatial data in a jupyter notebook with style and tooltip?

I have a large amount of data stored on a postgreSQL database (RDS) with the PostGIS extension enabled. We are currently doing quality assessment of the data and therefore I would like to inspect/...
3
votes
3answers
686 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 ...
1
vote
2answers
168 views

How to find layer names within vector tiles, without TileJSON or the .mbtiles file?

I'm trying to use an endpoint in Mapbox vector tile format. I can access the .pbf's ok, but there's no documentation or TileJSON endpoint. How can I find the names of layers that exist within the ...
4
votes
1answer
108 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 ...
0
votes
1answer
113 views

Adding geojson features to OpenMapTiles displayed with MapboxGLJS is not working

The OpenMapTiles example for display using Mapbox GL JS works nicely to display the map. However, when trying to add lines and features to the map using Mapbox GL JS functions like this: map.on('...
1
vote
1answer
100 views

Mapbox Vector Tiles dropping features across tile boundaries

I'm currently working on a project that involves the creation of vector tiles from geojson files. These vector tiles are then displayed using Mapbox GL JS. Recently, we've ran into an issue where ...
5
votes
1answer
216 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 ...
0
votes
0answers
203 views

Vector tiles from Geoserver to Openlayers return with 404 not found

I'm trying to make a vector tile service in Openlayers 4.6.5 using Geoserver 2.13.1 only on localhost. As a test I uploaded a shapefile to the server and configured it so it can be published with ...