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
1answer
23 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
16 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
18 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
12 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
19 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 ...
0
votes
0answers
14 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
21 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
40 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 ...
1
vote
0answers
43 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
28 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
26 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 ...
0
votes
0answers
80 views

Vector tiles as datasource in MapServer

Does anyone already have experience with the integration of Vector Tiles as data source MapServer? With the current GDAL library and the MBTiles driver this should work. I use an MBTiles from ...
-1
votes
1answer
45 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
55 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
100 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) ...
0
votes
0answers
21 views

vector .mbtiles merging as grid structure from tilemill export

GIPHY Link for visual troubleshooting I have been using Tilemill .mbtiles exports as 1 degree bounded grids with uniform 5-17 zoom levels. I'm able to run the following merge tutorials, but each with ...
2
votes
1answer
57 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 ...
0
votes
0answers
73 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 ...
3
votes
1answer
72 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
58 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
89 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
293 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
142 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
344 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
64 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
79 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
0answers
57 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
53 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
53 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
41 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
146 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
57 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
204 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
456 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 ...
0
votes
1answer
119 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
82 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
77 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
87 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
187 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
159 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 ...
0
votes
1answer
155 views

generate own vector tiles on osm with filtered layers

I want to create my own vector tileset based on OSM free data but with filtered layers. How I must define desired layers for my result tileset? I have seen the link OpenMapTiles Vector Tile Schema ...
0
votes
0answers
105 views

Openlayers ol.interaction.Select() gives type error with vector tiles

I'm trying to implement layer selection in openlayers. When I use a vector layer (polygon) based on a GeoJson, it all works fine. However if my source is a vector tile I get a type error when I click ...
0
votes
0answers
118 views

Vector Tiles: Considering a rule, change each building color of Buildings layer

I'm consuming a Mapbox hosted map with Mapbox GL (but if needed, I can use leaflet or whatever) that has the standard Mapbox street layers including OSM Buildings layer plus a custom layer uploaded by ...
0
votes
0answers
51 views

GeoWebCache Standalone error with application/x-protobuf;type=mapbox-vector

with GeoWebCache standalone 1.12.2 installation, when I try to seed a application/x-protobuf;type=mapbox-vector vector layer, it responds me: org.springframework.web.util.NestedServletException: ...
0
votes
1answer
47 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 ...
0
votes
0answers
53 views

How to use tilehosting's v3.json file?

I am trying to use tilehosting's OpenMapTiles, but I am not clear on how to follow the instruction they give: Use vector tiles Copy link to TileJSON into your style. https://free....
5
votes
1answer
209 views

Adding ArcGIS Online vector tile service in Leaflet map?

I am trying to add an arcgis online served vector tiles service to a Leaflet map. I am using ( https://github.com/Leaflet/Leaflet.VectorGrid ) to add the vector tiles to a Leaflet v1.3.1 map ...
0
votes
1answer
79 views

Altitude isoline vector tiles?

Is there a service that can provide altitude isoline as vector tiles? I've seen that there are some posts on how to convert elevation tiles (raster DEM) with python or javascript applying some image ...
0
votes
1answer
92 views

Force tiles to load higher resolution in Openlayers

I've got some offline pbf files that I load into Openlayers through a HttpServer. These are static vector tiles of a certain area. Now I'm working on making sure that these are visible at the ...
1
vote
1answer
106 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. ...