• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H16-Dec-2021-584512

benchmarks/H03-May-2022-682420

cmake/H16-Dec-2021-679583

doc/H03-May-2022-2,3681,821

examples/H03-May-2022-2,5411,271

include/H16-Dec-2021-44,77424,669

test/H03-May-2022-36,60328,627

.clang-tidyH A D16-Dec-20216.1 KiB158157

.codecov.ymlH A D16-Dec-2021116 85

.gitignoreH A D16-Dec-202164 76

.gitmodulesH A D16-Dec-2021127 43

.ycm_extra_conf.pyH A D16-Dec-20211.2 KiB5425

CHANGELOG.mdH A D16-Dec-202150.2 KiB1,254961

CONTRIBUTING.mdH A D16-Dec-2021864 2013

LICENSEH A D16-Dec-20211.3 KiB2420

NOTES_FOR_DEVELOPERS.mdH A D16-Dec-20216.5 KiB151109

README.mdH A D16-Dec-20213.1 KiB10864

appveyor.ymlH A D16-Dec-20212 KiB6451

build-appveyor.batH A D16-Dec-20212.3 KiB8560

build-local.batH A D16-Dec-2021559 4129

build-msys2.batH A D16-Dec-20211.5 KiB4734

osmium.impH A D16-Dec-2021770 1716

README.md

1# Libosmium
2
3https://osmcode.org/libosmium
4
5A fast and flexible C++ library for working with OpenStreetMap data.
6
7Libosmium works on Linux, macOS and Windows.
8
9[![Github Build Status](https://github.com/osmcode/libosmium/workflows/CI/badge.svg?branch=master)](https://github.com/osmcode/libosmium/actions)
10[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/yy099a4vxcb604rn/branch/master?svg=true)](https://ci.appveyor.com/project/lonvia/libosmium-eq41p/branch/master)
11[![Coverage Status](https://codecov.io/gh/osmcode/libosmium/branch/master/graph/badge.svg)](https://codecov.io/gh/osmcode/libosmium)
12[![Packaging status](https://repology.org/badge/tiny-repos/libosmium.svg)](https://repology.org/metapackage/libosmium)
13
14Please see the [Libosmium manual](https://osmcode.org/libosmium/manual.html)
15for more details than this README can provide.
16
17
18## Prerequisites
19
20Because Libosmium uses many C++11 features you need a modern compiler and
21standard C++ library. Osmium needs at least GCC 4.8 or clang (LLVM) 3.4.
22(Some parts may work with older versions.)
23
24Different parts of Libosmium (and the applications built on top of it) need
25different libraries. You DO NOT NEED to install all of them, just install those
26you need for your programs.
27
28For details see the [list of
29dependencies](https://osmcode.org/libosmium/manual.html#dependencies) in the
30manual.
31
32The following external (header-only) libraries are included in the libosmium
33repository:
34* [gdalcpp](https://github.com/joto/gdalcpp)
35
36Note that [protozero](https://github.com/mapbox/protozero) was included in
37earlier versions of libosmium, but isn't any more.
38
39
40## Directories
41
42* benchmarks: Some benchmarks checking different parts of Libosmium.
43
44* cmake: CMake configuration scripts.
45
46* doc: Config for API reference documentation.
47
48* examples: Osmium example applications.
49
50* include: C/C++ include files. All of Libosmium is in those header files
51  which are needed for building Osmium applications.
52
53* test: Tests (see below).
54
55
56## Building
57
58Osmium is a header-only library, so there is nothing to build for the
59library itself.
60
61But there are some tests and examples that can be build. Libosmium uses
62cmake:
63
64    mkdir build
65    cd build
66    cmake ..
67    make
68
69This will build the examples and tests. Call `ctest` to run the tests.
70
71For more details see the
72[Building Libosmium](https://osmcode.org/libosmium/manual.html#building-libosmium)
73chapter in the manual.
74
75
76## Testing
77
78To download the `osm-testdata` submodule call:
79
80```
81git submodule update --init
82```
83
84This will enable additional tests.
85
86See the
87[Libosmium Manual](https://osmcode.org/libosmium/manual.html#running-tests)
88for instructions.
89
90
91## Switching from the old Osmium
92
93If you have been using the old version of Osmium at
94https://github.com/joto/osmium you might want to read about the [changes
95needed](https://osmcode.org/libosmium/manual.html#changes-from-old-versions-of-osmium).
96
97
98## License
99
100Libosmium is available under the Boost Software License. See LICENSE.txt.
101
102
103## Authors
104
105Libosmium was mainly written and is maintained by Jochen Topf
106(jochen@topf.org). See the git commit log for other authors.
107
108