Go to file
Scott Crosby af4a7e85d8 Edit release notes. 2011-10-29 23:16:11 -05:00
debian Setup debian changelog and change to version 1.2.1 throughout. 2011-10-29 23:05:32 -05:00
include/osmpbf Setup debian changelog and change to version 1.2.1 throughout. 2011-10-29 23:05:32 -05:00
src Fixed build of osmpbf-outline tool 2011-06-05 19:22:24 +02:00
src.java/crosby/binary Whitespace changes. 2011-10-29 23:05:32 -05:00
tools terminate longopt list to prevent crashes on FreeBSD 2011-06-12 10:52:22 +02: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 Edit release notes. 2011-10-29 23:16:11 -05: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 Setup debian changelog and change to version 1.2.1 throughout. 2011-10-29 23:05:32 -05: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