{"id":13423426,"url":"https://github.com/r-spatial/lwgeom","last_synced_at":"2025-03-15T17:31:44.805Z","repository":{"id":26553955,"uuid":"109395854","full_name":"r-spatial/lwgeom","owner":"r-spatial","description":"bindings to the liblwgeom library","archived":false,"fork":false,"pushed_at":"2025-02-11T14:11:21.000Z","size":8260,"stargazers_count":61,"open_issues_count":8,"forks_count":25,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-12T05:36:10.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://r-spatial.github.io/lwgeom/","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/r-spatial.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-03T12:59:14.000Z","updated_at":"2025-02-11T14:07:26.000Z","dependencies_parsed_at":"2023-01-16T22:16:15.606Z","dependency_job_id":"b4d3b69a-0d63-4f2b-9514-11ecc3d24d0c","html_url":"https://github.com/r-spatial/lwgeom","commit_stats":{"total_commits":285,"total_committers":17,"mean_commits":"16.764705882352942","dds":"0.10877192982456141","last_synced_commit":"d96c41bcf885b802daf998358c106af0e7112e2d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Flwgeom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Flwgeom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Flwgeom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Flwgeom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-spatial","download_url":"https://codeload.github.com/r-spatial/lwgeom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243766849,"owners_count":20344824,"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-07-31T00:00:34.302Z","updated_at":"2025-03-15T17:31:44.206Z","avatar_url":"https://github.com/r-spatial.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# lwgeom\nR bindings to the [liblwgeom](https://github.com/postgis/postgis/tree/master/liblwgeom) library\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/r-spatial/lwgeom/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-spatial/lwgeom/actions/workflows/R-CMD-check.yaml)\n[![Coverage Status](https://img.shields.io/codecov/c/github/r-spatial/lwgeom/master.svg)](https://app.codecov.io/github/r-spatial/lwgeom?branch=master)\n[![CRAN](http://www.r-pkg.org/badges/version/lwgeom)](https://cran.r-project.org/package=lwgeom)\n[![cran checks](https://badges.cranchecks.info/worst/lwgeom.svg)](https://cran.r-project.org/web/checks/check_results_lwgeom.html)\n[![Downloads](http://cranlogs.r-pkg.org/badges/lwgeom?color=brightgreen)](https://www.r-pkg.org:443/pkg/lwgeom)\n\u003c!-- badges: end --\u003e\n\n\nThis package provides functions that use\n`liblwgeom`, including `st_geohash()`,\n`st_minimum_bounding_circle()`, `st_split()`, `st_subdivide()`,\n`st_transform_proj()` (transform through proj, omitting\nGDAL) and `st_as_sfc.TWKB()` (creates `sfc` from [tiny\nwkb](https://github.com/TWKB/Specification/blob/master/twkb.md)),\nas well as the geodetic (spherical/ellipsoidal) geometry\nfunctions `st_geod_area()`, \n`st_geod_length()`, \n`st_geod_distance()`, \n`st_geod_covers()`,\n`st_geod_azimuth()`, \nand `st_geod_segmentize()`. The previously offered `st_make_valid()`\nis now a generic in package `sf` (`sf::st_make_valid()`).\n\n## Installing \n\n`lwgeom` depends on [sf](https://github.com/r-spatial/sf), which\nhas to be installed first.  This package uses the liblwgeom library,\nand compiles a shipped (and modified) version of liblwgeom.  It links\nto the GEOS and PROJ libraries. \n\nTo install from source, it should be enough to have installed\n`sf` from source; the resources for this package (PROJ, GEOS)\nare being reused.\n\n## lwgeom source now included \n\nPrevious to version 0.1-6, `lwgeom` would also try to link the system\nlibrary liblwgeom; from 0.1-6 on only the shipped version is used.\n\n## Contributing\n\n* Contributions of all sorts are most welcome, issues and pull requests are the preferred ways of sharing them.\n* When contributing pull requests, please adhere to the package style (in package code use `=` rather than `\u003c-`; don't change indentation; tab stops of 4 spaces are preferred)\n* This project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-spatial%2Flwgeom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-spatial%2Flwgeom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-spatial%2Flwgeom/lists"}