{
  "_id": "6a555bd2ff0138dec5d67dba",
  "Package": "viewscape",
  "Type": "Package",
  "Title": "Viewscape Analysis",
  "Version": "3.0.0",
  "Authors@R": "c(person(\"Xiaohao\", \"Yang\", role = c(\"aut\", \"cre\", \"cph\"), email = \"xiaohaoy111@gmail.com\"),\nperson(\"Nathan\", \"Fox\", role = c(\"aut\")),\nperson(\"Derek\", \"Van Berkel\", role = c(\"aut\")),\nperson(\"Mark\", \"Lindquist\", role = c(\"aut\")))",
  "Description": "Provides tools for viewscape analysis from one or multiple\nviewpoints using a digital surface or elevation model. Core\nfunctionality includes computing viewsheds, quantifying visual\nmagnitude, calculating a suite of viewscape configuration\nmetrics (extent, depth, relief, Sky View Factor, skyline\nvariation, and patch-based landscape structure), Shannon\nDiversity Index and land cover feature proportions within the\nvisible area, pairwise intervisibility networks, panoramic view\ngeneration, and visualizing results as rasters or polygons.\nViewscape configuration metrics follow the methods of Tabrizian\net al. (2020) <doi:10.1016/j.landurbplan.2019.103704>. The\nviewshed algorithm is based on Franklin & Ray (1994)\n<https://api.semanticscholar.org/CorpusID:10680920> and Wang et\nal. (2000)\n<https://api.semanticscholar.org/CorpusID:131687018>. Visual\nmagnitude is derived from Chamberlain & Meitner (2013)\n<doi:10.1016/j.landurbplan.2013.01.003>. Sky View Factor is\ncomputed following Oke (1981) <doi:10.1002/joc.3370010304> as\nimplemented in the 'shadow' package (Dorman et al. 2019)\n<doi:10.32614/RJ-2019-024>.",
  "URL": "https://github.com/billbillbilly/viewscape",
  "BugReports": "https://github.com/billbillbilly/viewscape/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr, rmarkdown",
  "biocViews": "",
  "Config/pak/sysreqs": "libabsl-dev cmake libfftw3-dev libgdal-dev gdal-bin\nlibgeos-dev libglpk-dev libicu-dev libjpeg-dev libpng-dev\nlibtiff-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev libx11-dev",
  "Repository": "https://billbillbilly.r-universe.dev",
  "Date/Publication": "2026-07-13 21:13:47 UTC",
  "RemoteUrl": "https://github.com/billbillbilly/viewscape",
  "RemoteRef": "HEAD",
  "RemoteSha": "1c5b2a7368703521fe07cdb8075371fe97810d67",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-13 21:31:06 UTC",
    "User": "root"
  },
  "Author": "Xiaohao Yang [aut, cre, cph],\nNathan Fox [aut],\nDerek Van Berkel [aut],\nMark Lindquist [aut]",
  "Maintainer": "Xiaohao Yang <xiaohaoy111@gmail.com>",
  "_user": "billbillbilly",
  "_type": "src",
  "_file": "viewscape_3.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b8b3b840c61157e18bd9d72e715af5b7c63b8742758a42c9ee532a7bac01f5a7",
  "_filesize": 2372978,
  "_sha256": "b8b3b840c61157e18bd9d72e715af5b7c63b8742758a42c9ee532a7bac01f5a7",
  "_expires": "2026-10-21T21:42:40.000Z",
  "_created": "2026-07-13T21:31:06.000Z",
  "_published": "2026-07-13T21:42:42.429Z",
  "_jobs": [
    {
      "job": 86940793172,
      "time": 279,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8293533704"
    },
    {
      "job": 86940793147,
      "time": 307,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8293542775"
    },
    {
      "job": 86940793145,
      "time": 257,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8293525099"
    },
    {
      "job": 86940793177,
      "time": 329,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8293550050"
    },
    {
      "job": 86940793158,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8293501358"
    },
    {
      "job": 86940793170,
      "time": 472,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8293603850"
    },
    {
      "job": 86940793160,
      "time": 212,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8293507078"
    },
    {
      "job": 86940793154,
      "time": 625,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8293662634"
    },
    {
      "job": 86939806331,
      "time": 287,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8293424369"
    },
    {
      "job": 86940793091,
      "time": 178,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8293494582"
    },
    {
      "job": 86940793120,
      "time": 282,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8293533854"
    },
    {
      "job": 86940793110,
      "time": 242,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8293518171"
    },
    {
      "job": 86940793135,
      "time": 255,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8293523964"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585",
  "_status": "success",
  "_upstream": "https://github.com/billbillbilly/viewscape",
  "_commit": {
    "id": "1c5b2a7368703521fe07cdb8075371fe97810d67",
    "author": "Xiaohao Yang <61219306+billbillbilly@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #3 from billbillbilly/newfunc\n\nNewfunc",
    "time": 1783977227
  },
  "_maintainer": {
    "name": "Xiaohao Yang",
    "email": "xiaohaoy111@gmail.com",
    "login": "billbillbilly",
    "description": "PhD candidate @digital-landscapes at the School for Environment and Sustainability, University of Michigan",
    "uuid": 61219306
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "ForestTools",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbmcapply",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "greenSD",
      "role": "Suggests"
    },
    {
      "package": "dsmSearch",
      "role": "Suggests"
    }
  ],
  "_owner": "billbillbilly",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 2
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "billbillbilly",
      "count": 332,
      "uuid": 61219306
    },
    {
      "user": "dr-nathan-fox",
      "count": 23,
      "uuid": 42167576
    }
  ],
  "_userbio": {
    "uuid": 61219306,
    "type": "user",
    "name": "Xiaohao Yang",
    "followers": 16,
    "description": "PhD candidate @digital-landscapes at the School for Environment and Sustainability, University of Michigan"
  },
  "_downloads": {
    "count": 394,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/viewscape"
  },
  "_devurl": "https://github.com/billbillbilly/viewscape",
  "_searchresults": 30,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/viewscape.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/billbillbilly/viewscape",
  "_realowner": "billbillbilly",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-02-04"
    },
    {
      "version": "2.0.0",
      "date": "2024-11-09"
    },
    {
      "version": "2.0.1",
      "date": "2024-11-14"
    },
    {
      "version": "2.0.2",
      "date": "2024-12-19"
    },
    {
      "version": "3.0.0",
      "date": "2026-06-27"
    }
  ],
  "_exports": [
    "calculate_diversity",
    "calculate_feature",
    "calculate_viewmetrics",
    "compute_viewshed",
    "fov_mask",
    "intervis_network",
    "pano_view",
    "visual_magnitude",
    "visualize_viewshed"
  ],
  "_help": [
    {
      "page": "calculate_diversity",
      "title": "calculate_diversity",
      "topics": [
        "calculate_diversity"
      ]
    },
    {
      "page": "calculate_feature",
      "title": "calculate_feature",
      "topics": [
        "calculate_feature"
      ]
    },
    {
      "page": "calculate_viewmetrics",
      "title": "calculate_viewmetrics",
      "topics": [
        "calculate_viewmetrics"
      ]
    },
    {
      "page": "compute_viewshed",
      "title": "compute_viewshed",
      "topics": [
        "compute_viewshed"
      ]
    },
    {
      "page": "fov_mask",
      "title": "fov_mask",
      "topics": [
        "fov_mask"
      ]
    },
    {
      "page": "intervis_network",
      "title": "intervis_network",
      "topics": [
        "intervis_network"
      ]
    },
    {
      "page": "pano_view",
      "title": "pano_view",
      "topics": [
        "pano_view"
      ]
    },
    {
      "page": "Viewshed-class",
      "title": "An S4 class to represent the viewshed",
      "topics": [
        "Viewshed-class"
      ]
    },
    {
      "page": "visual_magnitude",
      "title": "visual_magnitude",
      "topics": [
        "visual_magnitude"
      ]
    },
    {
      "page": "visualize_viewshed",
      "title": "visualize_viewshed",
      "topics": [
        "visualize_viewshed"
      ]
    }
  ],
  "_readme": "https://github.com/billbillbilly/viewscape/raw/HEAD/README.md",
  "_rundeps": [
    "bmp",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "digest",
    "downloader",
    "dplyr",
    "e1071",
    "ForestTools",
    "generics",
    "GLCMTextures",
    "glue",
    "igraph",
    "imager",
    "jpeg",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pbmcapply",
    "pillar",
    "pkgconfig",
    "png",
    "proxy",
    "purrr",
    "R6",
    "raster",
    "Rcpp",
    "RcppArmadillo",
    "readbitmap",
    "rlang",
    "s2",
    "sf",
    "sp",
    "stringi",
    "stringr",
    "terra",
    "tibble",
    "tidyselect",
    "tiff",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "viewscape.Rmd",
      "filename": "viewscape.html",
      "title": "viewscape",
      "author": "Xiaohao Yang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Viewscape",
        "1. Compute viewshed",
        "1.1 Compute single viewshed",
        "1.2 Subset viewshed using by specifying the field of view",
        "1.3 Compute visual magnitude",
        "1.4 Compute the viewshed for multiple viewpoints",
        "1.5 Compute an intervisibility network",
        "Adjacency matrix",
        "Network as spatial lines",
        "Per-viewpoint observer heights",
        "2. Calculate viewscape metrics",
        "2.1 Calculate the metrics of viewshed",
        "2.2 Calculate land use/cover diversity",
        "2.3 calculate a single feature",
        "3. Panoramic view",
        "3.1 Colour panorama (equirectangular, default)",
        "3.2 Land-cover / land-use panorama (equirectangular + semantic)"
      ],
      "created": "2021-11-08 20:30:49",
      "modified": "2026-07-13 21:13:47",
      "commits": 37
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "viewscape",
  "_universes": [
    "billbillbilly"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-07-13T21:34:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/43f575707e2b64c849d2dac075db606721a20cc0bb5a6942a75eb4eea60700ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-07-13T21:34:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/1c635390706517a1886b82e4314e4ccde78a6e4099d1f58a4e7557540f819050",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-07-13T21:34:25.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/c497803cd7c8c8d2ad53bb54fa2255388bc116b65bd109f2d3154dcb93533e67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-07-13T21:35:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/eda1756063ee6cf76b8ceb61b46b591eca86a5fe7d22a46239dbbfd94220cdb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-07-13T21:33:30.000Z",
      "arch": "aarch64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/ecdb62e53aeaa3f4f807b5296158f1ffb7f0572031f45c7da9fbad4741b859b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-07-13T21:34:59.000Z",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/9d2b03cfe083f093e23da00483c57021d88df73c03d1d97bd731e4228cf94e66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-07-13T21:33:29.000Z",
      "arch": "aarch64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/95b53509ff845343e5d2784b596bb5980db5d20533cdd8204549bfef54d0f33a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-07-13T21:36:39.000Z",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/8027f0b96dda6746d7925226b2f4aea9a89ee21a4b786271a34ad7b5180fc242",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-07-13T21:34:29.000Z",
      "arch": "emscripten",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/6edd69f31af8e02f4638e18375466003bcb9ef066c2cb6af65dff4fc79a28478",
      "status": "success",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-07-13T21:33:35.000Z",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/b85f3d8062ec2c0a4564674bbc2869d0906d248bac49682fde854fb054ed98eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-07-13T21:32:53.000Z",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/7c5a4bf7dd0a65130ed287c45f9f4bd24e52eaf85883b07e4de8fd47eb79c4f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-07-13T21:33:31.000Z",
      "arch": "x86_64",
      "commit": "1c5b2a7368703521fe07cdb8075371fe97810d67",
      "fileid": "https://r2.ropensci.org/37f939f1ca30ccb74ffdba2b59b8176dae7bca2b9dad906c1be4c491f11d6ab7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/29286366585"
    }
  ]
}