Skip to content

Commit

Permalink
Make geojson_to_geometry() public.
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Jan 29, 2019
1 parent 35ba75c commit decffde
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]", role = c("aut", "cre")),
person("Mateusz", "Zoltak", email = "[email protected]", role = c("ctb"))
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.4.1 (2019-01-29)

* Make `geojson_to_geometry()` public.

# 0.4.0 (2019-01-04)

Backward incompatible changes:
Expand Down
1 change: 1 addition & 0 deletions R/geojson_to_geometry.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit decffde

Please sign in to comment.