library(potentiomap)
r <- terra::rast(nrows = 3, ncols = 3, xmin = 0, xmax = 300,
ymin = 0, ymax = 300, crs = "EPSG:26920", vals = 1:9)style_file <- tempfile(fileext = ".sld")
style <- ps_export_style(r, style_file, "sld", "head_raster", units = "m")
style$manifest## file
## 1 /private/var/folders/7j/dr505g_j3zd9z6m9qdykzc4w0000gn/T/RtmpZpAv2W/filef52d5953b95.sld
## format layer_type field units break_count xml_root validated
## 1 sld head_raster <NA> m 7 StyledLayerDescriptor TRUE
ps_report() renders an offline HTML or DOCX file from a
package-owned template. Reports include direct limitations and never
claim professional certification or regulatory approval. Open style
properties can render differently across GIS versions, so inspect the
result in the target GIS.