{"id":13700216,"url":"https://github.com/omniscale/imposm-parser","last_synced_at":"2025-05-04T18:34:40.414Z","repository":{"id":3577368,"uuid":"4640085","full_name":"omniscale/imposm-parser","owner":"omniscale","description":"Deprecated: Python parser for OpenStreetMap data","archived":false,"fork":false,"pushed_at":"2018-12-18T15:08:31.000Z","size":88,"stargazers_count":133,"open_issues_count":10,"forks_count":57,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-13T06:33:14.110Z","etag":null,"topics":["maintenance-mode","osm","python"],"latest_commit_sha":null,"homepage":"http://imposm.org/docs/imposm.parser/latest/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omniscale.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-12T16:50:34.000Z","updated_at":"2024-07-03T22:50:24.000Z","dependencies_parsed_at":"2022-08-29T14:11:40.413Z","dependency_job_id":null,"html_url":"https://github.com/omniscale/imposm-parser","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniscale%2Fimposm-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniscale%2Fimposm-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniscale%2Fimposm-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omniscale%2Fimposm-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omniscale","download_url":"https://codeload.github.com/omniscale/imposm-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252383095,"owners_count":21739275,"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":["maintenance-mode","osm","python"],"created_at":"2024-08-02T20:00:50.580Z","updated_at":"2025-05-04T18:34:35.379Z","avatar_url":"https://github.com/omniscale.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"imposm.parser - OpenStreetMap XML/PBF parser for Python\n=======================================================\n\n``imposm.parser`` is a Python library that parses OpenStreetMap data in `XML \u003chttp://wiki.openstreetmap.org/wiki/.osm\u003e`_ and `PBF \u003chttp://wiki.openstreetmap.org/wiki/PBF_Format\u003e`_ format.\n\nIt has a simple API and it is fast and easy to use. It also works across multiple CPU/cores for extra speed.\n\n.. note::\n  **Imposm-parser is in maintenance mode and it's unlikely that we will provide any further releases.**\n\n\nIt is developed and supported by `Omniscale \u003chttp://omniscale.com\u003e`_ and released under the `Apache Software License 2.0 \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e`_.\n\nExample\n-------\n\nHere is an example that parses an OSM file and counts all ways that are tagged as a highway.\n::\n\n  from imposm.parser import OSMParser\n\n  # simple class that handles the parsed OSM data.\n  class HighwayCounter(object):\n      highways = 0\n\n      def ways(self, ways):\n          # callback method for ways\n          for osmid, tags, refs in ways:\n              if 'highway' in tags:\n                self.highways += 1\n\n  # instantiate counter and parser and start parsing\n  counter = HighwayCounter()\n  p = OSMParser(concurrency=4, ways_callback=counter.ways)\n  p.parse('germany.osm.pbf')\n\n  # done\n  print counter.highways\n\n\nSource and issue tracker\n------------------------\n\nSource code and issue tracker are available at `\u003chttps://github.com/omniscale/imposm-parser\u003e`_.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomniscale%2Fimposm-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomniscale%2Fimposm-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomniscale%2Fimposm-parser/lists"}