Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement promote_to_multi when converting WKB to sfc #2369

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
whoops
  • Loading branch information
paleolimbot committed Mar 31, 2024
commit 5515f3c6c92d31d83af6e8a45d1a6a534fdbd3c1
2 changes: 1 addition & 1 deletion R/wkb.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ st_as_sfc.WKB = function(x, ..., EWKB = FALSE, spatialite = FALSE, pureR = FALSE
R_read_wkb(x, readWKB, EWKB = EWKB)
else
CPL_read_wkb2(x,
list(EKWB = EWKB,
list(EWKB = EWKB,
spatialite = spatialite,
promote_to_multi = promote_to_multi))
if (is.na(crs) && (EWKB || spatialite) && !is.null(attr(ret, "srid")) && attr(ret, "srid") != 0)
Expand Down
Loading