Releases: ropensci/geojson
Releases · ropensci/geojson
geojson v0.3.4
geojson v0.3.2
BUG FIXES
- fix typo within
ndgeo_read()(#39)
geojson v0.3.0
NEW FEATURES
- package gains two new functions for working with newline-delimited GeoJSON:
ndgeo_write()andndgeo_read().ndgeo_write()leverageswriteLines()to write to disk, whilendgeo_read()leverages a modified version ofjsonlite::stream_in()to stream in line by line.ndgeo_write()works only with the geojson package classesgeofeatureandgeofeaturecollection(#31) (#38) as.geojson()generic gains a new method forsf, seeshowMethods('as.geojson')to see methods available. The method is only available if you havesfinstalled (#30) thanks @cpsievert
MINOR IMPROVEMENTS
- add examples of using geobuf capabilities to the README (#35)
- in
as.geojson()now throw warning message fromjsonlitewhen json is invalid to help user sort out what's wrong with their JSON when the input is not valid JSON (#32) - speed up for an internal method
asc()to usestringi::stri_replace_all()if installed, and if not fall back to usinggsub() - replace usage of
tibble::data_frame()withtibble::tibble()throughout package
BUG FIXES
geojson v0.2.0
NEW FEATURES
- gains new function
to_geojsonconvert GeoJSON character
string to the approriate GeoJSON class by detecting GeoJSON
type automatically. this makes some other tasks easier
(#28) (#29)
MINOR IMPROVEMENTS
- Improve
as.geojsonfunction to do print summary on
all GeoJSON types well, not just GeometryCollection
and FeatureCollection (#27)
geojson v0.1.4
MINOR IMPROVEMENTS
- Changed
properties_add()to give back the same class object
as that given to the function. In addition, correctly adds properties
to FeatureCollection objects as well. (#22) - Added properties fxns tests
BUG FIXES
- Fixed bug in
print.featurecollection()that was not calculating and
printing number of features correctly (#24)
geojson v0.1.2
BUG FIXES
- Fixed bug in internal function that checked for existence
of a Suggested package (#17)
geojson v0.1.0
NEW FEATURES
- Released to CRAN