Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
John Waller committed Apr 23, 2024
1 parent d2e087e commit 045bb6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion R/geometry_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ geometry_handler <- function(x, geom_big = "asis", size = 40, n = 10, verbose =
}))
}
)

}
unlist(out, recursive = FALSE)

Expand Down
2 changes: 1 addition & 1 deletion vignettes/getting_occurrence_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ large_wkt <- "POLYGON ((127.0171 4.9391, 124.5973 4.7960, 121.7968 3.7617,
occ_download(pred_within(large_wkt),format = "SIMPLE_CSV"))
```

Due to changes in GBIF's polygon interpretation, you might get an error when using polygon's wound in the "wrong direction" (clockwise). For example the R package `sf` returns WKT polygons clockwise by default. One solution is to use the `wk` package to reorient the polygon prior to feeding it to `occ_download()`.
Due to changes in GBIF's polygon interpretation, you might get an error when using polygons wound in the "wrong direction" (clockwise). For example, the R package `sf` returns WKT polygons clockwise by default. One solution is to use the `wk` package to reorient the polygon prior to feeding it to `occ_download()`.

```r
wkt %>%
Expand Down

0 comments on commit 045bb6c

Please sign in to comment.