{"id":84778,"name":"fwapg","description":"Extends British Columbia's Freshwater Atlas with PostgreSQL/PostGIS.","url":"https://github.com/smnorris/fwapg","last_synced_at":"2026-08-27T02:02:53.443Z","repository":{"id":39725336,"uuid":"185426100","full_name":"smnorris/fwapg","owner":"smnorris","description":"PostgreSQL tools for working with British Columbia's Freshwater Atlas","archived":false,"fork":false,"pushed_at":"2026-07-13T18:09:37.000Z","size":9925,"stargazers_count":12,"open_issues_count":37,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-08-20T23:06:54.911Z","etag":null,"topics":["british-columbia","freshwater-atlas","fwa","lakes","linear-referencing","postgis","rivers","streams","watersheds"],"latest_commit_sha":null,"homepage":"https://smnorris.github.io/fwapg","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smnorris.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2019-05-07T15:07:42.000Z","updated_at":"2026-08-20T23:01:18.000Z","dependencies_parsed_at":"2026-08-06T01:42:14.987Z","dependency_job_id":null,"html_url":"https://github.com/smnorris/fwapg","commit_stats":{"total_commits":442,"total_committers":2,"mean_commits":221.0,"dds":0.03167420814479638,"last_synced_commit":"9500b61f22fe8d4ae6059bbba3e3e5d97cb9899d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/smnorris/fwapg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smnorris","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36802249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-21T02:00:06.756Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"}},"owner":{"login":"smnorris","name":"Simon Norris","uuid":"1323293","kind":"user","description":"","email":"","website":"www.hillcrestgeo.ca","location":"British Columbia","twitter":null,"company":"Hillcrest Geographics","icon_url":"https://avatars.githubusercontent.com/u/1323293?v=4","repositories_count":54,"last_synced_at":"2026-08-23T09:34:03.283Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/smnorris","funding_links":[],"total_stars":56,"followers":58,"following":37,"created_at":"2022-11-05T19:12:36.181Z","updated_at":"2026-08-23T09:34:03.628Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smnorris","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smnorris/repositories"},"packages":[{"id":14071150,"name":"github.com/smnorris/fwapg","ecosystem":"go","description":null,"homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/smnorris/fwapg","keywords_array":[],"namespace":null,"versions_count":19,"first_release_published_at":"2026-03-18T12:27:47.939Z","latest_release_published_at":"2026-04-17T21:01:59.000Z","latest_release_number":"v0.7.2","last_synced_at":"2026-08-26T01:55:36.832Z","created_at":"2026-03-18T12:27:46.079Z","updated_at":"2026-08-26T01:55:36.832Z","registry_url":"https://pkg.go.dev/github.com/smnorris/fwapg","install_command":"go get github.com/smnorris/fwapg","documentation_url":"https://pkg.go.dev/github.com/smnorris/fwapg#section-documentation","metadata":{},"repo_metadata":{"id":39725336,"uuid":"185426100","full_name":"smnorris/fwapg","owner":"smnorris","description":"PostgreSQL tools for working with British Columbia's Freshwater Atlas","archived":false,"fork":false,"pushed_at":"2026-07-13T18:09:37.000Z","size":9925,"stargazers_count":12,"open_issues_count":37,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-08-20T23:06:54.911Z","etag":null,"topics":["british-columbia","freshwater-atlas","fwa","lakes","linear-referencing","postgis","rivers","streams","watersheds"],"latest_commit_sha":null,"homepage":"https://smnorris.github.io/fwapg","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smnorris.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2019-05-07T15:07:42.000Z","updated_at":"2026-08-20T23:01:18.000Z","dependencies_parsed_at":"2026-08-06T01:42:14.987Z","dependency_job_id":null,"html_url":"https://github.com/smnorris/fwapg","commit_stats":{"total_commits":442,"total_committers":2,"mean_commits":221.0,"dds":0.03167420814479638,"last_synced_commit":"9500b61f22fe8d4ae6059bbba3e3e5d97cb9899d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/smnorris/fwapg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smnorris","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36802249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-21T02:00:06.756Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"smnorris","name":"Simon Norris","uuid":"1323293","kind":"user","description":"","email":"","website":"www.hillcrestgeo.ca","location":"British Columbia","twitter":null,"company":"Hillcrest Geographics","icon_url":"https://avatars.githubusercontent.com/u/1323293?v=4","repositories_count":54,"last_synced_at":"2026-08-13T15:41:17.508Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/smnorris","funding_links":[],"total_stars":55,"followers":57,"following":37,"created_at":"2022-11-05T19:12:36.181Z","updated_at":"2026-08-13T15:41:17.525Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smnorris","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smnorris/repositories"},"tags":[{"name":"v0.7.2","sha":"e6e1eb0f47181ee77113ad5e8dbf040e6b4c6e4c","kind":"tag","published_at":"2026-04-17T21:03:19.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.7.2","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.7.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.7.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.2/manifests"},{"name":"v0.7.1","sha":"ceb65eab4ca140cdaa7f6c7d03ec4951e4925b57","kind":"tag","published_at":"2025-11-07T17:53:34.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.7.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.7.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.7.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.1/manifests"},{"name":"v0.7.0post1","sha":"367d94c03249ebf3d3ed1377f14c23798085693e","kind":"tag","published_at":"2025-11-06T22:57:55.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.7.0post1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.7.0post1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.7.0post1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.0post1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.0post1/manifests"},{"name":"v0.7.0","sha":"70e19cbd92f82faec0a7f8995eaf9d53200ccecf","kind":"tag","published_at":"2025-11-06T22:50:32.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.7.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.7.0/manifests"},{"name":"v0.6.1","sha":"52184bf53efa6dd5a61f170101afec135b0ddf32","kind":"tag","published_at":"2024-03-08T04:28:13.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.6.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.6.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.6.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.6.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.6.1/manifests"},{"name":"v0.6.0","sha":"dac6c060eedf820c2befce0b5e0846d1d221e4b9","kind":"tag","published_at":"2024-03-05T19:12:55.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.6.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.6.0/manifests"},{"name":"v0.5.1","sha":"fb18d7dbb94c0c4a0b8ff643f163c11018cd9343","kind":"tag","published_at":"2023-06-22T22:43:58.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.5.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.5.1/manifests"},{"name":"v0.5.0","sha":"3c9328dfb29c0d4c7084543e0b0e91b6a8c37d77","kind":"tag","published_at":"2023-06-01T17:27:40.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.5.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.5.0/manifests"},{"name":"v0.4.1","sha":"ea4e05b85fbc674f4799ec6412d57edaa5f897d6","kind":"tag","published_at":"2023-03-28T19:13:31.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.4.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.4.1/manifests"},{"name":"v0.4.0","sha":"ea23af27db4812bf46d8bde6e31300233a309c90","kind":"tag","published_at":"2023-03-24T03:04:06.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.4.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.4.0/manifests"},{"name":"v0.3.1","sha":"d12d09ad849e9a925c35a2afddb258c091f2eae9","kind":"tag","published_at":"2023-02-08T19:14:44.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.3.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"8cb197bcf1f9823f95471665330d05de6e1570ae","kind":"tag","published_at":"2022-10-14T16:15:53.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.3.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.3.0/manifests"},{"name":"v0.2.2","sha":"5fc6c6a92e266d6c3593c83d605d4c8bd0a6c2ab","kind":"tag","published_at":"2022-08-01T20:08:47.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.2.2","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.2.2/manifests"},{"name":"v0.2.1","sha":"03091aad7b2d85b306d3e4134d716b70d9bd1821","kind":"tag","published_at":"2022-07-07T03:58:46.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.2.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"974a4f5bfeec7500eb35ea69ab5001221278abb6","kind":"tag","published_at":"2022-06-23T23:23:38.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.2.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.2.0/manifests"},{"name":"v0.1.2","sha":"d04815dd3eb1de1a3cb06d2b7748afccc629b85f","kind":"tag","published_at":"2022-06-23T23:18:07.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.1.2","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"6c4cef6b893d3cca2200202836aefe8da8342d96","kind":"tag","published_at":"2020-10-28T15:54:46.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.1.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"25d0c3397c063012ab03be5398d7d84cdb53fd16","kind":"tag","published_at":"2020-10-21T16:44:50.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.1.0","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.1.0/manifests"},{"name":"v0.0.2","sha":"34cb6721d4f207f7f43ffd2834b14a2f1ffb437a","kind":"tag","published_at":"2020-10-20T02:59:51.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.0.2","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.0.2/manifests"},{"name":"v0.0.1","sha":"833f4f7fd319833f1a21b32c24f0fc56230b9e89","kind":"tag","published_at":"2020-06-30T03:05:05.000Z","download_url":"https://codeload.github.com/smnorris/fwapg/tar.gz/v0.0.1","html_url":"https://github.com/smnorris/fwapg/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/smnorris/fwapg@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-08-21T12:37:45.321Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.227687248297523,"dependent_packages_count":4.898440373970379,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.063063811133951},"purl":"pkg:golang/github.com/smnorris/fwapg","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/smnorris/fwapg","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/smnorris/fwapg","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/smnorris/fwapg/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-20T23:06:17.462Z","issues_count":118,"pull_requests_count":34,"avg_time_to_close_issue":5156963.975609756,"avg_time_to_close_pull_request":220287.36363636365,"issues_closed_count":82,"pull_requests_closed_count":33,"pull_request_authors_count":2,"issue_authors_count":6,"avg_comments_per_issue":1.211864406779661,"avg_comments_per_pull_request":0.029411764705882353,"merged_pull_requests_count":29,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":8,"past_year_pull_requests_count":5,"past_year_avg_time_to_close_issue":538639.3333333334,"past_year_avg_time_to_close_pull_request":109510.8,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":5,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":4,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/issues","maintainers":[{"login":"smnorris","count":143,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/smnorris"},{"login":"daimoriwaki","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/daimoriwaki"}],"active_maintainers":[{"login":"smnorris","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/smnorris"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fsmnorris%2Ffwapg/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fsmnorris%2Ffwapg/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fsmnorris%2Ffwapg/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fsmnorris%2Ffwapg/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fsmnorris%2Ffwapg/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fsmnorris%2Ffwapg/codemeta","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":2281963,"maintainers_count":0,"namespaces_count":839500,"keywords_count":125409,"github":"golang","metadata":{"funded_packages_count":68001,"sync_missing_packages_cursor":{"timestamp":"2026-08-17T00:00:58.969562Z","path":"github.com/Tektoncd/operator","version":"v0.78.0"},"rate_limit":1},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2026-08-26T05:01:06.821Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}}],"commits":{"id":1382546,"full_name":"smnorris/fwapg","default_branch":"main","total_commits":491,"total_committers":2,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":245.5,"dds":0.02851323828920571,"past_year_total_commits":30,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":30.0,"past_year_dds":0.0,"last_synced_at":"2026-08-25T20:06:43.085Z","last_synced_commit":"8b3904e4d7d5ee21508d3af76954eb87da4c7eba","created_at":"2023-09-21T13:10:12.452Z","updated_at":"2026-08-25T20:06:42.950Z","committers":[{"name":"Simon Norris","email":"snorris@hillcrestgeo.ca","login":"smnorris","count":477},{"name":"franTarkenton","email":"kevin.netherton@gov.bc.ca","login":"franTarkenton","count":14}],"past_year_committers":[{"name":"Simon Norris","email":"snorris@hillcrestgeo.ca","login":"smnorris","count":30}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-08-26T00:00:10.794Z","repositories_count":6772820,"commits_count":982362695,"contributors_count":41413046,"owners_count":1363685,"committers_count":3359969,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"smnorris/fwapg","html_url":"https://github.com/smnorris/fwapg","last_synced_at":"2026-08-26T01:35:00.008Z","status":null,"issues_count":118,"pull_requests_count":34,"avg_time_to_close_issue":5156963.975609756,"avg_time_to_close_pull_request":220287.36363636365,"issues_closed_count":82,"pull_requests_closed_count":33,"pull_request_authors_count":2,"issue_authors_count":6,"avg_comments_per_issue":1.211864406779661,"avg_comments_per_pull_request":0.029411764705882353,"merged_pull_requests_count":29,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":8,"past_year_pull_requests_count":5,"past_year_avg_time_to_close_issue":538639.3333333334,"past_year_avg_time_to_close_pull_request":109510.8,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":5,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":4,"created_at":"2023-09-21T13:10:42.593Z","updated_at":"2026-08-26T01:35:00.008Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/smnorris%2Ffwapg/issues","issue_labels_count":{"bug":24,"enhancement":9,"data":2,"advertising":1},"pull_request_labels_count":{},"issue_author_associations_count":{"OWNER":110,"NONE":7,"COLLABORATOR":1},"pull_request_author_associations_count":{"OWNER":33,"CONTRIBUTOR":1},"issue_authors":{"smnorris":110,"joethorley":3,"NewGraphEnvironment":2,"paddleman":1,"daimoriwaki":1,"heckstra":1},"pull_request_authors":{"smnorris":33,"franTarkenton":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-08-27T00:00:05.952Z","repositories_count":16433160,"issues_count":42825263,"pull_requests_count":136900057,"authors_count":11544145,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"OWNER":7,"NONE":1},"past_year_pull_request_author_associations_count":{"OWNER":5},"past_year_issue_authors":{"smnorris":7,"NewGraphEnvironment":1},"past_year_pull_request_authors":{"smnorris":5},"maintainers":[{"login":"smnorris","count":143,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/smnorris"},{"login":"daimoriwaki","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/daimoriwaki"}],"active_maintainers":[{"login":"smnorris","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/smnorris"}]},"events":{"total":{"DeleteEvent":8,"PullRequestEvent":11,"IssuesEvent":18,"IssueCommentEvent":17,"PushEvent":92,"CreateEvent":12},"last_year":{"DeleteEvent":3,"PullRequestEvent":1,"IssuesEvent":3,"PushEvent":34,"CreateEvent":3}},"keywords":["british-columbia","freshwater-atlas","fwa","lakes","linear-referencing","postgis","rivers","streams","watersheds"],"dependencies":[{"ecosystem":"pypi","filepath":"docs/requirements.txt","sha":null,"kind":"manifest","created_at":"2022-08-25T14:41:54.328Z","updated_at":"2022-08-25T14:41:54.328Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/docs/requirements.txt","dependencies":[{"id":2696582331,"package_name":"myst_parser","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":2696582332,"package_name":"sphinx_rtd_theme","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/build-docker-image.yml","sha":null,"kind":"manifest","created_at":"2024-02-01T06:44:02.404Z","updated_at":"2024-02-01T06:44:02.404Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/.github/workflows/build-docker-image.yml","dependencies":[{"id":15958285314,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":15958285315,"package_name":"docker/login-action","ecosystem":"actions","requirements":"65b78e6e13532edd9afa3aa52ac7964289d1a9c1","direct":true,"kind":"composite","optional":false},{"id":15958285316,"package_name":"docker/metadata-action","ecosystem":"actions","requirements":"9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7","direct":true,"kind":"composite","optional":false},{"id":15958285317,"package_name":"docker/build-push-action","ecosystem":"actions","requirements":"f2a1d5e99d037542a71f64918e516c093c6f3fc4","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/build-docs.yml","sha":null,"kind":"manifest","created_at":"2024-02-01T06:44:02.447Z","updated_at":"2024-02-01T06:44:02.447Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/.github/workflows/build-docs.yml","dependencies":[{"id":15958286322,"package_name":"actions/checkout","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false},{"id":15958286323,"package_name":"erpcya/sphinx-action","ecosystem":"actions","requirements":"feature/#update-sphinx-base-image","direct":true,"kind":"composite","optional":false},{"id":15958286703,"package_name":"ad-m/github-push-action","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"docker","filepath":"docker-compose.yml","sha":null,"kind":"manifest","created_at":"2024-02-01T06:44:02.953Z","updated_at":"2024-02-01T06:44:02.953Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/docker-compose.yml","dependencies":[{"id":15958286794,"package_name":"postgis/postgis","ecosystem":"docker","requirements":"16-3.4","direct":true,"kind":"runtime","optional":false},{"id":15958286795,"package_name":"pramsey/pg_featureserv","ecosystem":"docker","requirements":"latest","direct":true,"kind":"runtime","optional":false},{"id":15958286796,"package_name":"pramsey/pg_tileserv","ecosystem":"docker","requirements":"latest","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"docker","filepath":"docker/db/Dockerfile","sha":null,"kind":"manifest","created_at":"2026-08-06T01:42:11.174Z","updated_at":"2026-08-06T01:42:11.174Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/docker/db/Dockerfile","dependencies":[{"id":25900736071,"package_name":"postgis/postgis","ecosystem":"docker","requirements":"16-3.5","direct":true,"kind":"build","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test-migration.yml","sha":null,"kind":"manifest","created_at":"2026-08-06T01:42:10.522Z","updated_at":"2026-08-06T01:42:10.522Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/.github/workflows/test-migration.yml","dependencies":[{"id":25900735996,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":25900735997,"package_name":"ghcr.io/smnorris/fwapg-db","ecosystem":"actions","requirements":"main","direct":true,"kind":"docker","optional":false}]},{"ecosystem":"docker","filepath":"docker/loader/Dockerfile","sha":null,"kind":"manifest","created_at":"2026-08-06T01:42:12.066Z","updated_at":"2026-08-06T01:42:12.066Z","repository_link":"https://github.com/smnorris/fwapg/blob/main/docker/loader/Dockerfile","dependencies":[{"id":25900736091,"package_name":"ghcr.io/osgeo/gdal","ecosystem":"docker","requirements":"ubuntu-full-3.13.1","direct":true,"kind":"build","optional":false}]}],"score":null,"created_at":"2023-09-21T12:55:56.896Z","updated_at":"2026-08-27T02:02:53.445Z","avatar_url":"https://github.com/smnorris.png","language":"PLpgSQL","category":"Hydrosphere","sub_category":"Freshwater and Hydrology","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"# fwapg\n\n`fwapg` extends British Columbia's [Freshwater Atlas](https://www2.gov.bc.ca/gov/content/data/geographic-data-services/topographic-data/freshwater) (FWA) with PostgreSQL/PostGIS. `fwapg` provides additional tables, indexes and functions to:\n\n- quickly translate arbitrary point locations (`X,Y`) to a linear reference positions (`blue_line_key, measure`) on the stream network\n- enable speedy upstream/downstream queries throughout BC\n- quickly and cleanly generate watershed boundaries upstream of arbitrary locations\n- enable cross-boundary queries by combining FWA data with data from neighbouring jurisdictions\n- enable querying of FWA features via spatial SQL\n- provide `gradient` values for every FWA stream\n- enable quickly serving FWA features as vector tiles (MVT)\n- enable quickly serving FWA features and custom fwapg functions\n- link additional data to FWA streams (PCIC mean annual discharge, modelled channel width, upstream precipitation)\n\nSee [documentation](https://smnorris.github.io/fwapg/) for setup and usage details, plus table and function references.\n\n\n## Quickstart\n\n1. Ensure all requirements/dependencies are met/installed. \n    - access to a PostgreSQL (\u003e13) database with the PostGIS extension\n    - GDAL \u003e=3.6\n    - Python 3\n    - [`bcdata`](https://github.com/smnorris/bcdata)\n\nSee the `docker/loader/Dockerfile` for the full list of dependencies.\n    \n\n2. Ensure you have a `DATABASE_URL` environment variable set to point to your database, for example:\n\n        export DATABASE_URL=postgresql://username:password@localhost:5432/fwapg\n\n3. Get scripts, load and optimize the data:\n\n        git clone https://github.com/smnorris/fwapg.git\n        cd fwapg\n        psql $DATABASE_URL -f db/schema.sql # create db schema\n        ./load.sh                           # load the data\n\nThe full load takes some time - but once complete, you can run `fwapg` enabled queries with your favorite sql client. For example:\n\n*Locate the nearest point on the FWA stream network to a X,Y location on Highway 14:*\n\n        SELECT \n          gnis_name, \n          blue_line_key, \n          downstream_route_measure\n        FROM FWA_IndexPoint(ST_Transform(ST_GeomFromText('POINT(-123.7028 48.3858)', 4326), 3005));\n\n          gnis_name  | blue_line_key | downstream_route_measure\n        -------------+---------------+--------------------------\n         Sooke River |     354153927 |        350.2530543284006\n\n*Generate the watershed upstream of this location:*\n\n        SELECT ST_ASText(geom) FROM FWA_WatershedAtMeasure(354153927, 350);\n\n         st_astext\n        --------------\n        POLYGON((...\n\n*Select all stream upstream of this location:*\n\n        SELECT ST_ASText(geom)\n        FROM FWA_UpstreamTrace(354153927, 350);\n\n         st_astext\n        --------------\n        LINESTRINGZM((...\n\n\nSee [Usage](https://smnorris.github.io/fwapg/01_usage.html) for more examples.\n\n\n## Tile and feature services\n\n`fwapg` features and functions are served from hillcrestgeo.ca as GeoJSON or vector tiles via these web services and wrappers:\n\n- [features.hillcrestgeo.ca/fwa](https://features.hillcrestgeo.ca/fwa): tables and functions served as GeoJSON\n- [fwapgr (R)](https://github.com/poissonconsulting/fwapgr): an R wrapper around the `features.hillcrestgeo.ca/fwa` feature service\n- [fwatlasbc (R)](https://github.com/poissonconsulting/fwatlasbc): an R package for higher level queries\n- [tiles.hillcrestgeo.ca/bcfishpass](https://tiles.hillcrestgeo.ca/bcfishpass): FWA features (and others) served as vector tiles (MVT)\n\n\n## Source data\n\n- BC Freshwater Atlas [documentation](https://www2.gov.bc.ca/gov/content/data/geographic-data-services/topographic-data/freshwater) and [license](https://www2.gov.bc.ca/gov/content/data/open-data/open-government-licence-bc)\n\n- BC stream contributing areas (watershed boundaries) outside of BC were provided by Dan Weller, DFO \n\n## Development and testing\n\nSee `db/README.md` for how to apply migrations.\n\nExtremely basic tests are included for selected functions.\nIf changing a covered function, run the individual test. For example:\n\n    psql -f tests/test_fwa_upstream.sql\n\nAll results should be true.\n\n## Docker on ARM64\n\nOn ARM64 platforms (eg MacOS), remember to build the postgis image before running `docker compose build` or `docker compose up -d`.\nDocker will pull this postgis image from the cache instead of attempting to download (an arm64 image is not currently published). \n\n        docker build \\\n          https://github.com/postgis/docker-postgis.git#master:16-3.5 \\\n          -t postgis/postgis:16-3.5\n\n## Documentation\n\nDocumentation is built from the markdown files in `/docs`.\nInfo in the table reference page (`02_tables_views.md`) can be autogenerated from comments in the database. To dump the text to stdout:\n```\ncd docs\n./table_reference.sh \n```","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/84778","html_url":"https://ost.ecosyste.ms/projects/84778"}