{
  "_id": "6a1dc1701d7bb097a0a5894e",
  "Package": "lwgeom",
  "Version": "0.2-16",
  "Title": "Bindings to Selected 'liblwgeom' Functions for Simple Features",
  "Description": "Access to selected functions found in 'liblwgeom'\n<https://github.com/postgis/postgis/tree/master/liblwgeom>, the\nlight-weight geometry library used by 'PostGIS'\n<http://postgis.net/>.",
  "Authors@R": "c(person(\"Edzer\", \"Pebesma\", role = c(\"aut\", \"cre\"), email = \"edzer.pebesma@uni-muenster.de\", comment = c(ORCID = \"0000-0001-8049-7069\")),\nperson(\"Colin\", \"Rundel\", role = \"ctb\"),\nperson(\"Andy\", \"Teucher\", role = \"ctb\"),\nperson(\"liblwgeom developers\", role = \"cph\"))",
  "SystemRequirements": "GEOS (>= 3.5.0), PROJ (>= 4.8.0), sqlite3",
  "License": "GPL-2",
  "Copyright": "file COPYRIGHTS",
  "Encoding": "UTF-8",
  "URL": "https://r-spatial.github.io/lwgeom/,\nhttps://github.com/r-spatial/lwgeom",
  "BugReports": "https://github.com/r-spatial/lwgeom/issues",
  "Collate": "init.R RcppExports.R geohash.R split.R subdivide.R valid.R\ntransform.R bounding_circle.R bearing.R snap_to_grid.R\nstartpoint.R twkb.R perimeter.R clockwise.R geod.R wkt.R\nwrap_x.R",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libssl-dev\nlibproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://r-spatial.r-universe.dev",
  "Date/Publication": "2026-05-03 12:00:26 UTC",
  "RemoteUrl": "https://github.com/r-spatial/lwgeom",
  "RemoteRef": "HEAD",
  "RemoteSha": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-01 17:09:47 UTC",
    "User": "root"
  },
  "Author": "Edzer Pebesma [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8049-7069>),\nColin Rundel [ctb],\nAndy Teucher [ctb],\nliblwgeom developers [cph]",
  "Maintainer": "Edzer Pebesma <edzer.pebesma@uni-muenster.de>",
  "MD5sum": "276f45e380e16031302f3e352623159f",
  "_user": "r-spatial",
  "_type": "src",
  "_file": "lwgeom_0.2-16.tar.gz",
  "_fileid": "ec2c79025acaa079cc3b2105f3f569db3b021010e10ce4cce020ee11811b8d18",
  "_filesize": 590075,
  "_sha256": "ec2c79025acaa079cc3b2105f3f569db3b021010e10ce4cce020ee11811b8d18",
  "_created": "2026-06-01T17:09:47.000Z",
  "_published": "2026-06-01T17:29:20.199Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78906511746,
      "time": 176,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7338041585"
    },
    {
      "job": 78906511730,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7338037602"
    },
    {
      "job": 78906511729,
      "time": 182,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7338043622"
    },
    {
      "job": 78906511795,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7338038753"
    },
    {
      "job": 78906511852,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7338320658"
    },
    {
      "job": 78906511935,
      "time": 265,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7338086935"
    },
    {
      "job": 78906511911,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7338357331"
    },
    {
      "job": 78906511970,
      "time": 360,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7338204350"
    },
    {
      "job": 78905818429,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7337976750"
    },
    {
      "job": 78906511713,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78906511703,
      "time": 316,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7338089716"
    },
    {
      "job": 78906511704,
      "time": 260,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7338070404"
    },
    {
      "job": 78906511801,
      "time": 268,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7338073525"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-spatial/lwgeom",
  "_commit": {
    "id": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
    "author": "edzer <edzer.pebesma@uni-muenster.de>",
    "committer": "edzer <edzer.pebesma@uni-muenster.de>",
    "message": "remove %>%\n\nsee https://github.com/r-spatial/sf/issues/2607\n",
    "time": 1777809626
  },
  "_maintainer": {
    "name": "Edzer Pebesma",
    "email": "edzer.pebesma@uni-muenster.de",
    "login": "edzer",
    "mastodon": "@edzer@mastodon.social",
    "bluesky": "@edzer.bsky.social",
    "orcid": "0000-0001-8049-7069",
    "description": "geoinformatics, spatial statistics, R.",
    "uuid": 520851
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "sf",
      "version": ">= 1.0-15",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-15",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "geosphere",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "r-spatial",
  "_selfowned": true,
  "_usedby": 77,
  "_updates": [
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 63,
  "_contributors": [
    {
      "user": "edzer",
      "count": 322,
      "uuid": 520851
    },
    {
      "user": "robitalec",
      "count": 17,
      "uuid": 16324625
    },
    {
      "user": "olivroy",
      "count": 10,
      "uuid": 52606734
    },
    {
      "user": "jeroen",
      "count": 8,
      "uuid": 216319
    },
    {
      "user": "robinlovelace",
      "count": 7,
      "uuid": 1825120
    },
    {
      "user": "uribo",
      "count": 3,
      "uuid": 228649
    },
    {
      "user": "rundel",
      "count": 2,
      "uuid": 273926
    },
    {
      "user": "etiennebr",
      "count": 2,
      "uuid": 393576
    },
    {
      "user": "jeffreyhanson",
      "count": 2,
      "uuid": 3610005
    },
    {
      "user": "virgesmith",
      "count": 2,
      "uuid": 19323577
    },
    {
      "user": "dbaston",
      "count": 2,
      "uuid": 6318931
    },
    {
      "user": "tim-salabim",
      "count": 1,
      "uuid": 2826432
    },
    {
      "user": "pat-s",
      "count": 1,
      "uuid": 8430564
    },
    {
      "user": "uchidamizuki",
      "count": 1,
      "uuid": 35052925
    },
    {
      "user": "kalibera",
      "count": 1,
      "uuid": 1734520
    },
    {
      "user": "rsbivand",
      "count": 1,
      "uuid": 10198404
    },
    {
      "user": "milesmcbain",
      "count": 1,
      "uuid": 9996346
    },
    {
      "user": "lcgodoy",
      "count": 1,
      "uuid": 24809942
    },
    {
      "user": "cmarquardt",
      "count": 1,
      "uuid": 1011533
    },
    {
      "user": "bennet-umich",
      "count": 1,
      "uuid": 96595574
    },
    {
      "user": "ateucher",
      "count": 1,
      "uuid": 2816635
    }
  ],
  "_userbio": {
    "uuid": 25086656,
    "type": "organization",
    "name": "r-spatial",
    "description": "For packages raster, terra, dismo & geosphere visit the rspatial github organisation (mind the missing '-')"
  },
  "_downloads": {
    "count": 43107,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lwgeom"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-spatial/lwgeom",
  "_pkgdown": "https://r-spatial.github.io/lwgeom/",
  "_searchresults": 2552,
  "_topics": [
    "proj",
    "geos",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lwgeom.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-spatial/lwgeom",
  "_realowner": "r-spatial",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2017-11-16"
    },
    {
      "version": "0.1-1",
      "date": "2017-12-17"
    },
    {
      "version": "0.1-2",
      "date": "2017-12-19"
    },
    {
      "version": "0.1-3",
      "date": "2018-01-21"
    },
    {
      "version": "0.1-4",
      "date": "2018-01-28"
    },
    {
      "version": "0.1-5",
      "date": "2018-12-07"
    },
    {
      "version": "0.1-6",
      "date": "2019-02-18"
    },
    {
      "version": "0.1-7",
      "date": "2019-05-06"
    },
    {
      "version": "0.2-0",
      "date": "2020-01-31"
    },
    {
      "version": "0.2-1",
      "date": "2020-01-31"
    },
    {
      "version": "0.2-2",
      "date": "2020-04-11"
    },
    {
      "version": "0.2-3",
      "date": "2020-04-12"
    },
    {
      "version": "0.2-4",
      "date": "2020-05-20"
    },
    {
      "version": "0.2-5",
      "date": "2020-06-13"
    },
    {
      "version": "0.2-6",
      "date": "2021-04-02"
    },
    {
      "version": "0.2-7",
      "date": "2021-07-28"
    },
    {
      "version": "0.2-8",
      "date": "2021-10-06"
    },
    {
      "version": "0.2-9",
      "date": "2022-10-01"
    },
    {
      "version": "0.2-10",
      "date": "2022-11-19"
    },
    {
      "version": "0.2-11",
      "date": "2023-01-14"
    },
    {
      "version": "0.2-13",
      "date": "2023-05-22"
    },
    {
      "version": "0.2-14",
      "date": "2024-02-21"
    },
    {
      "version": "0.2-15",
      "date": "2026-01-12"
    },
    {
      "version": "0.2-16",
      "date": "2026-05-03"
    }
  ],
  "_exports": [
    "lwgeom_extSoftVersion",
    "lwgeom_make_valid",
    "st_asewkt",
    "st_astext",
    "st_endpoint",
    "st_force_polygon_cw",
    "st_geod_area",
    "st_geod_azimuth",
    "st_geod_covered_by",
    "st_geod_covers",
    "st_geod_distance",
    "st_geod_length",
    "st_geod_segmentize",
    "st_geohash",
    "st_geom_from_geohash",
    "st_is_polygon_cw",
    "st_linesubstring",
    "st_minimum_bounding_circle",
    "st_minimum_bounding_radius",
    "st_perimeter",
    "st_perimeter_2d",
    "st_perimeter_lwgeom",
    "st_snap_to_grid",
    "st_split",
    "st_startpoint",
    "st_subdivide",
    "st_transform_proj",
    "st_wrap_x"
  ],
  "_help": [
    {
      "page": "bounding_circle",
      "title": "Generate the minimum bounding circle",
      "topics": [
        "bounding_circle",
        "st_minimum_bounding_circle",
        "st_minimum_bounding_radius"
      ]
    },
    {
      "page": "geod",
      "title": "liblwgeom geodetic functions",
      "topics": [
        "geod",
        "st_geod_area",
        "st_geod_covered_by",
        "st_geod_covers",
        "st_geod_distance",
        "st_geod_length",
        "st_geod_segmentize"
      ]
    },
    {
      "page": "lwgeom_extSoftVersion",
      "title": "Provide the external dependencies versions of the libraries linked to sf",
      "topics": [
        "lwgeom_extSoftVersion"
      ]
    },
    {
      "page": "lwgeom_make_valid",
      "title": "Make an invalid geometry valid",
      "topics": [
        "lwgeom_make_valid"
      ]
    },
    {
      "page": "perimeter",
      "title": "Compute perimeter from polygons or other geometries",
      "topics": [
        "perimeter",
        "st_perimeter_2d",
        "st_perimeter_lwgeom"
      ]
    },
    {
      "page": "st_as_sfc.TWKB",
      "title": "create sfc object from tiny well-known binary (twkb)",
      "topics": [
        "st_as_sfc.TWKB"
      ]
    },
    {
      "page": "st_astext",
      "title": "Return Well-known Text representation of simple feature geometry",
      "topics": [
        "st_asewkt",
        "st_astext"
      ]
    },
    {
      "page": "st_force_polygon_cw",
      "title": "Force a POLYGON or MULTIPOLYGON to be clockwise",
      "topics": [
        "st_force_polygon_cw"
      ]
    },
    {
      "page": "st_geod_azimuth",
      "title": "compute azimuth between sequence of points",
      "topics": [
        "st_geod_azimuth"
      ]
    },
    {
      "page": "st_geohash",
      "title": "compute geohash from (average) coordinates",
      "topics": [
        "st_geohash",
        "st_geom_from_geohash"
      ]
    },
    {
      "page": "st_is_polygon_cw",
      "title": "Check if a POLYGON or MULTIPOLYGON is clockwise",
      "topics": [
        "st_is_polygon_cw"
      ]
    },
    {
      "page": "st_linesubstring",
      "title": "get substring from linestring",
      "topics": [
        "st_linesubstring"
      ]
    },
    {
      "page": "st_snap_to_grid",
      "title": "Snap geometries to a grid",
      "topics": [
        "st_snap_to_grid"
      ]
    },
    {
      "page": "st_split",
      "title": "Return a collection of geometries resulting by splitting a geometry",
      "topics": [
        "st_split"
      ]
    },
    {
      "page": "st_startpoint",
      "title": "Return the start and end points from lines",
      "topics": [
        "st_endpoint",
        "st_startpoint"
      ]
    },
    {
      "page": "st_subdivide",
      "title": "Return a collection of geometries resulting by subdividing a geometry",
      "topics": [
        "st_subdivide"
      ]
    },
    {
      "page": "st_transform_proj",
      "title": "Transform or convert coordinates of simple features directly with Proj.4 (bypassing GDAL)",
      "topics": [
        "st_transform_proj",
        "st_transform_proj.sf",
        "st_transform_proj.sfc",
        "st_transform_proj.sfg"
      ]
    },
    {
      "page": "st_wrap_x",
      "title": "Splits input geometries by a vertical line and moves components falling on one side of that line by a fixed amount",
      "topics": [
        "st_wrap_x"
      ]
    }
  ],
  "_readme": "https://github.com/r-spatial/lwgeom/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "KernSmooth",
    "MASS",
    "proxy",
    "Rcpp",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libproj",
      "package": "libproj25",
      "headers": "libproj-dev",
      "source": "proj",
      "version": "9.4.0-1build2",
      "name": "proj",
      "homepage": "https://proj.org/",
      "description": "Cartographic projection library"
    },
    {
      "shlib": "libgeos_c",
      "package": "libgeos-c1t64",
      "headers": "libgeos-dev",
      "source": "geos",
      "version": "3.12.1-3build1",
      "name": "geos",
      "homepage": "https://trac.osgeo.org/geos/",
      "description": "Geometry engine for Geographic Information Systems - C Library"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 13.204380998894964,
  "_indexed": true,
  "_nocasepkg": "lwgeom",
  "_universes": [
    "r-spatial",
    "edzer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-16",
      "date": "2026-06-01T17:12:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "781357859295fa1e4e3597a643bc07fda790de2265f7ba57b78a90bb3e3c4c19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-16",
      "date": "2026-06-01T17:12:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "6028c8fce0791e2296fa14b992830248be730437346e559b515db6ef3185c337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2-16",
      "date": "2026-06-01T17:12:57.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "a6535d2c82ee4ee61c31dee883598e77ef8997b1b5c4e054fb87dbaefc4b9b74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2-16",
      "date": "2026-06-01T17:12:38.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "e7fa4c8cda0cc88e66cf07c31e6eff954aec182f3e4b7b0985622b3720020bac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-16",
      "date": "2026-06-01T17:26:32.000Z",
      "arch": "aarch64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "e60236e5f33b6758da129d5cadc20af06a9cc7132fa4a4d98a727a0d7b39aa3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-16",
      "date": "2026-06-01T17:14:08.000Z",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "7060f0322732e938ba23d0af8ba9e2469a0684e9266d44249bff6e8182cd5fa7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2-16",
      "date": "2026-06-01T17:28:15.000Z",
      "arch": "aarch64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "ec17707a07a44787288efdcb58251ea8e1a020487c5a8668bf661a945555117d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2-16",
      "date": "2026-06-01T17:19:21.000Z",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "16723ec7aebad5278ef4a99d3fcf59a0901c3da2b8d924d889a1860e7b563b97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2-16",
      "date": "2026-06-01T17:11:49.000Z",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "611714df91692754ec1fcc9a17f541adf54560540b40b377016863e9a71fe9bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2-16",
      "date": "2026-06-01T17:11:34.000Z",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "2208fdec314240a745397c5e992abbd153aedcd9792b4e15fd6ce828a261aa7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2-16",
      "date": "2026-06-01T17:11:46.000Z",
      "arch": "x86_64",
      "commit": "2a10dea87f1398b3bcda52a8786d7c6b384dc58e",
      "fileid": "afa9750e3d6c3656f77cf65aad05ea2a56dc47d06ca357a0ef10cefcbe5c4806",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-spatial/actions/runs/26769751975"
    }
  ]
}