File: README.md

package info (click to toggle)
libosmium 2.22.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,544 kB
  • sloc: cpp: 52,804; sh: 148; makefile: 19
file content (46 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download | duplicates (3)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46

# Osmium example programs

The programs in this directory are intended as examples for developers. They
contain extensive comments explaining what's going on. Note that the examples
only cover a small part of what Osmium can do, you should also read the manuals
and API documentation.

All programs can be run without arguments and they will tell you how to use
them.

## Very simple examples

* [`osmium_read`](./osmium_read.cpp)
* [`osmium_count`](./osmium_count.cpp)
* [`osmium_debug`](./osmium_debug.cpp)
* [`osmium_tiles`](./osmium_tiles.cpp)

## Still reasonably simple examples

* [`osmium_amenity_list`](./osmium_amenity_list.cpp)
* [`osmium_read_with_progress`](./osmium_read_with_progress.cpp)
* [`osmium_filter_discussions`](./osmium_filter_discussions.cpp)
* [`osmium_convert`](./osmium_convert.cpp)
* [`osmium_pub_names`](./osmium_pub_names.cpp)
* [`osmium_road_length`](./osmium_road_length.cpp)

## More advanced examples

* [`osmium_area_test`](./osmium_area_test.cpp)
* [`osmium_create_pois`](./osmium_create_pois.cpp)
* [`osmium_tags_filter`](./osmium_tags_filter.cpp)

## Even more advanced examples

* [`osmium_change_tags`](./osmium_change_tags.cpp)
* [`osmium_location_cache_create`](./osmium_location_cache_create.cpp)
* [`osmium_location_cache_use`](./osmium_location_cache_use.cpp)
* [`osmium_dump_internal`](./osmium_dump_internal.cpp)
* [`osmium_index_lookup`](./osmium_index_lookup.cpp)

## License

The code in these example files is released into the Public Domain. Feel free
to copy the code and build on it.