Questions tagged [pbf]

PBF Format ("Protocolbuffer Binary Format") is primarily intended as an alternative to the XML format.

Filter by
Sorted by
Tagged with
2
votes
1answer
35 views

Union MVT features based on attribute / id in OpenLayers render

Following Paul Ramsey's article about ST_Subdivide I was able to split the Natural Earth boundaries dataset. Generating tiles which intersect the boundaries of Canada and Russia on the fly is now ...
3
votes
1answer
52 views

Displaying Telstra Vector Tile Server data in QGIS 3.14.16-Pi

I am running QGIS 3.14.16-Pi and am wanting to load the layers Telstra (Australian telephone company) provides on their GIS server. https://staging.gcm.telstra.com.au/gisserver/rest/services/Hosted/ I ...
1
vote
0answers
86 views

From osm.pbf data to mbtiles (pbf vector tiles inside a sqlite3 container)?

I need to experiment with vector tiles based on OSM data. To do that, I've downloaded an OSM *.osm.pbf data file from geofabrik.de. I want now to store these data either as the standard /tileset/{Z}/{...
2
votes
0answers
37 views

Convert a mbtiles tileset folder into a single .mbtiles SQLite file?

I have a root tileset folder structured with the standard tiling scheme /tileset/{Z}/{X}/{Y}.pbf. When I try using GDAL, I think I miss something: $ ogr2ogr -f MVT sqlite.mbtiles ./tileset FAILURE: ...
0
votes
1answer
30 views

Using .pbf Vector Tiles generated with t-rex with OpenLayers errors with “Uncaught Error: Unimplemented type: 7”

I generated .pbf vector tiles with t-rex's generate command. I then uploaded them to a directory served with the Apache HTTP server. Trying to use the tiles with OpenLayers (6.4.3) resulted in no ...
3
votes
0answers
145 views

How can I extract street information from an osm.pbf file to Excel?

I'm working on a project where I have to get all the streets of the city where I live, including colony, suburb, postal code, but I am a little confused about what process do I have to follow. I have ...
0
votes
0answers
27 views

Standalone GeoWebCache drop some parts of features in tiles

I have a local GeoServer with standalone GeoWebCache to serve vector tiles in PBF file format. The layer displays country borders in the world but the problem is in different tiles some parts of ...
0
votes
1answer
48 views

Is there a way to obtain polyline of pbf file?

I need to find boundaries of pbf file. Ideally - polyline, if this not possible - can be simple(min,max lat,lon rectangle). I download pbf from geofabrik(http://download.geofabrik.de/russia/...
1
vote
0answers
31 views

How to include a Mapbox Studio Tileset in Leaflet?

I would like to include in my Leaflet map a vector tile set that I uploaded to Mapbox Studio. I first uploaded a tileset to the tiles page of Mapbox studio. Then I created a new style and added my ...
0
votes
0answers
43 views

Leaflet poor performance on pbf animation

I am trying to animate different tilesets for precipitation data on leaflet map. I create layers upfront for next and previous timestamps. I have done the similar logic using MapBox and animation and ...
1
vote
1answer
106 views

Create columns for specific “other tags” of OSM PBF files in QGIS

When downloading PBF files of Openstreetmap via Geofabrik, the file contains a field called "other_tags" which includes all the OSM tags for this feature. It is a String field and looks like "cycleway"...
0
votes
1answer
91 views

Strange coordinate after use tippecanoe and Mapbox/pbf

I am trying to make vector tile base on Mapbox pbf standard. First, convert data from EPSG4326 to EPSG3857 and export as .json. By using QGIS to export data and set CRS as EPSG3857. Second, use ...
1
vote
1answer
79 views

Cannot decode tile_data in mbtiles

I downloaded the sample mbtiles data from https://www.mapbox.com/help/data/trails.mbtiles In the metadata of this file I found that the format is pbf. But if I directly query the tile_data column ...
0
votes
1answer
44 views

OpenStreetMap PBF file attributes

I have a large OpenStreetMap .pbf history file. How do I know if this file has a specific attribute such as a name or version number? Or, in general, the number of feature attributes in this file.
2
votes
0answers
349 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 ...
0
votes
1answer
88 views

Extract custom shape area from Openstreetmap pbf

I have a full-country data download of OSM from http://download.geofabrik.de/ . I want to extract OSM data for a target area that is thin and winding/irregular in shape. I could take the max-min lat-...
2
votes
0answers
124 views

Osm2pgsql failed Cannot detect file format. Try using -r

I use Osm2pgsql 1.0 and this my action : sudo osm2pgsql --slim -c --cache 29000 --proj 3857 russia-latest.osm.pbf -H xxxx.local -d osm -U osm_user -W -P 5432 was failed after some time: ...
1
vote
0answers
62 views

Converting PBF to Shapefile with name:xx tags as a column in the attributes

I have a PBF file containing only rivers information (extracted using osmosis when waterway=river). A conversion of this PBF to SHP works fine with ogr2ogr when I am selecting fields like "osm_id" ...
5
votes
1answer
1k views

.mbtiles file with PBF to .mbtiles with PNG or JPEG

I need this conversion to embed the mbtiles file in a mobile app. I know there are server based rendering solutions, but I just need to make this conversion once for a single file with OpenStreetMap ....
1
vote
0answers
38 views

Adding points to osm file in QGIS [duplicate]

I have downloaded an osm file from Geofabrik download server and opened this .osm.pbf-file in QGIS. So there are 5 classes - lines, multiline strings, multipolygons, other_relations, and points. I ...
1
vote
1answer
61 views

What does independently decodable mean in the context of the OSM PBF Format?

The primitive blocks of the OSM PBF Format are stated to be independently decodable. What should be the extent of this property? For example, should all the nodes referenced by a way be stored in ...
0
votes
0answers
149 views

Error during load osm pbf file from QGIS

I was trying to print out Stamen map (Quickmap plugin) in very high quality. However, I was unable to do so, printed out results looks like chequer board or empty. So, I was following the ...
4
votes
1answer
499 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 ...
1
vote
1answer
557 views

Openlayers displaying local pbf at wrong location

Need help for displaying of local pbf file, it does show tiles but at wrong location and when zoom-in the whole feature set split into 4 locations. First Openlayers v 4.6.5 is not displaying local ...
1
vote
1answer
561 views

Can't display vector layer using L.vectorGrid.protobuf

I use mapbox/tippecanoe to create .pbf tiles. But when I try to display them using L.vectorGrid.protobuf nothing is rendered, although I see that proper .pbf files are requested and downloaded by ...
3
votes
0answers
76 views

How to set tile image formats for many layers using the Geoserver REST api

I have over 400 layers in my Geoserver layer catalog. I would like to turn on the pbf tile image format option for all of them. see image below: Is there a way of accomplishing this using the ...
3
votes
0answers
314 views

Save Mapbox-Vector-Tiles (PBF) on indexeddb and use them offline

I'm developing a PWA(Progressive web app) where I need to retrieve PBF files from a POSTGIS database, then save them on an offline layer, to work as a offline-first app, right now I'm using a ...
1
vote
0answers
113 views

Syntax using osmosos with bounding box

I am trying to extract a region from a .osm.pbf file I have and write the output as a .osm.pbf file. I'm not sure on the syntax however to achieve this result. I have continued from an example I found ...
1
vote
0answers
35 views

OSRM-extract Sorting edges by start seems to stop

I try to use planet-latest.osm.pbf (2018-05-23) from https://planet.openstreetmap.org/pbf/. I extract the pbf file on Ubuntu 16.04 and everything seems OK until Sorting edges by start ... On ...
0
votes
1answer
87 views

Total entries in .pbf

I'm trying to convert osm.pbf to .shp for some analysis in QGIS. I need to verify id the converted .shp is the same as .pbf. But the attributes table shows only 99 records by default. How do i find ...
2
votes
0answers
490 views

Convert .osm.pbf file to a raster (tif, asc or rst)

I downloaded the .osb.pbf file for my country, and I want to import it into Graphab. To import it, I need to have a raster file as the documentation file mentions: The second window is for ...
3
votes
1answer
228 views

What is the faster way to run an OSM (xml) data to Esri geodatabase data for a big area with FME?

I am working on OSM highway(polyline) data with respect to the keys Max_speed and surface for the whole Africa. In this case I took at first the Geometry Filter with line and I used 2 list_searchers ...
6
votes
1answer
3k views

Styling GeoServer pbf vector tiles in Leaflet

I'm serving up vector tiles in pbf format in GeoServer 2.11.2 (using the MVT extension) and consuming them in Leaflet 1.2.0 with Leaflet.VectorGrid 1.2.0 but am having trouble styling them. The URL ...
0
votes
0answers
389 views

osm.pbf in JOSM editor not working

I create lines in JOSM Editor and while saving it to osm format it works well. saving and reopening it , but for saving it in osm.pbf format it works but in reopening it, I get this error
6
votes
3answers
5k views

Converting PBF vector tiles to GeoJSON?

I am working on Google Maps with AirMap API. AirMap API provides me with vector tile data in pbf-format. I want to render it into Google Maps. I have researched that to render pbf vector tiles on ...
3
votes
1answer
1k views

Unzipping OSM2VectorTiles after extracing with MBUtil

After extracting the tiles from an OSM2VectorTiles set, I have a proper folder structure with .pbf-files. However, OpenLayers cannot read those files. I believe this is because they are zipped. So, ...