Go to file
Scott Crosby 3d5dd4b7bb merged 2013-09-02 12:15:24 -05:00
debian Update tags for v1.3.0 2012-12-04 22:14:05 -06:00
include/osmpbf Use #define instead of const char* for version. 2013-08-26 10:30:39 +02:00
src merged 2013-09-02 12:15:24 -05:00
src.java/crosby/binary Whitespace changes. 2011-10-29 23:05:32 -05:00
tools merged 2013-09-02 12:15:24 -05:00
.gitignore Fixed build of osmpbf-outline tool 2011-06-05 19:22:24 +02: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