Skip to content

Commit

Permalink
Merge pull request #150 from brazil-data-cube/b-1.0.0
Browse files Browse the repository at this point in the history
Release version 1.0.0
  • Loading branch information
rolfsimoes authored Feb 14, 2024
2 parents 8f405ba + 92d2a83 commit f10126e
Show file tree
Hide file tree
Showing 75 changed files with 2,635 additions and 3,462 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
^doc$
^Meta$
^\.github$
^revdep$
^cran-comments\.md$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ docs
inst/doc
/doc/
/Meta/
/revdep/
cran-comments.md
39 changes: 16 additions & 23 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rstac
Title: Client Library for SpatioTemporal Asset Catalog
Version: 0.9.2-5
Version: 1.0.0
Authors@R:
c(person("Rolf", "Simoes",
email = "rolfsimoes@gmail.com",
Expand All @@ -22,32 +22,23 @@ License: MIT + file LICENSE
URL: https://brazil-data-cube.github.io/rstac/
BugReports: https://github.com/brazil-data-cube/rstac/issues
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Depends:
R (>= 3.5)
Imports:
httr,
crayon,
utils,
httr,
jsonlite,
lifecycle,
magrittr
Suggests:
testthat,
crayon,
sf,
knitr,
rmarkdown,
png,
jpeg,
tibble,
dplyr,
purrr,
slider,
leaflet,
tmap,
stars,
ggplot2,
geojsonsf
grid,
magrittr
Suggests:
lifecycle,
testthat,
knitr
Collate:
'cql2-expr-funs.R'
'cql2-types.R'
Expand All @@ -65,10 +56,11 @@ Collate:
'conformance-query.R'
'collections-query.R'
'deprec-funs.R'
'document-funs.R'
'doc-funs.R'
'ext_filter.R'
'ext_query.R'
'extensions.R'
'geom-funs.R'
'items-funs.R'
'items-utils.R'
'items-query.R'
Expand All @@ -80,10 +72,11 @@ Collate:
'request.R'
'signatures.R'
'stac-query.R'
'stac_search.R'
'stac_version.R'
'search-query.R'
'stac-funs.R'
'static-funs.R'
'url-utils.R'
'utils.R'
'rstac.R'
'rstac-funs.R'
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
158 changes: 88 additions & 70 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by roxygen2: do not edit by hand

S3method(after_response,RSTACQuery)
S3method(after_response,collection_id)
S3method(after_response,collections)
S3method(after_response,conformance)
Expand All @@ -12,21 +11,19 @@ S3method(after_response,queryables)
S3method(after_response,search)
S3method(after_response,stac)
S3method(as.character,cql2_filter)
S3method(assets_download,STACItem)
S3method(assets_download,STACItemCollection)
S3method(as.character,cql2_spatial)
S3method(assets_download,default)
S3method(assets_filter,STACItem)
S3method(assets_filter,STACItemCollection)
S3method(assets_rename,STACItem)
S3method(assets_rename,STACItemCollection)
S3method(assets_download,doc_item)
S3method(assets_download,doc_items)
S3method(assets_rename,default)
S3method(assets_select,STACItem)
S3method(assets_select,STACItemCollection)
S3method(assets_rename,doc_item)
S3method(assets_rename,doc_items)
S3method(assets_select,default)
S3method(assets_url,STACItem)
S3method(assets_url,STACItemCollection)
S3method(assets_select,doc_item)
S3method(assets_select,doc_items)
S3method(assets_url,default)
S3method(before_request,RSTACQuery)
S3method(assets_url,doc_item)
S3method(assets_url,doc_items)
S3method(before_request,collection_id)
S3method(before_request,collections)
S3method(before_request,conformance)
Expand All @@ -37,76 +34,73 @@ S3method(before_request,items)
S3method(before_request,queryables)
S3method(before_request,search)
S3method(before_request,stac)
S3method(check_subclass,RSTACDocument)
S3method(check_subclass,RSTACQuery)
S3method(endpoint,RSTACQuery)
S3method(endpoint,collection_id)
S3method(endpoint,collections)
S3method(endpoint,conformance)
S3method(endpoint,ext_filter)
S3method(endpoint,ext_query)
S3method(endpoint,item_id)
S3method(endpoint,items)
S3method(endpoint,queryables)
S3method(endpoint,search)
S3method(endpoint,stac)
S3method(get_spatial,GEOMETRYCOLLECTION)
S3method(get_spatial,character)
S3method(get_spatial,list)
S3method(get_spatial,sf)
S3method(get_spatial,sfc)
S3method(get_spatial,sfg)
S3method(has_assets,STACItem)
S3method(has_assets,STACItemCollection)
S3method(has_assets,default)
S3method(items_as_sf,STACItem)
S3method(items_as_sf,STACItemCollection)
S3method(items_assets,STACItem)
S3method(items_assets,STACItemCollection)
S3method(has_assets,doc_item)
S3method(has_assets,doc_items)
S3method(items_as_sf,doc_item)
S3method(items_as_sf,doc_items)
S3method(items_as_sfc,doc_item)
S3method(items_as_sfc,doc_items)
S3method(items_as_tibble,doc_item)
S3method(items_as_tibble,doc_items)
S3method(items_assets,default)
S3method(items_bbox,STACItem)
S3method(items_bbox,STACItemCollection)
S3method(items_bbox,default)
S3method(items_compact,STACItemCollection)
S3method(items_datetime,STACItem)
S3method(items_datetime,STACItemCollection)
S3method(items_datetime,default)
S3method(items_fetch,STACItemCollection)
S3method(items_fields,STACItem)
S3method(items_fields,STACItemCollection)
S3method(items_fields,default)
S3method(items_filter,STACItemCollection)
S3method(items_length,STACItem)
S3method(items_length,STACItemCollection)
S3method(items_length,default)
S3method(items_matched,STACItem)
S3method(items_matched,STACItemCollection)
S3method(items_matched,default)
S3method(items_next,STACItemCollection)
S3method(items_reap,STACItem)
S3method(items_reap,STACItemCollection)
S3method(items_assets,doc_item)
S3method(items_assets,doc_items)
S3method(items_bbox,doc_item)
S3method(items_bbox,doc_items)
S3method(items_compact,doc_items)
S3method(items_datetime,doc_item)
S3method(items_datetime,doc_items)
S3method(items_fetch,doc_items)
S3method(items_fields,doc_item)
S3method(items_fields,doc_items)
S3method(items_filter,doc_items)
S3method(items_intersects,doc_item)
S3method(items_intersects,doc_items)
S3method(items_length,doc_items)
S3method(items_matched,doc_items)
S3method(items_next,doc_items)
S3method(items_properties,doc_item)
S3method(items_properties,doc_items)
S3method(items_reap,default)
S3method(items_sign,STACItem)
S3method(items_sign,STACItemCollection)
S3method(items_reap,doc_item)
S3method(items_reap,doc_items)
S3method(items_select,doc_items)
S3method(items_sign,default)
S3method(items_sign,doc_item)
S3method(items_sign,doc_items)
S3method(link_open,doc_link)
S3method(links,rstac_doc)
S3method(parse_params,ext_filter)
S3method(parse_params,ext_query)
S3method(parse_params,items)
S3method(parse_params,search)
S3method(print,Conformance)
S3method(print,Queryables)
S3method(print,RSTACQuery)
S3method(print,STACCatalog)
S3method(print,STACCollection)
S3method(print,STACCollectionList)
S3method(print,STACItem)
S3method(print,STACItemCollection)
S3method(print,cql2_filter)
S3method(stac_version,RSTACDocument)
S3method(stac_version,RSTACQuery)
S3method(stac_version,STACCollectionList)
S3method(subclass,RSTACDocument)
S3method(subclass,RSTACQuery)
S3method(print,doc_catalog)
S3method(print,doc_collection)
S3method(print,doc_collections)
S3method(print,doc_conformance)
S3method(print,doc_item)
S3method(print,doc_items)
S3method(print,doc_link)
S3method(print,doc_links)
S3method(print,doc_queryables)
S3method(print,rstac_query)
S3method(read_collections,catalog)
S3method(read_items,doc_collection)
S3method(stac_type,rstac_doc)
S3method(stac_version,doc_collections)
S3method(stac_version,doc_items)
S3method(stac_version,rstac_doc)
S3method(stac_version,rstac_query)
S3method(subclass,rstac_doc)
S3method(subclass,rstac_query)
S3method(text_not_op,cql2_between_op)
S3method(text_not_op,cql2_in_op)
S3method(text_not_op,cql2_isnull_op)
Expand Down Expand Up @@ -176,7 +170,6 @@ export(asset_eo_bands)
export(asset_key)
export(asset_raster_bands)
export(assets_download)
export(assets_filter)
export(assets_rename)
export(assets_select)
export(assets_url)
Expand All @@ -194,37 +187,62 @@ export(get_request)
export(has_assets)
export(items)
export(items_as_sf)
export(items_as_sfc)
export(items_as_tibble)
export(items_assets)
export(items_bbox)
export(items_compact)
export(items_datetime)
export(items_fetch)
export(items_fields)
export(items_filter)
export(items_group)
export(items_intersects)
export(items_length)
export(items_matched)
export(items_next)
export(items_properties)
export(items_reap)
export(items_select)
export(items_sign)
export(items_sign_bdc)
export(items_sign_planetary_computer)
export(link_open)
export(links)
export(post_request)
export(preview_plot)
export(queryables)
export(read_collections)
export(read_items)
export(read_stac)
export(sign_bdc)
export(sign_planetary_computer)
export(stac)
export(stac_search)
export(stac_type)
export(stac_version)
importFrom(crayon,bold)
importFrom(grid,grid.raster)
importFrom(httr,GET)
importFrom(httr,POST)
importFrom(httr,add_headers)
importFrom(httr,build_url)
importFrom(httr,content)
importFrom(httr,http_type)
importFrom(httr,parse_url)
importFrom(httr,status_code)
importFrom(httr,write_disk)
importFrom(jpeg,readJPEG)
importFrom(jsonlite,fromJSON)
importFrom(lifecycle,deprecated)
importFrom(jsonlite,read_json)
importFrom(magrittr,"%>%")
importFrom(png,readPNG)
importFrom(sf,st_geometry)
importFrom(sf,st_geometry_type)
importFrom(sf,st_intersects)
importFrom(sf,st_sf)
importFrom(sf,st_sfc)
importFrom(sf,st_transform)
importFrom(utils,URLdecode)
importFrom(utils,modifyList)
importFrom(utils,setTxtProgressBar)
importFrom(utils,txtProgressBar)
12 changes: 11 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# rstac (development version)
# rstac 1.0.0 (Released 2024-02-14)

* Add support to static catalogs;
* `read_stac()`: read any STAC document from an URL (e.g. Catalog, Collection, Items, or Item);
* `links()`: extract and filter links from a STAC document;
* `link_open()`: open the document referenced by the provided link;
* `read_items()`: read items listed in links section of the provided Collection document;
* `read_collections()`: read collections listed in links section of the provided Catalog document;
* Provide new functions to facilitate work with items;
* `items_as_sf()` / `items_as_sfc()`: convert items into sf objects
* `items_intersects()`: is a helper function to test what items intersect some given geometry.

# rstac 0.9.2-4 (Released 2023-06-15)

Expand Down
Loading

0 comments on commit f10126e

Please sign in to comment.