File: README

package info (click to toggle)
osmpbf 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 248 kB
  • sloc: java: 748; cpp: 208; xml: 111; makefile: 46; ansic: 11; sh: 2
file content (32 lines) | stat: -rw-r--r-- 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

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