{"id":16731620,"url":"https://github.com/missinglink/wof-spatialite","last_synced_at":"2025-04-10T11:24:01.628Z","repository":{"id":140480712,"uuid":"80169127","full_name":"missinglink/wof-spatialite","owner":"missinglink","description":"docker container to load whosonfirst in to spatialite.","archived":false,"fork":false,"pushed_at":"2018-03-11T13:32:09.000Z","size":3925,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T10:11:23.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pip.synergy.io","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/missinglink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-01-27T00:27:08.000Z","updated_at":"2022-10-28T02:15:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a3ddf64-663e-4434-979f-898f4415bb3b","html_url":"https://github.com/missinglink/wof-spatialite","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/missinglink%2Fwof-spatialite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Fwof-spatialite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Fwof-spatialite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Fwof-spatialite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/missinglink","download_url":"https://codeload.github.com/missinglink/wof-spatialite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208612,"owners_count":21065203,"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-10-12T23:38:10.690Z","updated_at":"2025-04-10T11:24:01.620Z","avatar_url":"https://github.com/missinglink.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\ndocker container to load [whosonfirst](https://github.com/whosonfirst-data/whosonfirst-data) in to spatialite.\n\n#### quick start\n\n```bash\n./example.sh\n```\n\n#### how can run this container?\n\nfirst you need to fetch the whosonfirst data and put it in a directory on disk, the directory should have one or more subdirectories containing the .geojson files you wish to import:\n\n```bash\n$ ls /tmp/inputdir\n\ndata  meta\n```\n\ncreate another directory where you would like to store the output sqlite database:\n\n```bash\n$ mkdir -p /tmp/outputdir\n```\n\ninitialize the database:\n\n```bash\n$ docker run -e 'DB=/out/wof.sqlite' -v '/tmp/outputdir:/out' 'missinglink/wof-spatialite' init\n```\n\nmake sure that worked:\n\n```bash\n$ ls /tmp/outputdir\n\nwof.sqlite\n```\n\nimport all the things:\n\n```bash\n$ docker run -e 'DB=/out/wof.sqlite' -v '/tmp/inputdir:/in' -v '/tmp/outputdir:/out' 'missinglink/wof-spatialite' index_all '/in'\n```\n\nsee ./spatialite.sh in this repo for a full list of supported commands\n\n#### how can I rebuild the image?\n\nclone this repository, cd in the directory and run:\n\n```bash\ndocker build -t 'missinglink/wof-spatialite' .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissinglink%2Fwof-spatialite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmissinglink%2Fwof-spatialite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissinglink%2Fwof-spatialite/lists"}