{
  "_id": "6a10dfe4acfb0bcc41cd8dd2",
  "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-04-28 09:24:37 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": "a27d494c53dc62c5976321b2ae464f49",
  "_user": "ropensci",
  "_type": "src",
  "_file": "terrainr_0.7.5.9000.tar.gz",
  "_fileid": "133e97242fcec89b22387c9d3b262b3b642531b253b5bd8a1608eeabf937e168",
  "_filesize": 4595762,
  "_sha256": "133e97242fcec89b22387c9d3b262b3b642531b253b5bd8a1608eeabf937e168",
  "_created": "2026-04-28T09:24:37.000Z",
  "_published": "2026-05-22T22:59:48.546Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77475003417,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6680690845"
    },
    {
      "job": 77475003228,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6680690761"
    },
    {
      "job": 77475003710,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6680691955"
    },
    {
      "job": 77475003738,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6680669415"
    },
    {
      "job": 77475003459,
      "time": 172,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6680624537"
    },
    {
      "job": 77475003436,
      "time": 199,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6680633356"
    },
    {
      "job": 77475003029,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7171740637"
    },
    {
      "job": 77475003188,
      "time": 272,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6680719326"
    },
    {
      "job": 77475003548,
      "time": 147,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6680681753"
    },
    {
      "job": 77475003378,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6680665472"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337",
  "_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",
    "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": 76,
  "_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": 595,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/terrainr"
  },
  "_devurl": "https://github.com/ropensci/terrainr",
  "_pkgdown": "https://docs.ropensci.org/terrainr/",
  "_searchresults": 96,
  "_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.86308482532036,
  "_indexed": true,
  "_nocasepkg": "terrainr",
  "_universes": [
    "ropensci",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:27:31.000Z",
      "distro": "noble",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "50d821dd907c04d79af56fec970cc6e94efd176ff2b2eb861338a271844f2eb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:27:32.000Z",
      "distro": "noble",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "766cea6b9a5538af18e93cf3e1e90476eb66fc4add3c0ecfd99d8564ec31c6ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:27:35.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "9531b234bb2f83595ef2369f8af881bbe9e0642b75f65523c06f7564b881baca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:26:29.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "ac345d387a8e0dfc38e0bf3f5ed02379f684018326d07743189a8752c29afda1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:28:57.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "4c2272bcc2b31beb7d0e4cbcd76302231867aa6709fa6c2f7f3e0fd479acec17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:27:01.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "f9ab16548657c1cc17497d93f7ff12b5e33c7588b8f93ca4cc1ff2c6d59768ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.5.9000",
      "date": "2026-04-28T09:26:02.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "a678a0e4dd76b36de842820a0636c0ba9ee2af1d49c01c21030f17eaa320fd7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.5.9000",
      "date": "2026-05-22T22:59:20.000Z",
      "commit": "333db1ceedea5d1cf8cc8050a6dcb6bfeb66707f",
      "fileid": "82f521382b2cd04ea4a403659366a0007dded516403c57d51b42356463c074fd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25044708337"
    }
  ]
}