{"id":19595931,"url":"https://github.com/innovativeinventor/geocompose","last_synced_at":"2025-06-11T14:38:38.527Z","repository":{"id":135191541,"uuid":"290626628","full_name":"InnovativeInventor/geocompose","owner":"InnovativeInventor","description":"[WIP] A library for representing geographical regions as a set of addresses. In this representation, all electorial geographies are composed of Voronoi cells. Intended for use in redistricting. In particular, calculating precinct stability on messy data.","archived":false,"fork":false,"pushed_at":"2021-01-01T01:47:37.000Z","size":6830,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T14:45:24.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/InnovativeInventor.png","metadata":{"files":{"readme":"README.org","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,"publiccode":null,"codemeta":null}},"created_at":"2020-08-26T23:30:04.000Z","updated_at":"2022-01-27T04:26:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"79c6819d-4208-4deb-b076-9bc2681feb30","html_url":"https://github.com/InnovativeInventor/geocompose","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/InnovativeInventor%2Fgeocompose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fgeocompose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fgeocompose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fgeocompose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InnovativeInventor","download_url":"https://codeload.github.com/InnovativeInventor/geocompose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fgeocompose/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259280878,"owners_count":22833468,"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-11T08:49:30.930Z","updated_at":"2025-06-11T14:38:38.487Z","avatar_url":"https://github.com/InnovativeInventor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+title: geocompose\n#+description: A library for representing geographical regions as a set of addresses. Intended for use in redistricting.\n\n#+caption: \n[[file:https://github.com/InnovativeInventor/geocompose/workflows/Python%20testing%20and%20linting/badge.svg]]\n#+caption: \n[[file:https://codecov.io/gh/InnovativeInventor/geocompose/branch/master/graph/badge.svg]]\n\n* Overview\n  Geocompose is an implementation of an address-based presentation of geographical regions (e.g. voter precincts or districts).\n\n* Install\n  To install, run:\n  \n #+begin_src bash\n   poetry install\n   pip install git+https://github.com/Toblerity/Shapely.git\n #+end_src \n  \n Currently, this depends on Shapely 1.8, which isn't out yet (which is why we build from master).\n\n* Operations Supported (for shapefiles)\n\n- merge operation\n- chunking\n- diff calculations\n- Voronoi diagram creation (to visualize, mostly)\n\n\nThe diff operation is intended primarily for visualization purposes.\nIf the intersection between the two regions is greater than half of the size of either region, then the the two regions are considered to be the same. \nThe difference is the [[https://shapely.readthedocs.io/en/latest/manual.html#object.symmetric_difference][symmetric difference]] between the two regions.\nIf not, the intersection of the two regions is the difference.\nFinally, if one of the regions completely contains the other, the symmetric difference is used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Fgeocompose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnovativeinventor%2Fgeocompose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Fgeocompose/lists"}