{"id":15466033,"url":"https://github.com/rosm-project/rosm_pbf_reader","last_synced_at":"2025-04-10T07:07:25.177Z","repository":{"id":42018290,"uuid":"254860358","full_name":"rosm-project/rosm_pbf_reader","owner":"rosm-project","description":"Low-level OSM PBF reader, written in Rust","archived":false,"fork":false,"pushed_at":"2025-03-08T16:47:08.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T07:06:13.454Z","etag":null,"topics":["openstreetmap","osm","pbf","protobuf","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rosm-project.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-04-11T12:13:10.000Z","updated_at":"2025-03-08T16:46:25.000Z","dependencies_parsed_at":"2024-03-31T11:22:15.020Z","dependency_job_id":"fba30ae9-898b-4515-abad-d029d6f3e6ef","html_url":"https://github.com/rosm-project/rosm_pbf_reader","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"eaa52f93331d51b24371ea9f3ac61fa610eeec0a"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosm-project%2Frosm_pbf_reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosm-project%2Frosm_pbf_reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosm-project%2Frosm_pbf_reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosm-project%2Frosm_pbf_reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosm-project","download_url":"https://codeload.github.com/rosm-project/rosm_pbf_reader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173808,"owners_count":21059594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openstreetmap","osm","pbf","protobuf","rust"],"created_at":"2024-10-02T01:04:38.323Z","updated_at":"2025-04-10T07:07:25.135Z","avatar_url":"https://github.com/rosm-project.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rosm_pbf_reader\n\n[![Crates.io](https://img.shields.io/crates/v/rosm_pbf_reader.svg?label=rosm_pbf_reader)](https://crates.io/crates/rosm_pbf_reader)\n[![Docs.rs](https://docs.rs/rosm_pbf_reader/badge.svg)](https://docs.rs/rosm_pbf_reader)\n[![Build Status](https://github.com/yzsolt/rosm_pbf_reader/workflows/continuous-integration/badge.svg)](https://github.com/yzsolt/rosm_pbf_reader/actions)\n\nA low-level Rust library for parsing OpenStreetMap data in [PBF format](https://wiki.openstreetmap.org/wiki/PBF_Format).\n\nThis library provides the smallest possible API to work with OSM PBF files: a blob reader, a block parser and some utilities to read delta or densely encoded data. No other utilities are provided for further data processing (like filtering). There's also no built-in parallelization, however block parsing (which is the most computation-heavy part of the process) can be easily dispatched to multiple threads.\n\n## Features\n\nSince most OSM PBFs are ZLib compressed, ZLib decompression support using [`flate2`](https://crates.io/crates/flate2) is enabled by default. See Cargo's [default feature documentation](https://doc.rust-lang.org/cargo/reference/features.html#the-default-feature) how to disable it.\n\nThe library provides a way for the user to support other compression methods by implementing the `Decompressor` trait.\n\n## Examples\n\n- `print_header` is a very simple example showing how to print the header block of an OSM PBF file.\n- `count_wikidata` is a more complete example showing multithreaded parsing, tag and dense node reading.\n\n## Similar projects\n\n- [osmpbfreader-rs](https://github.com/TeXitoi/osmpbfreader-rs)\n- [osmpbf](https://github.com/b-r-u/osmpbf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosm-project%2Frosm_pbf_reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosm-project%2Frosm_pbf_reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosm-project%2Frosm_pbf_reader/lists"}