{
  "_id": "6a17e84bacfb0bcc41da1f8e",
  "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-05-28 06:54:14 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>",
  "MD5sum": "5d6730ceb1f05113ac093933df4473cb",
  "_user": "ropensci",
  "_type": "src",
  "_file": "terrainr_0.7.5.9000.tar.gz",
  "_fileid": "f067114e0eb24b196c476c5ba041a7b5002575aac4708986a73cb53d18aff40b",
  "_filesize": 4600127,
  "_sha256": "f067114e0eb24b196c476c5ba041a7b5002575aac4708986a73cb53d18aff40b",
  "_created": "2026-05-28T06:54:14.000Z",
  "_published": "2026-05-28T07:01:31.593Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78239298965,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259556837"
    },
    {
      "job": 78239298974,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259557413"
    },
    {
      "job": 78239298959,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259564223"
    },
    {
      "job": 78239298971,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259614323"
    },
    {
      "job": 78238894019,
      "time": 175,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259512979"
    },
    {
      "job": 78238894053,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259516873"
    },
    {
      "job": 78239298966,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259550879"
    },
    {
      "job": 78239298997,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259543290"
    },
    {
      "job": 78239298973,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259537500"
    },
    {
      "job": 78239298977,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259541985"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 522,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/terrainr"
  },
  "_devurl": "https://github.com/ropensci/terrainr",
  "_pkgdown": "https://docs.ropensci.org/terrainr/",
  "_searchresults": 97,
  "_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.0",
  "_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",
    "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.873262459438727,
  "_indexed": true,
  "_nocasepkg": "terrainr",
  "_universes": [
    "ropensci",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:56:39.000Z",
      "distro": "noble",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "b47cd805ea8a5f668a6872fe861a748d0a618c5cd6068b81c2d8db065353a80f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:56:40.000Z",
      "distro": "noble",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "a7f19c13e050c6915f4e1faacaa1b635290795781397fb55de7755c89e3becac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:57:16.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "aa4d73832350d68cff646f73f3b324dce594719dc543efd157330f7a00422ccb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-05-28T07:00:27.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "873925f2f195e1fe52601c502763cfc7cd7bc9b342c89b8fba9ba8a3f946f823",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:56:39.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "17710886ed2f494a6d5f6be362ff8af034f91ed87a64b8bf903d25fed581f3cd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:55:36.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "f5878b945df7f01ba8313784424529883ffe3b41002d9e611b1e0b339b8d47cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:55:26.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "0dfce297539a1992def36f3f2913c0b3ca645b41d284baf7dd540cfb6fa0bd65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-05-28T06:55:30.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "25520e8993ed39a7e121859c8557958277fa45a1e4934b48ca24800adea78b30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26559517235"
    }
  ]
}