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
Still reasonably simple examples
More advanced examples
Even more advanced examples
The code in these example files is released into the Public Domain. Feel free to copy the code and build on it.