{"id":27258701,"url":"https://github.com/tobiste/geoprofiler","last_synced_at":"2026-02-25T03:31:49.863Z","repository":{"id":266372286,"uuid":"897970746","full_name":"tobiste/geoprofiler","owner":"tobiste","description":"Creates Swath profiles and Distance vs X plots by measuring the accurate distances parallel and perpendicular to user-defined lines","archived":false,"fork":false,"pushed_at":"2026-01-18T18:57:38.000Z","size":8574,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T02:52:31.100Z","etag":null,"topics":["crosssections","earth-science","geology","geomorphology","geoscience","plotting","terrain-analysis","transects"],"latest_commit_sha":null,"homepage":"https://tobiste.github.io/geoprofiler/","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/tobiste.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":"2024-12-03T15:02:50.000Z","updated_at":"2026-01-18T18:54:32.000Z","dependencies_parsed_at":"2024-12-04T00:24:46.694Z","dependency_job_id":"d23b5cae-8bee-4c94-aae0-5eeff01e5e07","html_url":"https://github.com/tobiste/geoprofiler","commit_stats":null,"previous_names":["tobiste/geoprofiler"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tobiste/geoprofiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiste%2Fgeoprofiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiste%2Fgeoprofiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiste%2Fgeoprofiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiste%2Fgeoprofiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobiste","download_url":"https://codeload.github.com/tobiste/geoprofiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiste%2Fgeoprofiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29809689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T03:30:18.102Z","status":"ssl_error","status_checked_at":"2026-02-25T03:30:17.799Z","response_time":61,"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":["crosssections","earth-science","geology","geomorphology","geoscience","plotting","terrain-analysis","transects"],"created_at":"2025-04-11T03:49:40.011Z","updated_at":"2026-02-25T03:31:49.847Z","avatar_url":"https://github.com/tobiste.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"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# geoprofiler\n\n\u003c!-- badges: start --\u003e\n[![](https://www.r-pkg.org/badges/version/geoprofiler)](https://cran.r-project.org/package=geoprofiler)\n[![](http://cranlogs.r-pkg.org/badges/last-month/geoprofiler)](https://cran.r-project.org/package=geoprofiler)\n[![R-CMD-check](https://github.com/tobiste/geoprofiler/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tobiste/geoprofiler/actions/workflows/R-CMD-check.yaml)\n[![codecov](https://codecov.io/gh/tobiste/geoprofiler/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tobiste/geoprofiler?branch=main)\n\u003c!-- badges: end --\u003e\n\nThe goal of `{geoprofiler}` is to get distances along and across user-defined \nprofile lines or transects. This is useful to visualize the distance-dependency \nof some variables in the geosciences.\n\n![](man/figures/fig.png)\n\nThe concept of `{geoprofiler}` is a coordinate transformation of your \ngeo-coordinates into \"profile coordinates\". These coordinates are the \ndistances along and across your profile.\n\n## Installation\n\nYou must have R installed on your system (see \u003chttps://www.r-project.org/\u003e).\nTo install `{geoprofiler}` from CRAN, type the following code at the R\ncommand line prompt:\n\n```         \ninstall.packages(\"geoprofiler\")\n```\n\nThe most recent development version of `{geoprofiler}` is available from\nfrom [GitHub](https://github.com/) and can be installed on your system as follows:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"tobiste/geoprofiler\")\n```\n\n## Example\n\nThis is a basic example which shows you how to create a profile.\n\n```{r example}\nlibrary(geoprofiler)\nlibrary(ggplot2)\n```\n\nImport example data and transfer them into a `sf` object:\n\n```{r quakes}\ndata(quakes)\nquakes_sf \u003c- sf::st_as_sf(quakes, coords = c(\"long\", \"lat\"), crs = \"WGS84\")\n```\n\nCreate a profile line from two known points:\n\n```{r profile}\nprofile \u003c- data.frame(lon = c(160, -170), lat = c(-15, -30)) |\u003e\n  sf::st_as_sf(coords = c(\"lon\", \"lat\"), crs = \"WGS84\") |\u003e\n  sf::st_shift_longitude() |\u003e\n  profile_line()\n```\n\n\u003e Note: You can also create a profile line by a direction via `profile_points()`\n\nCalculate the distances of all points along and across the profile line:\n\n```{r cooridnates}\nquakes_profile \u003c- profile_coords(quakes_sf, profile = profile) |\u003e\n  dplyr::bind_cols(quakes_sf)\n```\n\nFinally, create your profile plot:\n\n```{r plot}\nggplot(quakes_profile, aes(X, depth, color = mag, size = abs(Y), alpha = abs(Y))) +\n  geom_point() +\n  scale_color_viridis_c(\"Richter magnitude\", option = \"A\") +\n  scale_size_continuous(bquote(\"Distance from profile (\" * degree * \")\"), range = c(3, .1)) +\n  scale_alpha_continuous(bquote(\"Distance from profile (\" * degree * \")\"), range = c(1, .1)) +\n  scale_y_reverse() +\n  scale_x_continuous(guide = guide_axis(position = \"top\")) +\n  labs(x = bquote(\"Distance along profile (\" * degree * \")\"), y = \"Depth (km)\") +\n  theme_classic()\n```\n\nThe above example uses the `quakes` dataset giving the locations of 1000 seismic\nevents of MB \\\u003e 4.0. The events occurred in a cube near Fiji since 1964.\n\n## Documentation\n\nThe detailed documentation can be found at \u003chttps://tobiste.github.io/geoprofiler/articles/geoprofiler.html\u003e\n\n## Author\n\nTobias Stephan ([tstephan\\@lakeheadu.ca](mailto:tstephan@lakeheadu.ca){.email})\n\n## Feedback, issues, and contributions\n\nI welcome feedback, suggestions, issues, and contributions! If you have found a \nbug, please file it [here](https://github.com/tobiste/geoprofiler/issues) with \nminimal code to reproduce the issue.\n\n## How to cite geoprofiler\n\nWhen referencing this package, please cite the package DOI:\n[10.32614/CRAN.package.geoprofiler](https://doi.org/10.32614/CRAN.package.geoprofiler).\n\n## License\n\nGPL-3.0 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobiste%2Fgeoprofiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobiste%2Fgeoprofiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobiste%2Fgeoprofiler/lists"}