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
Labels
bug Something isn't working
Milestone

Comments

@SymbolixAU
Copy link
Collaborator

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 Something isn't working label Sep 21, 2018
@SymbolixAU
Copy link
Collaborator Author

re-opening until #27 is fixed

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

Speed improved in #33

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

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 pushed a commit that referenced this issue Oct 14, 2018
@SymbolixAU SymbolixAU removed their assignment Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants