Install libosmpbf-java by entering the following commands in the terminal:
sudo apt update sudo apt install libosmpbf-java
Description:
Java access library for OpenStreetMap PBF file format
Osmpbf is a Java/C library to read and write OpenStreetMap PBF files. PBF (Protocol buffer Binary Format) is a binary file format for OpenStreetMap data that uses Google Protocol Buffers as low-level storage. . This package provides a Java library.
Homepage: https://github.com/scrosby/OSM-binary
Version: 1.3.3-7
Section: universe/java