Skip to main content

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
1 answer
62 views

How to add vector tiles from GeoServer to QGIS?

I have a problem with displaying vector tiles in QGIS. I get the tiles from GeoServer with application/vnd.mapbox-vector-tile format enabled. When I use the link to the tiles as a source for Mapbox GL ...
Ilya's user avatar
  • 33
0 votes
0 answers
12 views

How to modify URL of an existing QgsVectorTileLayer and retrieve visible tiles in PyQGIS

I am developing a plugin in PyQGIS that involves creating a QgsVectorTileLayer using a URL in XYZ format, which points to a local vector tiles server (in this case, a PG_tile_serv). Creating the ...
SatoshiGG's user avatar
0 votes
0 answers
43 views

Lizmap / QGIS Server Opening Project Issues

I'm currently working on making work Lizmap on a Debian VM. So I've already correctly opened a QGIS project on Lizmap using PostGIS layers, but I had slowdowns with this project due to cache not ...
kzr1999's user avatar
0 votes
0 answers
34 views

ERROR 999999: Something unexpected caused the tool to fail && Error - Failed to execute (Manage Vector Tile Cache)

I'm trying to publish a web layer (which data come from a postgresql VIEW) in the arcgis entreprise portal. The web layer is published succesfully however the features are not visible in the portal, I ...
Jamal Samlani's user avatar
0 votes
0 answers
31 views

Filtering on MVT layers

I'm looking to serve MVT layers from GeoServer using a PostGIS data store. I was hoping to use a condition in the SQL view and provide viewparams to limit what data is served. I think this is not ...
user242946's user avatar
2 votes
3 answers
151 views

Getting xmin, xmax, ymin, ymax from grid in QGIS

I need to obtain the xmin, xmax, ymin, and ymax coordinates of grid cells, to precisely export each grid cell of a raster map to MBtiles. This grid was created and modified using GlobalMapper software....
Thomas's user avatar
  • 41
2 votes
0 answers
111 views

Optimize PostGIS query times [closed]

I am trying to optimize PostGIS query times. I currently have two tables in the db: cj_geometry: id:integer; metadataId:text; location:geometry; groundgeometry:geometry; bbox: geometry; cj_feature:...
pcace's user avatar
  • 237
1 vote
1 answer
69 views

Converting geography x, y values from vector tiles data to lat long in Leaflet

I am using the following map for India (https://data.maptiler.com/downloads/tileset/osm/asia/india/) and serving it via a server to send pbf files. The map shape is rendering correctly, and I want to ...
KARTIK TIWARI's user avatar
2 votes
0 answers
35 views

Include aditional data (jsonb) to PostGIS MVTgeom from query

I am trying to understand how I would add additional data to a MVT tile in a PostGIS query. Currently i use martin (https://martin.maplibre.org/) to serve tiles. Internally it does a query like this: ...
pcace's user avatar
  • 237
0 votes
0 answers
32 views

Own map server - nicer map styles? [duplicate]

I want to create my own map server I've done this in the past and used maputnik to edit the styles I used the osm-liberty and osm-bright as a base before https://maplibre.org/maputnik/?layer=...
Quade's user avatar
  • 223
2 votes
0 answers
74 views

Display MVT vector tiles from PostGIS ST_AsMVT

I am trying to generate tiles on the fly from a PostGIS db using this query: SELECT encode(ST_AsMVT(mvtgeom.*, 'admin', 4096), 'base64') -- SELECT ST_AsMVT(mvtgeom.*) FROM ( SELECT ST_AsMVTGeom( ...
pcace's user avatar
  • 237
1 vote
1 answer
35 views

How to get rid of status: 400 when using MapBox GL JS with GeoServer data?

I have uploaded the data to a local Geoserver and am connecting it to my map on MapBox GL JS. The data is displayed correctly on the map and does not cause any errors in the logs. But when I start ...
Ilya's user avatar
  • 33
0 votes
1 answer
38 views

Moving from OSM to MapBox how do I get tiles that look similar to OSM/Google from a out of the box tileset?

I am hitting the OSM 418 I am a teapot rate limit, and want to use a different base map provider. An option I am attempting to move to is MapBox, however I am stuck with a very ugly map and I have no ...
Iain's user avatar
  • 1
1 vote
2 answers
143 views

Cloud-optimized vector format

Currently, cloud-optimized GeoTIFFs (COGs) are a great format for storing rasters on the cloud, with the ability to read only the portions that you need (stream) at a given time from a client. Cloud ...
Oliver Lopez's user avatar
  • 1,274
0 votes
0 answers
90 views

Styling OpenStreetMap Data for Custom Maps

I'm relatively new to the mapping world and I'm confused about several points. I'm currently working on a project, which is a mobile app that uses maps. Regarding the map, you can imagine it to be ...
Mezza 's user avatar
0 votes
0 answers
53 views

Feature not showing on zoom levels, despite scale range (QGIS)

I have an MBTiles file I am editing in QGIS. I have isolated the "transportation" layer to only show roads, and I want the major roads to appear at all zoom levels: However, these major ...
Sidders's user avatar
  • 113
0 votes
0 answers
20 views

how to export mapbox studio style to vector tiles?

I created a map style in Mapbox Studio. Using https://api.mapbox.com/styles/v1/{userid}/{styleid}/tiles/256/{z}/{x}/{y}@2x?access_token={access_token}, I can put the raster tiles on my leaflet-react ...
Anna1's user avatar
  • 3
1 vote
1 answer
106 views

OSM Vector tile ST_AsMVTGeom SQL query Coordinates error

I am currently working on developing a Node.js API with Express to retrieve vector tiles from a PostGIS database. I am using the ST_AsMVTGeom function to transform geometries into vector tiles, but I ...
AhmeX2's user avatar
  • 123
0 votes
0 answers
38 views

Error on deleting vector file written by QgsVectorFileWriter on Windows

I wrote a QGIS plugin which writes vector layers to vector files using PyQGIS method QgsVectorFileWriter.writeAsVectorFormatV3(). I then use different processing methods to clean geometries, etc. and ...
geraldo's user avatar
  • 960
0 votes
0 answers
110 views

Render Vector Tiles Layer with WMS/WMTS QGIS Server

I have a project with Vector Tiles layer (https://panoramax.openstreetmap.fr/api/map/{z}/{x}/{y}.mvt). The project has other test layers. It is perfectly rendered in QGIS Desktop (3.34.2) both test ...
Charles's user avatar
  • 370
1 vote
1 answer
220 views

Extract features in lat-long co-ordinates from vector tile layer PBF file, Python

I'm trying to extract features using python from a vector tile layer's single .pbf tile : https://indianopenmaps.fly.dev/google-buildings/{z}/{x}/{y}.pbf This tile layer comes from : https://github....
Nikhil VJ's user avatar
  • 1,026
0 votes
1 answer
140 views

Display vector tiles (PBF) in Leaflet after exporting from QGIS

Loading a vector tiles in leaflet with leaflet.vectorgrid I'm getting Error: unknown command 4 core code that fails: var pbf_testSlope = new L.vectorGrid.protobuf('https://myx.ch/test/...
Beni's user avatar
  • 356
1 vote
1 answer
82 views

Get events fired for all objects in a protobuf layer when clicked on in Leaflet.VectorGrid?

I am using Leaflet.VectorGrid to display a Vector Tiles layer that is loaded from pbf tiles from a tile server. <html> <head> <title>Vector Map</title> <body> <...
user3147507's user avatar
0 votes
0 answers
61 views

Get getFeatureId from a VectorGrid.Protobuf layer on click event

The vector Tile come from geoserver. I want to get the id when I click it and use it to send WFST to geoserver (WFST requires fid). var vectorTileOptions = { ...
andy's user avatar
  • 1
2 votes
0 answers
90 views

Troubleshooting GeoServer Vector Tile TIME VIEWPARAMS Misinterpretation in Mapbox GL JS Integration

I am trying to deploy a spatial layer with data in PostgreSQL/PostGIS. The data has a temporal dimension and is configured as such in GeoServer. The goal is to use the layer through Mapbox GL JS and ...
Jean-François Legendre's user avatar
0 votes
0 answers
510 views

How to display PBF tiles on MapLibre GL JS

I am new to MapLibre, I used to work a lot with Leaflet. I am trying to display PBF vector tiles generated from QGIS, which I cannot display with Leaflet (I have errors trying to use Leaflet....
Arkeen's user avatar
  • 363
1 vote
2 answers
536 views

Add vector OSM XYZ layer in QGIS?

Marble has an option to display OSM's vector map. Is there a way to add this vector map into QGIS? I see the raster XYZ URL format is: https://tile.openstreetmap.org/{z}/{x}/{y}.png Is there a ...
Geremia's user avatar
  • 210
0 votes
2 answers
121 views

Missing line segment when serving a vector tile from PostGIS

I'm hosting a table of four points in PostGIS and querying it to create a vector tile layer of a line connecting the points. The second and fourth points in the table are the same. The resulting ...
mhkeller's user avatar
  • 181
2 votes
1 answer
70 views

Is it possible to examine vector tiles contents besides displaying them with QGIS?

I would like to play with VersaTiles vector tiles, and display them but also examine the contents of each displayed tile as data. Is there a way to do that? Vector tiles URL : https://tiles.versatiles....
citykid's user avatar
  • 207
3 votes
1 answer
112 views

How to display the "Information Tab" for vector tiles in QGIS

I added a vector layer in QGIS and would like to see information about those vector tiles in QGis as described here: https://docs.qgis.org/3.28/en/docs/user_manual/working_with_vector_tiles/...
citykid's user avatar
  • 207
1 vote
1 answer
71 views

Passing query params to SQL View in GeoServer

I'm working on a project using GeoServer to serve a vector-tiles map to an OpenLayers client. I would like to make a custom SQL view in GS where I can pass the zoom-level attribute from the GET-...
PeteHegn's user avatar
4 votes
2 answers
194 views

QGIS expression function for intersecting points with underlying MapBox vector tile layer to capture attributes

How can I use the QGIS 3.34.0 field calculator to intersect points with an underlying MapBox vector layer and add certain attributes of the intersected features as virtual point layer fields? If this ...
christoph's user avatar
  • 5,857
1 vote
0 answers
77 views

QGIS creates gaps while generating tiles from line features with Write vector tiles (XYZ)

I try to generate vector tiles from a roads network layer, but it generates big gaps between features. It seems that some segments of the lines are being erased, while polygons and points are ...
Irakli Ugulava's user avatar
3 votes
2 answers
116 views

Why the geometries in 32632 projection aren't perfect?

I am implementing a Tile Server with the help of PostGIS. Running this query: SELECT ST_AsMVT(tile) FROM ( SELECT __FEATURES__, ...
Kambei's user avatar
  • 170
0 votes
0 answers
56 views

Counter lines on vector tiles with shortbread and tilemaker

I am trying to create vector tiles. Following https://shortbread-tiles.org/make-vectortiles/, I have managed to do so for a small region. I am now wondering if there is any way to add contour lines. I ...
agi's user avatar
  • 133
1 vote
0 answers
27 views

Hide layer names in layer group in GeoServer vector tile response

I am trying to setup vector tiles in Geoserver. I have two layers which I have added to an opaque layer group: When I request data from Geoserver as vector tiles I get a file with two layers: ...
Chau's user avatar
  • 4,490
0 votes
0 answers
29 views

GeoServer tiles showing different shift depending on the side of the anti-meridian

I have two points, one is on the left side of the anti-meridian and the other is on the right side of the anti-meridian. Both are being retrieved from GeoServer as WFS (red) and as vector tile (orange)...
Falcoa's user avatar
  • 335
2 votes
2 answers
182 views

Query mbtile vector at a higher zoom level while visualising in lower zoom in Mapbox GL JS?

I've created five GeoJSONs for H3 resolution cells from 3 to 7. Each GeoJSON was then converted into mbtile for different zoom level and joined together to form a single mbtile. Now, I can render ...
Jaskaran Singh Puri's user avatar
0 votes
0 answers
58 views

PyQGIS Push selected feature to identification results panel

I have selected feature on vector tile layer loaded from https://cdn.kadastr.live/tiles/maps/kadastr/land_polygons/{z}/{x}/{y}.pbf How do I make its attributes appear in the identification results ...
Стьопа Брич's user avatar
3 votes
2 answers
268 views

Selecting feature by coordinates from the Vector Tile Layer using PyQGIS

I have a vector tile layer in QGIS, loaded from: https://cdn.kadastr.live/tiles/maps/kadastr/land_polygons/{z}/{x}/{y}.pbf. How to select a single feature of this layer by coordinates, in PyQGIS? I ...
Стьопа Брич's user avatar
0 votes
1 answer
71 views

GeoServer vector tile only showing 2 decimal places

I have a point stored in the DB with the coordinates in EPSG:4326 with the lat,long in decimal degrees, like so [ -45.0692283167, 170.9912843167 ] When I request the following vector tile, I get the ...
Falcoa's user avatar
  • 335
0 votes
1 answer
131 views

How to add an Vector Tile Service to ArcMap (ArcGIS Desktop 10.5.1)

ESRI produces and provides access to several styled vector tile services (https://developers.arcgis.com/rest/basemap-styles/ ), but I'm having trouble adding those to ArcMap.
Carlos MSF's user avatar
0 votes
0 answers
62 views

Serve mbtiles without predefined configuration

I searching for a tileserver, what is capable to serve mbtiles only by giving path to reach the tileset. Right now i use FME to generate mbtiles from various type of data, and i use Tileserver Gl ...
David Gregor's user avatar
0 votes
1 answer
180 views

Only blue geometries shown for protobuf vector tiles in Leaflet

I'm trying to use my vector tile server with Leaflet. I have this index.html: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, ...
Kambei's user avatar
  • 170
1 vote
1 answer
121 views

Break down large vector features into tiles with OpenLayers

I have a large collection of points to render on a map (~50 thousands in this example, and 1 million in another map). Loading them all in memory slows-down the user experience. Therefore, I am trying ...
Julien Richard-Foy's user avatar
1 vote
1 answer
195 views

Adding vector tile layer (OGC API - Tiles) does not add styling from styleUrl with PyQGIS

I have an OGC API endpoint that serves vector tiles in mvt. I have succeeded in adding this vector tile layer using the GUI by setting up a connection with: Layer > Add Layer > Add Vector Tile ...
InquisitorBarnham's user avatar
3 votes
1 answer
472 views

How to download geometries and attributes from a Vector Tiles service from QGIS

As shown in screenshot 1, I have configured access to a Vector Tiles service in the QGIS desktop. This service returns a layer of polygons in PBF file format. Screenshot 1 - Setting up and loading a ...
Acperience's user avatar
  • 1,142
1 vote
1 answer
209 views

Raster to Vector using GDAL without dissolving vector data on like-features

Python beginner here. I am converting a raster to a vector in shapefile format. I am successful in doing this but my output isn't quite what I'm looking for. I need the output to have a "square&...
Connor Garrett's user avatar
1 vote
0 answers
140 views

Authenticate and load private Esri vector tile service to QGIS

I'm trying to load the following ArcGIS Vector Tile Service into QGIS. https://tiles.arcgis.com/tiles/qHLhLQrcvEnxjtPr/arcgis/rest/services/GB_MasterMap_VML_BASE_v1/VectorTileServer I already have an ...
Stuart's user avatar
  • 195
0 votes
0 answers
630 views

Converting vector tiles to shapefiles

I am relatively new to QGIS and I am not familiar with a lot of the ability and tools the program has. I got a vector tile URL from a website about the Austrian soil rating. https://bodenkarte.at/data/...
amjd's user avatar
  • 1

1
2 3 4 5
10