A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [pbf]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
16 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
32 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.
0
votes
0answers
29 views

OSM PBF file - how do relations correspond to nodes

I'm trying to extract addresses from certain areas, for example all addresses within a relation with "admin_level":"10". But all the ways (and waynodes) within those relations seem to have no location ...
1
vote
0answers
112 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
34 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-...
1
vote
0answers
43 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
36 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
562 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
31 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 ...
0
votes
0answers
169 views

OSM.PBF does not contain all exported/merged/converted data from XML using OSMIUM/OSMOSIS

I have three pbf files, each containing poi nodes x ways y multi-polygon relations z separately. I tried merging them using: osmosis --read-pbf file=x.pbf --read-pbf file=y.pbf --read-pbf z.pbf --...
1
vote
1answer
52 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
115 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
371 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
1answer
339 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
402 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
52 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 ...
2
votes
0answers
258 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
95 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
34 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
70 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
365 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
177 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
2k 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
323 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
4
votes
3answers
3k 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 ...