diff --git a/NEWS.md b/NEWS.md index cec9f72c4..43cb2e859 100644 --- a/NEWS.md +++ b/NEWS.md @@ -14,7 +14,7 @@ * Update `crs` usage in `sits_get_data()` to support WKT * Implement Sakoe-Chiba approximation for DTW algorithm * Support for tmap version 4.0 -* Enhance perfomance and usability in visualization functions +* Enhance performance and usability in visualization functions * Enhance `sits_classify()` performance with segments classification * Support for interactive visualization with SOM samples * General bug fixes diff --git a/R/api_view.R b/R/api_view.R index 7146a8a95..98f5570d8 100644 --- a/R/api_view.R +++ b/R/api_view.R @@ -652,7 +652,6 @@ id = as.numeric(names(labels)), cover = unname(labels) ) - levels(rast) <- terra_levels # get colors only for the available labels colors <- .colors_get( labels = labels, @@ -660,6 +659,9 @@ palette = palette, rev = TRUE ) + # set the levels and the palette for terra + levels(rast) <- terra_levels + options(terra.pal = unname(colors)) leaflet_colors <- leaflet::colorFactor( palette = unname(colors), domain = as.character(names(labels)) diff --git a/R/sits_classify.R b/R/sits_classify.R index 911b64a39..96ac39f83 100644 --- a/R/sits_classify.R +++ b/R/sits_classify.R @@ -77,7 +77,7 @@ #' used for processing. We recommend using as much memory as possible. #' #' Parameter \code{exclusion_mask} defines a region that will not be -#' classify. The region can be defined by multiple poygons. +#' classify. The region can be defined by multiple polygons. #' Use an sf object or a shapefile to define it. #' #' When using a GPU for deep learning, \code{gpu_memory} indicates the diff --git a/inst/WORDLIST b/inst/WORDLIST index 5777428a3..3135fc653 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -8,6 +8,7 @@ ALOS Amazonia Aperfeiçoamento Appel +Appu Appelhans Arabie Atzberger @@ -35,12 +36,17 @@ Chebyshev Chehata Científico Citable +Clima +ColorBrewer Conselho Conv Convolutional Coordenação +CUDA +Cyberinfratructure DEAFRICA DEAfrica +DEAUSTRALIA DEM DOI DTW @@ -50,6 +56,8 @@ EO EPSG EVI Edzer +EOSTAT +ESA FAO FAPESP FCN @@ -61,6 +69,7 @@ Forestier Fowlkes Francesco François +Fua GDAL GEOTIFF GRD @@ -87,6 +96,7 @@ Hijmans Hotfix IJCNN IKI +Instituto ISPRS ISSN Idoumghar @@ -226,7 +236,9 @@ Ywata Zhiguang Zollner adam +aes al +analyse arXiv arxiv attr @@ -235,6 +247,7 @@ bayes bayesian bbox bboxes +behaviour biome bleutner brazil @@ -242,6 +255,7 @@ brazildatacube bzip cauchyturing cerrado +classe codecov colour colwise @@ -255,7 +269,11 @@ csv cvi datatypes de +dem +dev delim +dfc +dfr digitalearthafrica dir dl @@ -263,10 +281,13 @@ doi dtw dtwSat dtwclust +endmember +endmembers eScience eps et extdata +eval fid fn frac @@ -288,11 +309,13 @@ hotfix href http https +httr interpolator io ir isprsjprs iteratively +jair jss keras kohonen @@ -317,11 +340,15 @@ memsize metatype microsoft mlp +modelling modis +mosaicking msg mth multiclass multilayer +multithread +netrc ncols ndvi neighbourhood @@ -335,6 +362,7 @@ oversample oversampled parallelization params +percentual perceptron perceptrons pid @@ -346,6 +374,7 @@ probs programme proj psetae +purrr py pytorch randomForest @@ -383,8 +412,13 @@ spatio spatiotemporal stac subimage +summarization +supercell supercells +superpixels +swissdatacube svm +tapply tempCNN tempdir terra @@ -392,6 +426,7 @@ tibble tibbles tif timeseriesAI +tmap tsai tsclust twdtwApply @@ -399,6 +434,8 @@ twdtwMatches twdtwTimeSeries undersample usgs +visualisation +xgb wacharasak wgs whittaker diff --git a/inst/extdata/merge/sits_merge.pptx b/inst/extdata/merge/sits_merge.pptx deleted file mode 100644 index 2933a7edb..000000000 Binary files a/inst/extdata/merge/sits_merge.pptx and /dev/null differ