{"id":13423591,"url":"https://github.com/osmcode/osmium-tool","last_synced_at":"2025-05-15T09:06:03.245Z","repository":{"id":12153680,"uuid":"14747494","full_name":"osmcode/osmium-tool","owner":"osmcode","description":"Command line tool for working with OpenStreetMap data based on the Osmium library.","archived":false,"fork":false,"pushed_at":"2025-03-17T15:11:08.000Z","size":2717,"stargazers_count":550,"open_issues_count":9,"forks_count":110,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-14T15:00:54.373Z","etag":null,"topics":["command-line-tool","openstreetmap"],"latest_commit_sha":null,"homepage":"https://osmcode.org/osmium-tool/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osmcode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://osmcode.org/sponsors.html"}},"created_at":"2013-11-27T13:16:35.000Z","updated_at":"2025-04-14T04:54:01.000Z","dependencies_parsed_at":"2024-01-14T20:18:35.447Z","dependency_job_id":"4058553b-dd6d-4bf5-b910-173e6434ffac","html_url":"https://github.com/osmcode/osmium-tool","commit_stats":{"total_commits":1022,"total_committers":28,"mean_commits":36.5,"dds":0.07338551859099807,"last_synced_commit":"5066a9559e7e9d5e71f2ae97ff7f7649253f7d27"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmium-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmium-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmium-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmium-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode","download_url":"https://codeload.github.com/osmcode/osmium-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310513,"owners_count":22049468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","openstreetmap"],"created_at":"2024-07-31T00:00:38.288Z","updated_at":"2025-05-15T09:06:03.226Z","avatar_url":"https://github.com/osmcode.png","language":"C++","funding_links":["https://osmcode.org/sponsors.html"],"categories":["C++","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++"],"sub_categories":[],"readme":"\n# Osmium Command Line Tool\n\nA multipurpose command line tool for working with OpenStreetMap data based on\nthe Osmium library.\n\nOfficial web site: https://osmcode.org/osmium-tool/\n\n[![Build Status](https://github.com/osmcode/osmium-tool/actions/workflows/ci.yml/badge.svg)](https://github.com/osmcode/osmium-tool/actions)\n\n\n## Prerequisites\n\nYou need a C++14 compliant compiler.\n\nYou also need the following libraries:\n\n    Libosmium (\u003e= 2.16.0)\n        https://osmcode.org/libosmium\n        Debian/Ubuntu: libosmium2-dev\n        Fedora/CentOS: libosmium-devel\n\n    Protozero (\u003e= 1.6.3)\n        https://github.com/mapbox/protozero\n        Debian/Ubuntu: libprotozero-dev\n        Fedora/CentOS: protozero-devel\n\n    NLohmann JSON (\u003e= 3.0)\n        https://json.nlohmann.me/\n        Debian/Ubuntu: nlohmann-json3-dev\n\n    boost-program-options (\u003e= 1.55)\n        https://www.boost.org/doc/libs/1_55_0/doc/html/program_options.html\n        Debian/Ubuntu: libboost-program-options-dev\n        Fedora/CentOS: boost-devel\n        openSUSE: boost-devel (use 'libboost_program_options-devel' for modern OS versions)\n        vcpkg: boost-program-options\n\n    bz2lib\n        http://www.bzip.org/\n        Debian/Ubuntu: libbz2-dev\n        Fedora/CentOS: bzip2-devel\n        openSUSE: libbz2-devel\n        vcpkg: bzip2\n\n    zlib\n        https://www.zlib.net/\n        Debian/Ubuntu: zlib1g-dev\n        Fedora/CentOS: zlib-devel\n        openSUSE: zlib-devel\n        vcpkg: zlib\n\n    LZ4 (optional)\n        https://lz4.github.io/lz4/\n        Debian/Ubuntu: liblz4-dev\n        vcpkg: lz4\n\n        Only needed for LZ4 PBF compression.\n\n    Expat\n        https://libexpat.github.io/\n        Debian/Ubuntu: libexpat1-dev\n        Fedora/CentOS: expat-devel\n        openSUSE: libexpat-devel\n        vcpkg: expat\n\n    cmake\n        https://cmake.org/\n        Debian/Ubuntu: cmake\n        Fedora/CentOS: cmake\n        openSUSE: cmake\n\n    Pandoc\n        (Needed to build documentation, optional)\n        https://pandoc.org/\n        Debian/Ubuntu: pandoc\n        Fedora/CentOS: pandoc\n        openSUSE: pandoc\n\nOn Linux systems most of these libraries are available through your package\nmanager, see the list above for the names of the packages. But make sure to\ncheck the versions. If the packaged version available is not new enough, you'll\nhave to install from source. Most likely this is the case for Protozero and\nLibosmium.\n\nOn macOS many of the libraries above will be available through Homebrew. On\nWindows you can install the libraries with vcpkg.\n\nWhen building the tool, CMake will automatically look for these libraries in\nthe usual places on your system. In addition it will look for the Libosmium and\nProtozero libraries in the same directory where this Osmium repository is. So\nif you are building from the Git repository and want to use the newest\nLibosmium, Protozero, and Osmium, clone all of them into the same directory:\n\n    mkdir work\n    cd work\n    git clone https://github.com/mapbox/protozero\n    git clone https://github.com/osmcode/libosmium\n    git clone https://github.com/osmcode/osmium-tool\n\n\n## Building\n\nOsmium uses CMake for its builds. On Linux and macOS you can build as follows:\n\n    cd osmium-tool\n    mkdir build\n    cd build\n    cmake ..\n    ccmake .  ## optional: change CMake settings if needed\n    make\n\nTo set the build type call cmake with `-DCMAKE_BUILD_TYPE=type`. Possible\nvalues are empty, Debug, Release, RelWithDebInfo, MinSizeRel, and Dev. The\ndefault is RelWithDebInfo.\n\nPlease read the CMake documentation and get familiar with the `cmake` and\n`ccmake` tools which have many more options.\n\nIf you have trouble with compiling, look into the files in `.github/workflows`\nand `.github/actions` that run the CI builds to give you some pointers.\n\n\n## Documentation\n\nSee the [Osmium Tool website](https://osmcode.org/osmium-tool/)\nand [Osmium Tool Manual](https://osmcode.org/osmium-tool/manual.html).\n\nThere are man pages in the 'man' directory. To build them you need 'pandoc'.\nIf the `pandoc` command was found during the CMake config step, the manpages\nwill be built automatically.\n\n\n## Tests\n\nCall `ctest` in the build directory to run the tests after build.\n\nMore extensive tests of the libosmium I/O system can also be run. See\n`test/io/Makefile.in` for instructions.\n\n\n## License\n\nCopyright (C) 2013-2025  Jochen Topf (jochen@topf.org)\n\nThis program is available under the GNU GENERAL PUBLIC LICENSE Version 3.\nSee the file LICENSE.txt for the complete text of the license.\n\n\n## Authors\n\nThis program was written and is maintained by Jochen Topf (jochen@topf.org).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmcode%2Fosmium-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmcode%2Fosmium-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmcode%2Fosmium-tool/lists"}