La Martinique, la Guadeloupe et la Réunion sont concernées, les messages d'erreurs varient selon la région :
terr_geo <- COGiter::filtrer_cog_geo(reg = "01", garder_supra = TRUE)
# Error in s2_geography_from_wkb(x, oriented = oriented, check = check) :
# Evaluation error: Found 1 feature with invalid spherical geometry.
# Loop 5 is not valid: Edge 123 is degenerate (duplicate vertex).
# De plus : There were 15 warnings (use warnings() to see them)
terr_geo <- COGiter::filtrer_cog_geo(reg = "02", garder_supra = TRUE)
# Error in s2_geography_from_wkb(x, oriented = oriented, check = check) :
# Evaluation error: Found 1 feature with invalid spherical geometry.
# [1] Loop 0 is not valid: Edge 889 is degenerate (duplicate vertex).
# De plus : There were 15 warnings (use warnings() to see them)
terr_geo <- COGiter::filtrer_cog_geo(reg = "04", garder_supra = TRUE)
# Erreur : Assigned data `value` must be compatible with existing data.
# x Existing data has 1 row.
# x Assigned data has 2 rows.
# i Row updates require a list value. Do you need `list()` or `as.list()`?
# Run `rlang::last_error()` to see where the error occurred.
La Martinique, la Guadeloupe et la Réunion sont concernées, les messages d'erreurs varient selon la région :