{"id":21389428,"url":"https://github.com/tpltnt/googlemap2sqlite","last_synced_at":"2025-03-16T12:46:41.680Z","repository":{"id":12561543,"uuid":"15231924","full_name":"tpltnt/googlemap2sqlite","owner":"tpltnt","description":"dump a Google map into a sqlite database","archived":false,"fork":false,"pushed_at":"2015-01-13T18:59:34.000Z","size":224,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T00:41:14.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpltnt.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}},"created_at":"2013-12-16T17:12:05.000Z","updated_at":"2015-01-14T13:11:45.000Z","dependencies_parsed_at":"2022-09-05T12:31:01.665Z","dependency_job_id":null,"html_url":"https://github.com/tpltnt/googlemap2sqlite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Fgooglemap2sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Fgooglemap2sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Fgooglemap2sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpltnt%2Fgooglemap2sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpltnt","download_url":"https://codeload.github.com/tpltnt/googlemap2sqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871652,"owners_count":20361378,"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":[],"created_at":"2024-11-22T12:26:25.839Z","updated_at":"2025-03-16T12:46:41.646Z","avatar_url":"https://github.com/tpltnt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"googlemap2sqlite\n================\n\nDump coordinates and descriptions from a [Google map](https://en.wikipedia.org/wiki/Google_maps) (KML 2.2) into a [sqlite](http://sqlite.org/) database. The coordinates are expressed in decimal degrees following the World Geodetic System of 1984 (WGS84). This scraper is mostly useful for data liberation and automated processing.\nIt creates two tables: places and coordinates. The [SQL](https://en.wikipedia.org/wiki/SQL) statements for their creation are\n```\nCREATE TABLE IF NOT EXISTS places (\n  pid INTEGER PRIMARY KEY NOT NULL,\n  name TEXT NOT NULL,\n  description TEXT\n)\n```\n```\nCREATE TABLE IF NOT EXISTS coordinates (\n  cid INTEGER PRIMARY KEY NOT NULL,\n  pid INTEGER NOT NULL,\n  longitude REAL NOT NULL,\n  latitude REAL NOT NULL,\n  altitude REAL\n)\n```\n* **pid**: place ID as a key across tables\n* **name**: (commoon) name of the place, often contains address information\n* **description**: CDATA often containing links to corresponding posts on tumblr\n* **cid**: coordinate (tuple) ID, one place may have multiple coordinates (e.g. a polygon)\n* **longitude**: the longitude of the point described by *cid*\n* **latitude**: the latitude of the point described by *cid*\n* **altitude**: the altitude of the point described by *cid*, often set to 0.0\n\nLicense: AGPLv3\n\n\nreferences\n----------\n* Keyhole Markup Language (KML)\n  * [wikipedia](https://en.wikipedia.org/wiki/Keyhole_Markup_Language)\n  * [Open Geospatial Consortium](http://www.opengeospatial.org/standards/kml/)\n  * [Google Inc.](https://developers.google.com/kml/documentation/?csw=1)\n* [WGS84](http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350_2.html), [EPSG:4326](http://spatialreference.org/ref/epsg/4326/)\n* [sqlite](http://sqlite.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpltnt%2Fgooglemap2sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpltnt%2Fgooglemap2sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpltnt%2Fgooglemap2sqlite/lists"}