This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to install osmium on ubuntu 16.04?

1

I'm using ubuntu 16.04 and looking to install osmium. I first tried to use the package that's in Ubuntu, but that's significantly old and doesn't include osmium's extract function.

I then read its README, but it requires a few packages that I have to manually build myself (rapidjson, Libosmium).

Are there any packages or do I have to manually build everything?

asked 21 May '17, 21:55

skorasaurus's gravatar image

skorasaurus
1.4k153137
accept rate: 12%


One Answer:

1

libosmium is a header-only library so you can simply check that out from github. The build process is clever enough to find it if you have a directory structure where libosmium sits in parallel with osmium-tool. And rapidjson doesn't have to be installed separately, it is included in the osmium-tool checkout.

answered 21 May '17, 22:50

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .