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

Honor crs argument for st_as_sfc.list() #916

Merged
merged 2 commits into from
Dec 11, 2018
Merged

Honor crs argument for st_as_sfc.list() #916

merged 2 commits into from
Dec 11, 2018

Conversation

krlmlr
Copy link
Contributor

@krlmlr krlmlr commented Dec 11, 2018

Otherwise, with bb53f02:

library(sf)
#> Linking to GEOS 3.6.2, GDAL 2.2.3, PROJ 4.9.3

geom <- list(st_as_binary(st_point(c(25e5, 12e5))))

st_as_sfc(geom, crs = 2056)
#> Geometry set for 1 feature 
#> geometry type:  POINT
#> dimension:      XY
#> bbox:           xmin: 2500000 ymin: 1200000 xmax: 2500000 ymax: 1200000
#> epsg (SRID):    NA
#> proj4string:    NA
#> POINT (2500000 1200000)

Created on 2018-12-11 by the reprex package (v0.2.1.9000)

@edzer edzer merged commit 5a48393 into r-spatial:master Dec 11, 2018
@edzer
Copy link
Member

edzer commented Dec 11, 2018

Thanks, Kirill!

@krlmlr krlmlr deleted the b-crs-wkb branch December 11, 2018 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants