{
  "_id": "6abe197699f7aa8c6aa5200a",
  "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://cafri-labs.r-universe.dev",
  "Date/Publication": "2025-07-25 11:56:04 UTC",
  "RemoteUrl": "https://github.com/ropensci/terrainr",
  "RemoteRef": "HEAD",
  "RemoteSha": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 08:19:35 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": "cafri-labs",
  "_type": "src",
  "_file": "terrainr_0.7.5.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/414c5a3390d6fce099977f68eb92b196fe919224a0a13b5392a665416477a509",
  "_filesize": 4598455,
  "_sha256": "414c5a3390d6fce099977f68eb92b196fe919224a0a13b5392a665416477a509",
  "_expires": "2027-01-09T08:27:31.000Z",
  "_created": "2026-10-01T08:19:35.000Z",
  "_published": "2026-10-01T08:27:33.868Z",
  "_jobs": [
    {
      "job": 110282338923,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11148634092"
    },
    {
      "job": 110282338836,
      "time": 197,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11149436084"
    },
    {
      "job": 110282338674,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11149356529"
    },
    {
      "job": 110282338792,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11149396629"
    },
    {
      "job": 110280670608,
      "time": 305,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11148234837"
    },
    {
      "job": 110282338788,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11149525787"
    },
    {
      "job": 110282338812,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11149545565"
    },
    {
      "job": 110282338793,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11149246443"
    },
    {
      "job": 110282338756,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11148748440"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564",
  "_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": false,
  "_usedby": 0,
  "_updates": [],
  "_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": 73716480,
    "type": "organization",
    "name": "CAFRI",
    "followers": 7,
    "description": "Climate And Applied Forest Research Institute"
  },
  "_downloads": {
    "count": 483,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/terrainr"
  },
  "_devurl": "https://github.com/ropensci/terrainr",
  "_pkgdown": "https://docs.ropensci.org/terrainr/",
  "_searchresults": 92,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/terrainr.html",
    "LICENSE"
  ],
  "_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/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ropensci/terrainr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "httr",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "magick",
    "magrittr",
    "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.850278552518037,
  "_indexed": false,
  "_nocasepkg": "terrainr",
  "_universes": [
    "cafri-labs"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/terrainr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:23:11.000Z",
      "distro": "resolute",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/558fe964dc82ba9defd431cf4b0361d76be871550f4cb2e864784ca91fcbbb35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:23:10.000Z",
      "distro": "resolute",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/90ecdcbbf54acaeb95c9787d7ec4004f7d7f0b6bdde0c53000ff3d1a4c37a242",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:23:21.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/edc59e925f44daab67c3ccdea9fe03acbb52f62b39dbd2d52f9124ad280fbb05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:26:53.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/fe93b4c7d00110052ea0a30d9ac17fd251243e07510bdd8e2777bbe308ff54f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:22:57.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/554eee7eb3df6476cf31bf5ec661a3c079cb879bd7c853aa48dd6e7694384b36",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:21:13.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/8c8b778551db09eb1fbc81b12a8815f6b11d55b2395e19e2d0a0d72cc263319a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:21:19.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/49721265c7ae290dde35239325a7e77d99dbcf10b1beda4d6329e75de73acf6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-10-01T08:21:24.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "https://r2.ropensci.org/4d831b609ea8f683e6a0a712d5ed70e5a5d2930c8c0e249e7f24b90ba4ed24d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cafri-labs/actions/runs/36835110564"
    }
  ]
}