Go to file
alex85k 56337c31d7 one more fix to install 2013-07-23 12:10:39 +05:00
debian Update tags for v1.3.0 2012-12-04 22:14:05 -06:00
include/osmpbf Update tags for v1.3.0 2012-12-04 22:14:05 -06:00
src one more fix to install 2013-07-23 12:10:39 +05:00
src.java/crosby/binary Whitespace changes. 2011-10-29 23:05:32 -05:00
tools Fix building example and installation 2013-07-09 11:36:17 +06:00
.gitignore Fixed build of osmpbf-outline tool 2011-06-05 19:22:24 +02:00
CMakeLists.txt More compilation fixes 2013-07-22 23:13:26 +06:00
COPYING.osmpbf Add in LGPL copyright notices to the osmpbf library. 2011-01-02 20:21:48 -06:00
README Compilation instructions 2011-08-04 17:03:46 +02:00
ReleaseNotes.txt Update tags for v1.3.0 2012-12-04 22:14:05 -06:00
build.sh Protobufs and common Java code for binary format. 2010-08-25 11:40:06 -05:00
build.xml Added build file by Giovanni Mascellani. 2011-01-12 20:09:12 -06:00
magic add magic file 2011-06-05 11:51:11 +02:00
pom.xml Update tags for v1.3.0 2012-12-04 22:14:05 -06:00

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