{"id":28820208,"url":"https://github.com/brownag/rgeomorphon","last_synced_at":"2026-04-24T23:31:26.655Z","repository":{"id":296991901,"uuid":"993864985","full_name":"brownag/rgeomorphon","owner":"brownag","description":"A lightweight implementation of the geomorphon terrain form classification algorithm of Jasiewicz and Stepinski (2013) ","archived":false,"fork":false,"pushed_at":"2026-03-26T05:29:26.000Z","size":2668,"stargazers_count":27,"open_issues_count":4,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-26T18:33:13.084Z","etag":null,"topics":["classification","cpp","elevation","geomorphometry","geomorphon","r","terrain"],"latest_commit_sha":null,"homepage":"http://humus.rocks/rgeomorphon/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brownag.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-31T17:29:48.000Z","updated_at":"2026-03-26T05:25:56.000Z","dependencies_parsed_at":"2025-06-03T19:49:17.070Z","dependency_job_id":"7b5c4123-500a-4875-9f3c-6fda9098cda5","html_url":"https://github.com/brownag/rgeomorphon","commit_stats":null,"previous_names":["brownag/rgeomorphon"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/brownag/rgeomorphon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownag%2Frgeomorphon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownag%2Frgeomorphon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownag%2Frgeomorphon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownag%2Frgeomorphon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brownag","download_url":"https://codeload.github.com/brownag/rgeomorphon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownag%2Frgeomorphon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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":["classification","cpp","elevation","geomorphometry","geomorphon","r","terrain"],"created_at":"2025-06-18T21:08:43.986Z","updated_at":"2026-04-24T23:31:26.649Z","avatar_url":"https://github.com/brownag.png","language":"R","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# rgeomorphon\n\n\u003c!-- badges: start --\u003e\n[![CRAN version](https://www.r-pkg.org/badges/version/rgeomorphon)](https://CRAN.R-project.org/package=rgeomorphon)\n[![CRAN status](https://badges.cranchecks.info/worst/rgeomorphon.svg)](https://cran.r-project.org/web/checks/check_results_rgeomorphon.html)\n[![Development Version](https://brownag.r-universe.dev/badges/rgeomorphon)](https://brownag.r-universe.dev/)\n[![R-CMD-check Build Status](https://github.com/brownag/rgeomorphon/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/brownag/rgeomorphon/actions)\n[![rgeomorphon Manual](https://img.shields.io/badge/docs-HTML-informational)](https://humus.rocks/rgeomorphon/)\n\u003c!-- badges: end --\u003e\n\nA lightweight implementation of the geomorphon terrain form classification \nalgorithm of [Jasiewicz and Stepinski (2013)](https://doi.org/10.1016/j.geomorph.2012.11.005)\nbased largely on the GRASS GIS [r.geomorphon](https://grass.osgeo.org/grass-stable/manuals/r.geomorphon.html)\nmodule.\n\nThis implementation employs a novel algorithm written in C++ and {RcppParallel}.\n  \nFor the sake of simplicity, some GRASS-specific implementation details have not\nbeen added. See `?geomorphons` for details.\n\n## Installation\n\nYou can install {rgeomorphon} from CRAN:\n\n``` r\ninstall.packages(\"rgeomorphon\")\n```\n\nAnd you can install the development version from GitHub:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"brownag/rgeomorphon\")\n```\n\n## Volcano Example\n\nThis is a basic example using the classic R `volcano` dataset and {terra}\nSpatRaster object as input.\n\n`volcano` is a 10m by 10m grid of elevation values from Maunga Whau in the\nAuckland volcanic field of New Zealand.\n\n```{r volcano}\nlibrary(terra)\nlibrary(rgeomorphon)\n\n# PARAMETERS\nSEARCH = 7       # outer search radius (cells)\nSKIP = 0         # inner skip radius (cells)\nFLAT = 1         # flat angle threshold (degrees)\n\n## classic volcano elevation data\ndata(\"volcano\", package = \"datasets\")\n\n# construct and georeference a SpatRaster object\ndem \u003c- terra::flip(terra::rast(volcano))\nterra::crs(dem) \u003c- terra::crs(\"EPSG:27200\")\nterra::ext(dem) \u003c- c(2667400, 2668010, 6478700, 6479570)\nnames(dem) \u003c- \"Elevation (meters)\"\n\n# calculate geomorphons \"forms\"\nsystem.time({\n    rg \u003c- geomorphons(\n        dem,\n        search = SEARCH,\n        skip = SKIP,\n        flat = FLAT\n    )\n})\n\n# inspect result\nplot(c(dem, rg), \n     plg = list(x = \"bottomleft\", \n                bty = \"o\", \n                bg = \"white\"))\n```\n\n## Salton Sea Example\n\nNow we will do a bathymetry example using the built in Salton Sea dataset (`salton`).\n\nSee `help(\"salton\")` for details.\n\n```{r salton}\nlibrary(terra)\nlibrary(rgeomorphon)\n\n# PARAMETERS\nSEARCH = 10      # outer search radius (cells)\nSKIP = 3         # inner skip radius (cells)\nFLAT = 0.1       # flat angle threshold (degrees)\n\n# salton sea bathymetry sample data\ndata(\"salton\", package = \"rgeomorphon\")\n\n# construct and georeference a SpatRaster object\ndem \u003c- terra::rast(salton)\nterra::crs(dem) \u003c- attr(salton, \"crs\")\nterra::ext(dem) \u003c- attr(salton, \"extent\")\nnames(dem) \u003c- \"Elevation (feet)\"\n\n# calculate bathymorphons using 6-form system\nsystem.time({\n    rg \u003c- geomorphons(\n        dem,\n        search = SEARCH,\n        skip = SKIP,\n        flat = FLAT,\n        forms = \"forms6\"\n    )\n})\n\n# inspect result\nplot(c(dem, rg), \n     plg = list(x = \"bottomleft\", \n                bty = \"o\", \n                bg = \"white\",\n                cex = 0.85))\n```\n\n# Citation\n\n```{r}\ncitation(\"rgeomorphon\")\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrownag%2Frgeomorphon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrownag%2Frgeomorphon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrownag%2Frgeomorphon/lists"}