{
  "_id": "6a44d3f46ff6f2357551c04d",
  "Type": "Package",
  "Package": "terrainr",
  "Title": "Landscape Visualizations in R and 'Unity'",
  "Version": "0.7.5.9000",
  "Authors@R": "c(\nperson(\"Michael\", \"Mahoney\", , \"mike.mahoney.218@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2402-304X\")),\nperson(\"Mike\", \"Johnson\", role = \"rev\",\ncomment = \"Mike reviewed the package (v. 0.2.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/416>\"),\nperson(\"Sydney\", \"Foks\", role = \"rev\",\ncomment = \"Sydney reviewed the package (v. 0.2.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/416>\")\n)",
  "Description": "Functions for the retrieval, manipulation, and\nvisualization of 'geospatial' data, with an aim towards\nproducing '3D' landscape visualizations in the 'Unity' '3D'\nrendering engine. Functions are also provided for retrieving\nelevation data and base map tiles from the 'USGS' National Map\n<https://apps.nationalmap.gov/services/>.",
  "License": "MIT + file LICENSE",
  "URL": "https://docs.ropensci.org/terrainr/,\nhttps://github.com/ropensci/terrainr",
  "BugReports": "https://github.com/ropensci/terrainr/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibmagick++-dev gsfonts libpng-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2025-07-25 11:56:04 UTC",
  "RemoteUrl": "https://github.com/ropensci/terrainr",
  "RemoteRef": "main",
  "RemoteSha": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 08:24:53 UTC",
    "User": "root"
  },
  "Author": "Michael Mahoney [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2402-304X>),\nMike Johnson [rev] (Mike reviewed the package (v. 0.2.1) for rOpenSci,\nsee <https://github.com/ropensci/software-review/issues/416>),\nSydney Foks [rev] (Sydney reviewed the package (v. 0.2.1) for rOpenSci,\nsee <https://github.com/ropensci/software-review/issues/416>)",
  "Maintainer": "Michael Mahoney <mike.mahoney.218@gmail.com>",
  "_user": "ropensci",
  "_type": "src",
  "_file": "terrainr_0.7.5.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/d0cfb5946b1798b354c4b62a0fa46b59be32d06ea755576468588949dc662429",
  "_filesize": 4600948,
  "_sha256": "d0cfb5946b1798b354c4b62a0fa46b59be32d06ea755576468588949dc662429",
  "_expires": "2026-10-09T08:46:43.000Z",
  "_created": "2026-07-01T08:24:53.000Z",
  "_published": "2026-07-01T08:46:44.035Z",
  "_jobs": [
    {
      "job": 84487947851,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004275841"
    },
    {
      "job": 84487947864,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004278930"
    },
    {
      "job": 84487947840,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8004692247"
    },
    {
      "job": 84487947850,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004701534"
    },
    {
      "job": 84486979173,
      "time": 160,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004189916"
    },
    {
      "job": 84486979159,
      "time": 233,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004217482"
    },
    {
      "job": 84487947883,
      "time": 187,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004294411"
    },
    {
      "job": 84487947946,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004253626"
    },
    {
      "job": 84487947862,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8004255320"
    },
    {
      "job": 84487947843,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004253927"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842",
  "_status": "success",
  "_upstream": "https://github.com/ropensci/terrainr",
  "_commit": {
    "id": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
    "author": "Mike Mahoney <mike.mahoney.218@gmail.com>",
    "committer": "Mike Mahoney <mike.mahoney.218@gmail.com>",
    "message": "Prep release\n",
    "time": 1753444564
  },
  "_maintainer": {
    "name": "Michael Mahoney",
    "email": "mike.mahoney.218@gmail.com",
    "login": "mikemahoney218",
    "mastodon": "@MikeMahoney218@fosstodon.org",
    "orcid": "0000-0003-2402-304X",
    "description": "R, Python, and using data to understand this complex world we live in",
    "uuid": 38229299
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "magick",
      "version": ">= 2.5.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "png",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-5",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "unifir",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "brio",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "jpeg",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "progress",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tiff",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "datasets",
    "dems",
    "map",
    "map-tiles",
    "mapping",
    "national-map",
    "nhd",
    "orthoimagery",
    "peer-reviewed",
    "progressr",
    "retrieve-data",
    "terrainr",
    "unity",
    "unity-rendering-engine",
    "usgs"
  ],
  "_stars": 77,
  "_contributors": [
    {
      "user": "mikemahoney218",
      "count": 333,
      "uuid": 38229299
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "followers": 1106,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 540,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/terrainr"
  },
  "_devurl": "https://github.com/ropensci/terrainr",
  "_pkgdown": "https://docs.ropensci.org/terrainr/",
  "_searchresults": 101,
  "_metadata": {
    "review": {
      "id": 416,
      "status": "reviewed",
      "version": "0.2.0",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/416"
    },
    "ropensci_category": "geospatial"
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/terrainr.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/terrainr",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2021-02-23"
    },
    {
      "version": "0.4.0",
      "date": "2021-04-23"
    },
    {
      "version": "0.4.1",
      "date": "2021-05-30"
    },
    {
      "version": "0.5.0",
      "date": "2021-08-05"
    },
    {
      "version": "0.5.1",
      "date": "2022-01-04"
    },
    {
      "version": "0.6.0",
      "date": "2022-02-04"
    },
    {
      "version": "0.6.1",
      "date": "2022-02-10"
    },
    {
      "version": "0.7.0",
      "date": "2022-05-06"
    },
    {
      "version": "0.7.1",
      "date": "2022-08-11"
    },
    {
      "version": "0.7.2",
      "date": "2022-12-07"
    },
    {
      "version": "0.7.3",
      "date": "2023-02-01"
    },
    {
      "version": "0.7.4",
      "date": "2023-02-16"
    },
    {
      "version": "0.7.5",
      "date": "2023-10-04"
    },
    {
      "version": "0.7.6",
      "date": "2025-07-25"
    }
  ],
  "_exports": [
    "add_bbox_buffer",
    "combine_overlays",
    "geom_spatial_rgb",
    "georeference_overlay",
    "get_tiles",
    "hit_national_map_api",
    "make_manifest",
    "make_unity",
    "merge_rasters",
    "raster_to_raw_tiles",
    "set_bbox_side_length",
    "stat_spatial_rgb",
    "StatSpatialRGB",
    "transform_elevation",
    "transform_overlay",
    "vector_to_overlay"
  ],
  "_help": [
    {
      "page": "addbuff",
      "title": "Add a uniform buffer around a bounding box for geographic coordinates",
      "concept": [
        "utilities"
      ],
      "topics": [
        "addbuff",
        "add_bbox_buffer",
        "add_bbox_buffer.Raster",
        "add_bbox_buffer.sf",
        "add_bbox_buffer.SpatRaster",
        "set_bbox_side_length",
        "set_bbox_side_length.Raster",
        "set_bbox_side_length.sf",
        "set_bbox_side_length.SpatRaster"
      ]
    },
    {
      "page": "combine_overlays",
      "title": "Combine multiple image overlays into a single file",
      "concept": [
        "data manipulation functions",
        "overlay creation functions",
        "visualization functions"
      ],
      "topics": [
        "combine_overlays"
      ]
    },
    {
      "page": "geom_spatial_rgb",
      "title": "Plot RGB rasters in ggplot2",
      "concept": [
        "visualization functions"
      ],
      "topics": [
        "geom_spatial_rgb",
        "StatSpatialRGB",
        "stat_spatial_rgb"
      ]
    },
    {
      "page": "georeference_overlay",
      "title": "Georeference image overlays based on a reference raster",
      "concept": [
        "data manipulation functions",
        "overlay creation functions"
      ],
      "topics": [
        "georeference_overlay"
      ]
    },
    {
      "page": "get_tiles",
      "title": "A user-friendly way to get USGS National Map data tiles for an area",
      "concept": [
        "data retrieval functions"
      ],
      "topics": [
        "get_tiles",
        "get_tiles.list",
        "get_tiles.Raster",
        "get_tiles.sf",
        "get_tiles.sfc",
        "get_tiles.SpatRaster"
      ]
    },
    {
      "page": "unity_crops",
      "title": "Transform rasters and write manifest file for import into Unity",
      "topics": [
        "make_manifest",
        "transform_elevation",
        "transform_overlay"
      ]
    },
    {
      "page": "make_unity",
      "title": "Initialize terrain inside of a Unity project.",
      "topics": [
        "make_unity"
      ]
    },
    {
      "page": "merge_rasters",
      "title": "Merge multiple raster files into a single raster",
      "concept": [
        "data manipulation functions"
      ],
      "topics": [
        "merge_rasters"
      ]
    },
    {
      "page": "raster_to_raw_tiles",
      "title": "Crop a raster and convert the output tiles into new formats.",
      "concept": [
        "data manipulation functions",
        "visualization functions"
      ],
      "topics": [
        "raster_to_raw_tiles"
      ]
    },
    {
      "page": "vector_to_overlay",
      "title": "Turn spatial vector data into an image overlay",
      "concept": [
        "data manipulation functions",
        "overlay creation functions",
        "visualization functions"
      ],
      "topics": [
        "vector_to_overlay"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ropensci/terrainr/raw/main/man/figures/logo.png",
  "_readme": "https://github.com/ropensci/terrainr/raw/main/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "httr",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "magick",
    "magrittr",
    "MASS",
    "mime",
    "openssl",
    "png",
    "proceduralnames",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sys",
    "terra",
    "unifir",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "A gentle introduction to terrainr",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-10-09 00:02:57",
      "modified": "2021-07-28 16:35:29",
      "commits": 13
    },
    {
      "source": "unity_instructions.Rmd",
      "filename": "unity_instructions.html",
      "title": "Importing terrainr tiles into Unity",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-10-13 19:34:13",
      "modified": "2022-05-04 18:39:04",
      "commits": 8
    }
  ],
  "_score": 6.8908120989551245,
  "_indexed": true,
  "_nocasepkg": "terrainr",
  "_universes": [
    "ropensci",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:27:26.000Z",
      "distro": "resolute",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/8d7aec0fe7ff9b0c8cb6d682ee1bb863541135c9eb0379dfdf1d7c1671e22a5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:27:34.000Z",
      "distro": "resolute",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/735efdd096452a0b8fd8b53a948781bf302286a1fe315106511d090ea8123754",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:45:28.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/953168a7b21b839c016f8e87b7f41828270d1d1ab65ff36119e2b1a09f1c8e82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:45:50.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/135956b9aad5298fcb70b29049eb6e6f6c2d429ec1f811a50b7649cfdac604ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:28:35.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/ccb1d940ba8afe82713bec7574da896e4eccde32ba93c164f3edc93accbdb933",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:26:20.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/fcd6c04caf816644a0285315c47b50ce623d18894e0c837d354685044e86eded",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:26:24.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/d4f345e078efb8e59265713dd2c904c1495ca5fb6aa0c9f3015e47e7f32ab4b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-07-01T08:26:21.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/8c982f238a6ea62ee104553995815e0986b35b591a3c77e8f9924c218a7776a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503613842"
    }
  ]
}