{"id":20705290,"url":"https://github.com/whosonfirst/go-whosonfirst-sqlite-index","last_synced_at":"2025-05-10T20:30:47.395Z","repository":{"id":57710050,"uuid":"190258959","full_name":"whosonfirst/go-whosonfirst-sqlite-index","owner":"whosonfirst","description":"Go package for indexing SQLite databases.","archived":true,"fork":false,"pushed_at":"2024-12-13T18:35:42.000Z","size":23247,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T04:51:31.443Z","etag":null,"topics":["golang","sqlite","whosonfirst"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whosonfirst.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":"2019-06-04T18:36:47.000Z","updated_at":"2024-12-13T18:35:59.000Z","dependencies_parsed_at":"2022-09-26T21:21:28.349Z","dependency_job_id":null,"html_url":"https://github.com/whosonfirst/go-whosonfirst-sqlite-index","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosonfirst%2Fgo-whosonfirst-sqlite-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosonfirst%2Fgo-whosonfirst-sqlite-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosonfirst%2Fgo-whosonfirst-sqlite-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosonfirst%2Fgo-whosonfirst-sqlite-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whosonfirst","download_url":"https://codeload.github.com/whosonfirst/go-whosonfirst-sqlite-index/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253480237,"owners_count":21915245,"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":["golang","sqlite","whosonfirst"],"created_at":"2024-11-17T01:17:07.967Z","updated_at":"2025-05-10T20:30:42.382Z","avatar_url":"https://github.com/whosonfirst.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-whosonfirst-sqlite-index\n\nGo package for indexing SQLite databases using table constucts defined in the `aaronland/go-sqlite/v2` package and records defined by the `whosonfirst/go-whosonfirst-iterate/v2` package.\n\n## Documentation\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/whosonfirst/go-whosonfirst-sqlite-index.svg)](https://pkg.go.dev/github.com/whosonfirst/go-whosonfirst-sqlite-index)\n\n## Tools\n\n```\n$\u003e make cli\ngo build -mod vendor -o bin/example cmd/example/main.go\n```\n\n### example\n\n```\n$\u003e ./bin/example -h\nUsage of ./bin/example:\n  -database-uri string\n    \t (default \"modernc://mem\")\n  -emitter-uri string\n    \tA valid whosonfirst/go-whosonfirst-iterate/v2 URI. Valid schemes are: directory://,featurecollection://,file://,filelist://,geojsonl://,null://,repo://. (default \"repo://\")\n  -live-hard-die-fast\n    \tEnable various performance-related pragmas at the expense of possible (unlikely) database corruption (default true)\n  -post-index\n    \tEnable post indexing callback function\n  -timings\n    \tDisplay timings during and after indexing\n```\n\nFor example:\n\n```\n$\u003e ./bin/example -dsn 'modernc://cwd/test.db' /usr/local/data/sfomuseum-data-architecture/\n2021/02/18 11:34:58 time to index paths (1) 403.514656ms\n\n$\u003e sqlite3  test.db \nSQLite version 3.28.0 2019-04-15 14:49:49\nEnter \".help\" for usage hints.\nsqlite\u003e .tables\nexample\n\nsqlite\u003e SELECT COUNT(id) FROM example;\n12751\n```\n\n## See also\n\n* https://github.com/aaronland/go-sqlite\n* https://github.com/whosonfirst/go-whosonfirst-iterate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhosonfirst%2Fgo-whosonfirst-sqlite-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhosonfirst%2Fgo-whosonfirst-sqlite-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhosonfirst%2Fgo-whosonfirst-sqlite-index/lists"}