{"id":18722614,"url":"https://github.com/mdsumner/mapwtf","last_synced_at":"2025-11-11T05:30:21.242Z","repository":{"id":72211559,"uuid":"364265916","full_name":"mdsumner/mapwtf","owner":"mdsumner","description":"Maps Anywhere","archived":false,"fork":false,"pushed_at":"2021-05-04T13:51:56.000Z","size":9024,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T12:17:01.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mdsumner.github.io/mapwtf/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdsumner.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-05-04T13:30:31.000Z","updated_at":"2021-07-21T17:40:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"57b62075-5b9e-48e2-a0c4-2fd04fe8c74e","html_url":"https://github.com/mdsumner/mapwtf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fmapwtf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fmapwtf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fmapwtf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fmapwtf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsumner","download_url":"https://codeload.github.com/mdsumner/mapwtf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587244,"owners_count":19663892,"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-11-07T13:42:12.924Z","updated_at":"2025-11-11T05:30:21.193Z","avatar_url":"https://github.com/mdsumner.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\neditor_options: \n  chunk_output_type: console\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# mapwtf\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/mdsumner/mapwtf/workflows/R-CMD-check/badge.svg)](https://github.com/mdsumner/mapwtf/actions)\n\u003c!-- badges: end --\u003e\n\nThe goal of mapwtf is to plot topography for simple maps anywhere. Might become a 'automap()' like the 'SOmap_auto()' function in SOmap package. \n\n## Installation\n\nYou can install from github with \n\n``` r\nremotes::install_github(\"mdsumner/mapwtf\")\n```\n\n## Example\n\nThis is a basic example which shows you how to plot topography anywhere in any projection on the earth. Just replace 'reg' with your\nprojected raster to fill it with elevation values using `populate_topo()`. \n\n\n```{r example}\nlibrary(mapwtf)\nfor (i in seq_len(5)) {\n  reg \u003c- any_region(width = runif(1L, 50000, 5e6))\n  x \u003c- populate_topo(reg)\n  raster::plot(x, col = hcl.colors(256))\n  grat(x)\n}\n\n\n\nreg \u003c- any_region(proj = \"stere\", width = 7e6, lat_0=-90, lon_0=147, lat_ts=-75)\nx \u003c- populate_topo(reg)\nraster::plot(x, col = hcl.colors(256))\ngrat(x)\n\n```\n\n\n## Code of Conduct\n  \nPlease note that the mapwtf project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fmapwtf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsumner%2Fmapwtf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fmapwtf/lists"}