{"id":20940819,"url":"https://github.com/timhanewich/geotoolkit","last_synced_at":"2026-04-27T10:32:11.067Z","repository":{"id":159286568,"uuid":"634618091","full_name":"TimHanewich/geotoolkit","owner":"TimHanewich","description":"A lightweight python library for working with geographic coordinates. This library can be used in things such as drone navigation, speed measurement, and more.","archived":false,"fork":false,"pushed_at":"2023-04-30T17:55:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T05:50:25.472Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimHanewich.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2023-04-30T17:55:40.000Z","updated_at":"2023-04-30T17:55:56.000Z","dependencies_parsed_at":"2023-06-11T17:15:41.333Z","dependency_job_id":null,"html_url":"https://github.com/TimHanewich/geotoolkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimHanewich/geotoolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimHanewich%2Fgeotoolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimHanewich%2Fgeotoolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimHanewich%2Fgeotoolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimHanewich%2Fgeotoolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimHanewich","download_url":"https://codeload.github.com/TimHanewich/geotoolkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimHanewich%2Fgeotoolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32333196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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"}},"keywords":[],"created_at":"2024-11-18T23:12:01.695Z","updated_at":"2026-04-27T10:32:11.043Z","avatar_url":"https://github.com/TimHanewich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geotoolkit\nA lightweight python library for working with geographic coordinates. This library can be used in things such as drone navigation, speed measurement, and more.\n\n## Examples\nMeasuring distance between two points:\n```\np1 = (33.93369079118477, -118.41900963926824)\np2 = (33.937366248549935, -118.38276824755901)\ndistance = distance(p1, p2)\nprint(distance) # 2.0952233910697995, in miles\n```\n\nChecking if a point lies within (inside of) a polygon:\n```\nraw_json:str = \"[[34.04709656460684, -118.51420813970792], [34.0173210880725, -118.00731306657742], [33.92068010802825, -117.92185949106074], [33.695565897860064, -118.00828413031054], [33.693142098170746, -118.38020139809352]]\" # load a polygon from a JSON array of arrays\npolygon:list[tuple[float, float]] = load_polygon(raw_json)\npoint1:tuple[float, float] = (33.924709007544834, -118.22191807002923)\npoint2:tuple[float, float] = (33.88682983206357, -118.72492888526082)\nprint(inside_polygon(point1, polygon)) # True (it is within the polygon)\nprint(inside_polygon(point2, polygon)) # False (it is outside of the polygon)\n```\n\nMeasuring speed:\n```\nmph = speed_mph((33.92533554514059, -118.32099118005947), (33.92532143656184, -118.31715080400728), 9.8)\nprint(mph) # 80.96760998067498 MPH\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimhanewich%2Fgeotoolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimhanewich%2Fgeotoolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimhanewich%2Fgeotoolkit/lists"}