diff --git a/DESCRIPTION b/DESCRIPTION index e6a80cc..0a3aebd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: sentinel2 Title: Tools to access Sentinel-2 data pre-processed by IVFL, BOKU Vienna -Version: 0.4.0 +Version: 0.4.1 Authors@R: c( person("Sebastian", "Boeck", email = "sebastian.boeck@boku.ac.at", role = c("aut", "cre")), person("Mateusz", "Zoltak", email = "mateusz.zoltak@boku.ac.at", role = c("ctb")) diff --git a/NAMESPACE b/NAMESPACE index f19cdfc..946365e 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -15,4 +15,5 @@ export(S2_query_product) export(S2_query_qiData) export(S2_query_roi) export(S2_user_info) +export(geojson_to_geometry) export(roi_to_jgeom) diff --git a/NEWS.md b/NEWS.md index f6be0f1..a1c2754 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# 0.4.1 (2019-01-29) + +* Make `geojson_to_geometry()` public. + # 0.4.0 (2019-01-04) Backward incompatible changes: diff --git a/R/geojson_to_geometry.R b/R/geojson_to_geometry.R index d3c55c7..b787054 100644 --- a/R/geojson_to_geometry.R +++ b/R/geojson_to_geometry.R @@ -4,6 +4,7 @@ #' \code{geojson} geometries should be coverted. Currently \code{sp} and #' \code{sf} packages are supported #' @return a list of spatial objects +#' @export geojson_to_geometry = function(geojson, package) { stopifnot( is.vector(geojson), is.character(geojson), all(!is.na(geojson)),