{"id":19368445,"url":"https://github.com/osmzoso/osm2sqlite","last_synced_at":"2026-03-16T05:36:02.552Z","repository":{"id":38126725,"uuid":"290130105","full_name":"osmzoso/osm2sqlite","owner":"osmzoso","description":"A command line tool for reading OpenStreetMap XML data into a SQLite database.","archived":false,"fork":false,"pushed_at":"2024-04-10T13:28:08.000Z","size":532,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-10T15:26:57.396Z","etag":null,"topics":["openstreetmap","openstreetmap-data","osm","sqlite","xml"],"latest_commit_sha":null,"homepage":"","language":"Python","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/osmzoso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-08-25T06:15:43.000Z","updated_at":"2024-06-17T15:00:36.595Z","dependencies_parsed_at":"2024-02-07T20:45:23.033Z","dependency_job_id":"af932d1e-2dc8-4dbe-a345-c76f6bb23225","html_url":"https://github.com/osmzoso/osm2sqlite","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmzoso%2Fosm2sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmzoso%2Fosm2sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmzoso%2Fosm2sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmzoso%2Fosm2sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmzoso","download_url":"https://codeload.github.com/osmzoso/osm2sqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250460238,"owners_count":21434229,"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":["openstreetmap","openstreetmap-data","osm","sqlite","xml"],"created_at":"2024-11-10T08:06:26.892Z","updated_at":"2026-03-16T05:36:02.543Z","avatar_url":"https://github.com/osmzoso.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osm2sqlite\n\nA simple command line tool for reading OpenStreetMap XML data into a SQLite database.\n\n```\nUsage:\nosm2sqlite DATABASE [OPTION ...]\n\nOptions:\n  read FILE    Reads FILE into the database\n               (When FILE is -, read stdin)\n  rtree        Add R*Tree indexes\n  addr         Add address tables\n  graph        Add graph table\n```\n\nThe command\n```\nosm2sqlite test.db read country.osm\n```\nreads the [OSM XML](https://wiki.openstreetmap.org/wiki/OSM_XML) file **country.osm**\nand writes the data to in the **test.db** database.\n\nThe tables created are described in the [documentation](doc/osm2sqlite.md).\n\nSome options can be used to create additional data.\n\nOSM data can be obtained from a provider such as [Geofabrik](https://download.geofabrik.de).\n\nThere are two program versions:  \n- a prototype in Python (see ./test/osm2sqlite.py)\n- a version in C (see [compiling annotations](doc/compiling_annotations.md))\n\nRuntime for a 700 MByte OSM file:  \nPython : 2 minutes 36 seconds  \nC      : 47 seconds  \n\nThe [./tools](doc/tools.md) directory contains test scripts:  \n- Test [drawing a map](doc/drawing_a_map.md)  \n- Test [routing](doc/routing.md)  \n\n\n|[**Download the latest version**](https://github.com/osmzoso/osm2sqlite/releases/latest)|\n|----------------------------------------------------------------------------------------|\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmzoso%2Fosm2sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmzoso%2Fosm2sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmzoso%2Fosm2sqlite/lists"}