r-mapview: added packages and dependencies (#22439)
This commit is contained in:
parent
d838b8f518
commit
346d880384
31
var/spack/repos/builtin/packages/r-leafem/package.py
Normal file
31
var/spack/repos/builtin/packages/r-leafem/package.py
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLeafem(RPackage):
|
||||
"""'leaflet' Extensions for 'mapview'
|
||||
|
||||
Provides extensions for packages 'leaflet' & 'mapdeck', many of which are
|
||||
used by package 'mapview'. Focus is on functionality readily available in
|
||||
Geographic Information Systems such as 'Quantum GIS'. Includes functions to
|
||||
display coordinates of mouse pointer position, query image values via mouse
|
||||
pointer and zoom-to-layer buttons. Additionally, provides a feature type
|
||||
agnostic function to add points, lines, polygons to a map."""
|
||||
|
||||
homepage = "https://github.com/r-spatial/leafem"
|
||||
cran = "leafem"
|
||||
|
||||
version('0.1.3', sha256='6f123fc15efadb85d317c01003e3b7af5dc925cffe0bbe774b1b39b6bd67f304')
|
||||
|
||||
depends_on('r@3.1.0:', type=('build', 'run'))
|
||||
depends_on('r-base64enc', type=('build', 'run'))
|
||||
depends_on('r-htmltools@0.3:', type=('build', 'run'))
|
||||
depends_on('r-htmlwidgets', type=('build', 'run'))
|
||||
depends_on('r-leaflet@2.0.1:', type=('build', 'run'))
|
||||
depends_on('r-raster', type=('build', 'run'))
|
||||
depends_on('r-sf', type=('build', 'run'))
|
||||
depends_on('r-png', type=('build', 'run'))
|
30
var/spack/repos/builtin/packages/r-leafpop/package.py
Normal file
30
var/spack/repos/builtin/packages/r-leafpop/package.py
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
from spack import *
|
||||
|
||||
|
||||
class RLeafpop(RPackage):
|
||||
"""Include Tables, Images and Graphs in Leaflet Pop-Ups
|
||||
|
||||
Creates 'HTML' strings to embed tables, images or graphs in pop-ups of
|
||||
interactive maps created with packages like 'leaflet' or 'mapview'. Handles
|
||||
local images located on the file system or via remote URL. Handles graphs
|
||||
created with 'lattice' or 'ggplot2' as well as interactive plots created
|
||||
with 'htmlwidgets'."""
|
||||
|
||||
homepage = "https://github.com/r-spatial/leafpop"
|
||||
cran = "leafpop"
|
||||
|
||||
version('0.0.6', sha256='3d9ca31d081ce8540a87790786840bde5f833543af608c53a26623c7874e722f')
|
||||
|
||||
depends_on('r-base64enc', type=('build', 'run'))
|
||||
depends_on('r-brew', type=('build', 'run'))
|
||||
depends_on('r-htmltools', type=('build', 'run'))
|
||||
depends_on('r-htmlwidgets', type=('build', 'run'))
|
||||
depends_on('r-sf', type=('build', 'run'))
|
||||
depends_on('r-svglite', type=('build', 'run'))
|
||||
depends_on('r-uuid', type=('build', 'run'))
|
38
var/spack/repos/builtin/packages/r-mapview/package.py
Normal file
38
var/spack/repos/builtin/packages/r-mapview/package.py
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class RMapview(RPackage):
|
||||
"""Interactive Viewing of Spatial Data in R
|
||||
|
||||
Quickly and conveniently create interactive visualisations of spatial data
|
||||
with or without background maps. Attributes of displayed features are fully
|
||||
queryable via pop-up windows. Additional functionality includes methods to
|
||||
visualise true- and false-color raster images and bounding boxes."""
|
||||
|
||||
homepage = "https://github.com/r-spatial/mapview"
|
||||
cran = "mapview"
|
||||
|
||||
version('2.9.0', sha256='170cb2b5e67cbeb177f87bd2eab1ecabc44a1042addbcd95a85b2ec4a00eb690')
|
||||
|
||||
depends_on('r+X', type=('build', 'run'))
|
||||
depends_on('r@3.6.0:', type=('build', 'run'))
|
||||
depends_on('r-base64enc', type=('build', 'run'))
|
||||
depends_on('r-htmltools', type=('build', 'run'))
|
||||
depends_on('r-htmlwidgets', type=('build', 'run'))
|
||||
depends_on('r-lattice', type=('build', 'run'))
|
||||
depends_on('r-leafem', type=('build', 'run'))
|
||||
depends_on('r-leaflet@2.0.0:', type=('build', 'run'))
|
||||
depends_on('r-leafpop', type=('build', 'run'))
|
||||
depends_on('r-png', type=('build', 'run'))
|
||||
depends_on('r-raster', type=('build', 'run'))
|
||||
depends_on('r-satellite', type=('build', 'run'))
|
||||
depends_on('r-scales@0.2.5:', type=('build', 'run'))
|
||||
depends_on('r-sf', type=('build', 'run'))
|
||||
depends_on('r-sp', type=('build', 'run'))
|
||||
depends_on('r-webshot', type=('build', 'run'))
|
||||
depends_on('gmake', type='build')
|
31
var/spack/repos/builtin/packages/r-satellite/package.py
Normal file
31
var/spack/repos/builtin/packages/r-satellite/package.py
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class RSatellite(RPackage):
|
||||
"""Handling and Manipulating Remote Sensing Data
|
||||
|
||||
Herein, we provide a broad variety of functions which are useful for
|
||||
handling, manipulating, and visualizing satellite-based remote sensing
|
||||
data. These operations range from mere data import and layer handling (eg
|
||||
subsetting), over Raster* typical data wrangling (eg crop, extend), to more
|
||||
sophisticated (pre-)processing tasks typically applied to satellite imagery
|
||||
(eg atmospheric and topographic correction). This functionality is
|
||||
complemented by a full access to the satellite layers' metadata at any
|
||||
stage and the documentation of performed actions in a separate log file.
|
||||
Currently available sensors include Landsat 4-5 (TM), 7 (ETM+), and 8
|
||||
(OLI/TIRS Combined), and additional compatibility is ensured for the
|
||||
Landsat Global Land Survey data set."""
|
||||
|
||||
cran = "satellite"
|
||||
|
||||
version('1.0.2', sha256='6447476bd31216e5abe504221e465677954d07419b4174ab4f4e4f7a197969c5')
|
||||
|
||||
depends_on('r@2.10:', type=('build', 'run'))
|
||||
depends_on('r-raster', type=('build', 'run'))
|
||||
depends_on('r-plyr', type=('build', 'run'))
|
||||
depends_on('r-rcpp@0.10.3:', type=('build', 'run'))
|
24
var/spack/repos/builtin/packages/r-svglite/package.py
Normal file
24
var/spack/repos/builtin/packages/r-svglite/package.py
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class RSvglite(RPackage):
|
||||
"""An 'SVG' Graphics Device
|
||||
|
||||
A graphics device for R that produces 'Scalable Vector Graphics'. 'svglite'
|
||||
is a fork of the older 'RSvgDevice' package."""
|
||||
|
||||
homepage = "https://svglite.r-lib.org/"
|
||||
cran = "svglite"
|
||||
|
||||
version('2.0.0', sha256='76e625fe172a5b7ce99a67b6d631b037b3f7f0021cfe15f2e15e8851b89defa5')
|
||||
|
||||
depends_on('r+X', type=('build', 'run'))
|
||||
depends_on('r@3.0.0:', type=('build', 'run'))
|
||||
depends_on('r-systemfonts@1.0.0:', type=('build', 'run'))
|
||||
depends_on('r-cpp11', type=('build', 'run'))
|
||||
depends_on('libpng')
|
28
var/spack/repos/builtin/packages/r-systemfonts/package.py
Normal file
28
var/spack/repos/builtin/packages/r-systemfonts/package.py
Normal file
@ -0,0 +1,28 @@
|
||||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class RSystemfonts(RPackage):
|
||||
"""System Native Font Finding
|
||||
|
||||
Provides system native access to the font catalogue. As font handling
|
||||
varies between systems it is difficult to correctly locate installed fonts
|
||||
across different operating systems. The 'systemfonts' package provides
|
||||
bindings to the native libraries on Windows, macOS and Linux for finding
|
||||
font files that can then be used further by e.g. graphic devices. The main
|
||||
use is intended to be from compiled code but 'systemfonts' also provides
|
||||
access from R."""
|
||||
|
||||
homepage = "https://github.com/r-lib/systemfonts"
|
||||
cran = "systemfonts"
|
||||
|
||||
version('1.0.1', sha256='401db4d9e78e3a5e00b7a0b4fbad7fbb1c584734469b65fe5b7ebe1851c7a797')
|
||||
|
||||
depends_on('r@3.2.0:', type=('build', 'run'))
|
||||
depends_on('r-cpp11@0.2.1:', type=('build', 'run'))
|
||||
depends_on('fontconfig')
|
||||
depends_on('freetype')
|
Loading…
Reference in New Issue
Block a user