Skip to content

Commit

Permalink
rd
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Jan 4, 2025
1 parent 92767c2 commit 6c667f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/hull.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ h <- hull(p)
hh <- hull(p, "convex", by="NAME_1")

geos_version <- libVersion("geos", TRUE)
geos_version

if ((geos_version$major >= 3) && (geos_version$minor >= 6)) {
if ((geos_version$major * 10 + geos_version$minor) >= 36)) {
rr <- hull(p, "rectangle", "NAME_1")
plot(rr, lwd=5, border="gray")
plot(hh, "NAME_1", col=rainbow(10, alpha=.5), lwd=3, add=TRUE, plg=list(x="topright"))
Expand Down

0 comments on commit 6c667f9

Please sign in to comment.