Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java Shell C++
branch: master

This branch is 2 commits ahead, 49 commits behind scrosby:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
debian
include/osmpbf
src.java/crosby/binary
src
tools
.gitignore
COPYING.osmpbf
README
ReleaseNotes.txt
build.sh
build.xml
magic
pom.xml

README

OSM PBF
=======

See http://wiki.openstreetmap.org/wiki/PBF_Format .

There is a Java and a C version of the PBF library code here.

C Version
=========

To compile:
  cd src
  make

To install:
  cd src
  make install

To build the Debian/Ubuntu package call:
  debuild -I -us -uc

To install the Debian/Ubuntu package call:
  sudo dpkg --install ../libosmpbf-dev*.deb

To include in your program use:

#include <osmpbf/osmpbf.h>

and link with:
    -lpthread -lz -lprotobuf-lite -losmpbf

Something went wrong with that request. Please try again.