osmium-tool | Command line tool for working with OpenStreetMap data | Map library

 by   osmcode C++ Version: v1.15.0 License: GPL-3.0

kandi X-RAY | osmium-tool Summary

kandi X-RAY | osmium-tool Summary

osmium-tool is a C++ library typically used in Geo, Map applications. osmium-tool has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Command line tool for working with OpenStreetMap data based on the Osmium library.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              osmium-tool has a low active ecosystem.
              It has 389 star(s) with 99 fork(s). There are 16 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 10 open issues and 188 have been closed. On average issues are closed in 71 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of osmium-tool is v1.15.0

            kandi-Quality Quality

              osmium-tool has no bugs reported.

            kandi-Security Security

              osmium-tool has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              osmium-tool is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              osmium-tool releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of osmium-tool
            Get all kandi verified functions for this library.

            osmium-tool Key Features

            No Key Features are available at this moment for osmium-tool.

            osmium-tool Examples and Code Snippets

            No Code Snippets are available at this moment for osmium-tool.

            Community Discussions

            QUESTION

            How to find bounding box data for all regions in the world?
            Asked 2021-Oct-21 at 18:11

            I am looking for bounding box data for individual states which exist within countries. For eg, for India - states like Andhra Pradesh, Karnataka etc or for Norway - bbox for Akershus, Aust-Agder etc.

            One approach I know is download extracts from Geofabrik and use osmium-tool to get the bounding box data from that using this command -

            osmium fileinfo -e -g data.bbox victoria-latest.osm.pbf

            However, Geofabrik does not have the states for many countries like India, China, Indonesia, Austria, etc.

            One alternative to that is to use extracts from download.openstreetmap.fr. Their extracts unfortunately have very incorrect bounding box values. For eg, the bounding box for Victoria state in Australia covers half of Australia. I've noticed this problem many of their extracts. Bhutan's bounding box covers 3x the lateral area. Malaysia's extract covers half of Indian ocean. This makes their extracts unusable to extract the bounding box data from.

            Apart from this approach, there are also data sets like this - https://gist.github.com/graydon/11198540

            However, these do not contain states and regions as you can see.

            Where can I find this data? or, if possible, can I extract it from OSM in some way using Overpass? I am looking for any way or method to get this data. Even a comment pointing me in the right direction will help. Thanks.

            ...

            ANSWER

            Answered 2021-Oct-21 at 18:11

            I found the needed data for states/regions/provinces of all the countries in the Natural Earth data - https://www.naturalearthdata.com/.

            However, after working with it, I realised that this data is quite old and for many countries it has states it does not have the new states or provinces (for eg, Telengana in India was established in 2014 as a new state, yet that does not exist in this data set).

            The 1:110m only had country boundaries and boundaries for USA states. 1:50m had country boundaries + state boundaries for North America, Australia and some other regions but not for the whole world. The 1:10m downloads have the states for all the countries in the world. Download this file - https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_1_states_provinces.zip

            For a more updated and detailed version, use the level-1 shape file from this extract- https://biogeo.ucdavis.edu/data/gadm3.6/gadm36_levels_shp.zip

            This python script extracts the bounding box value for all the states for all the countries in the world and stores it in a csv file.

            Source https://stackoverflow.com/questions/69478644

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install osmium-tool

            You can download it from GitHub.

            Support

            See the Osmium Tool website and Osmium Tool Manual. There are man pages in the 'man' directory. To build them you need 'pandoc'. If the pandoc command was found during the CMake config step, the manpages will be built automatically.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link