rgeedim 0.4.0
-
Support for geedim v2.0.0 and earthengine-api v1.7+
- Updated API calls to use
ee.Image.gdandee.ImageCollection.gdaccessors - Fixed
gd_collection_from_list()to correctly extract underlyingee.Imagefromgeedim2.0 accessor objects gd_initialize()now defaults tocredentials = NULL, using Application Default Credentials (ADC) by defaultgd_properties()now correctly returns the full image ID (including collection path) forgeedim2.0.0+, fixing an issue where only the asset name was returned.- Fix for
gd_export()whengeedim >= 2.0.0where passingoverwriteargument caused aTypeError. - Consistent use of
ee.Geometryforregionargument ingd_search(),gd_composite(), andgd_download()whengeedim >= 2.0.0.
- Updated API calls to use
-
Authentication and Headless Support
- Standardized on
GOOGLE_CLOUD_QUOTA_PROJECTenvironment variable for automatic project ID detection ingd_initialize() gd_initialize(private_key_file=...)parameter andEE_SERVICE_ACC_PRIVATE_KEYenvironment variable are deprecated in favor of standardGOOGLE_APPLICATION_CREDENTIALSgd_authenticate()andgd_initialize()now support authentication in headless environments (e.g. CI/CD, Workload Identity Federation)- Updated all vignettes and examples to use
gd_is_initialized()and environment variableR_RGEEDIM_RUN_EXAMPLESfor conditional evaluation
- Standardized on
-
gd_region()andgd_region_to_vect()improvementsgd_region()now correctly handlesSpatVectorobjects withMultiPolygongeometries or holes by leveragingterra::writeVector(..., filetype="GeoJSON")- Using Python's native
jsonmodule (viareticulate) for dependency-light GeoJSON serialization and parsing gd_region_to_vect()now supports complex GeoJSON-like lists, includingGeometryCollection
rgeedim 0.2.8
-
With reticulate >= 1.41.0 call
py_require(c("earthengine-api" , "geedim"))on load -
Default Python virtual environment name changed from
"r-reticulate"to"r-rgeedim"- Use
gd_install()to initialize a new environment if needed.
- Use
-
gd_projection(): update for earthengine-api usage ofee.projection.Projectionclass -
Replace use of
knitr+rmarkdownwithlitedownfor readme/vignette building
What's Changed
- rgeedim v0.2.8 by @brownag in #16
- rgeedim v0.2.8 by @brownag in #17
- rgeedim v0.3.0 by @brownag in #19
- rgeedim v0.4.0 by @brownag in #21
Full Changelog: 0.2.7...0.4.0