{"id":43816670,"url":"https://github.com/jericks/geos-cli","last_synced_at":"2026-02-06T00:34:58.809Z","repository":{"id":143378072,"uuid":"282346211","full_name":"jericks/geos-cli","owner":"jericks","description":"A native geometry command line library using libgeos.","archived":false,"fork":false,"pushed_at":"2022-08-30T03:07:25.000Z","size":161,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-29T09:36:32.814Z","etag":null,"topics":["cli","geometry","geos","geospatial"],"latest_commit_sha":null,"homepage":"","language":"C++","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/jericks.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}},"created_at":"2020-07-25T01:15:05.000Z","updated_at":"2023-08-05T05:09:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5bed150-d83e-481f-8639-5ec0f93cf38a","html_url":"https://github.com/jericks/geos-cli","commit_stats":{"total_commits":84,"total_committers":1,"mean_commits":84.0,"dds":0.0,"last_synced_commit":"9e851e54218e2f86c04dfef460adfc9f8e40a806"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jericks/geos-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jericks%2Fgeos-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jericks%2Fgeos-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jericks%2Fgeos-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jericks%2Fgeos-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jericks","download_url":"https://codeload.github.com/jericks/geos-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jericks%2Fgeos-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29140314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T23:14:48.546Z","status":"ssl_error","status_checked_at":"2026-02-05T23:14:35.724Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","geometry","geos","geospatial"],"created_at":"2026-02-06T00:34:58.331Z","updated_at":"2026-02-06T00:34:58.796Z","avatar_url":"https://github.com/jericks.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Github Action](https://github.com/jericks/geos-cli/workflows/CMake/badge.svg)](https://github.com/jericks/geos-cli/actions)\n\ngeos-cli\n========\n\nA Command line interface for [GEOS - Geometry Engine Open Source](https://github.com/libgeos/geos).\n\nEach command does one thing well (buffer, centroid, envelope) by reading in a geometry, processing the geometry, and writing the geometry out as WKT. Individual commands can be connected with unix pipes.\n\n```bash\ngeos-cli buffer -g \"POINT (1 1)\" -d 10 | geos-cli centroid\n```\n\ngeos-cli is written in C++ using [CLI11](https://github.com/CLIUtils/CLI11) and [GEOS](https://github.com/libgeos/geos).  The [Google Test](https://github.com/google/googletest) library is used to write unit tests.  The project is built with [CMake](https://cmake.org/) and dependencies are managed with [conan](https://conan.io/).\n\nBuild\n-----\n\n```bash\nmkdir build\ncd build\nconan install ..\ncmake -g \"Unix Makefiles\" .\ncmake --build .\nctest --verbose\n```\n\nUse\n---\n\nList all commands\n\n```bash\n% geos-cli list\narea\nboundary\nbuffer\ncentroid\ncontains\nconvexhull\ncoordinates\ncount\ncountpoints\n```\n\nGet help for a command\n\n```bash\n % geos-cli buffer --help\nBuffer a geometry\nUsage: geos-cli buffer [OPTIONS]\n\nOptions:\n  -h,--help                   Print this help message and exit\n  -g TEXT                     Geometry\n  -d FLOAT REQUIRED           Distance\n```\n\nUse a command\n\n```bash\n% geos-cli get -g \"MULTIPOINT (1 1, 5 5, 10 10)\" -i 1\nPOINT (1.0000000000000000 1.0000000000000000)\n```\n\nCombine commands\n\n```bash\n% geos-cli buffer -g \"POINT (1 1)\" -d 10 | geos-cli centroid\nPOINT (0.9999999999999994 0.9999999999999997)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjericks%2Fgeos-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjericks%2Fgeos-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjericks%2Fgeos-cli/lists"}