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

dates #32

Closed
SymbolixAU opened this issue Sep 21, 2018 · 3 comments
Closed

dates #32

SymbolixAU opened this issue Sep 21, 2018 · 3 comments
Assignees
Labels
bug
Milestone

Comments

@SymbolixAU
Copy link
Owner

@SymbolixAU SymbolixAU commented Sep 21, 2018

I thought I caught these, but I guess not...

sf <- sf::st_sf( geom = sf::st_sfc(sf::st_point(c(1,1))) )
sf$date <- as.POSIXct("2018-01-01 01:01:02")
geo <- sf_geojson(sf)
geo
jsonlite::validate(geo)
@SymbolixAU SymbolixAU self-assigned this Sep 21, 2018
@SymbolixAU SymbolixAU added the bug label Sep 21, 2018
@SymbolixAU
Copy link
Owner Author

@SymbolixAU SymbolixAU commented Sep 22, 2018

re-opening until #27 is fixed

@SymbolixAU SymbolixAU reopened this Sep 22, 2018
@SymbolixAU
Copy link
Owner Author

@SymbolixAU SymbolixAU commented Sep 26, 2018

Speed improved in #33

@SymbolixAU SymbolixAU added this to the v1.2 milestone Oct 10, 2018
@SymbolixAU
Copy link
Owner Author

@SymbolixAU SymbolixAU commented Oct 14, 2018

sf <- sf::st_sf( geom = sf::st_sfc(sf::st_point(c(1,1))) )
sf$date <- as.POSIXct("2018-01-01 01:01:02")
geo <- sf_geojson(sf)
geo
# [1] "{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"date\":\"2018-01-# 01 01:01:02\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[1.0,1.0]}}]}"
# attr(,"class")
# [1] "json"
jsonify::validate_json(geo)
# [1] TRUE
SymbolixAU added a commit that referenced this issue Oct 14, 2018
@SymbolixAU SymbolixAU closed this Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.