Go to file
Thomas Friebel b8266ac09f Do not set file user:group to 'root:root' during installation
When run as root, files will be 'root:root' anyway. When run as user
changing user:group will fail. Furthermore, the group 'root' is not
available on all systems.
2013-03-09 13:19:56 +01: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 Do not set file user:group to 'root:root' during installation 2013-03-09 13:19:56 +01:00
src.java/crosby/binary Whitespace changes. 2011-10-29 23:05:32 -05:00
tools Do not set file user:group to 'root:root' during installation 2013-03-09 13:19:56 +01: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