Changelog
Source:NEWS.md
geojson 0.3.5
CRAN release: 2023-08-08
Now working in main branch, removed references to old trunk branch.
Removed geojsonlint and all linting facilities and code.
linting_opts()
is deprecated.New maintainer Michael Sumner.
geojson 0.3.4
CRAN release: 2020-06-23
MINOR IMPROVEMENTS
- fixes for test suite: skip package check warnings when geojsonlint not available, and skip tests that would use geojsonlint (#40)
geojson 0.3.0
CRAN release: 2019-01-18
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 classesgeofeature
andgeofeaturecollection
(#31) (#38) -
as.geojson()
generic gains a new method forsf
, seeshowMethods('as.geojson')
to see methods available. The method is only available if you havesf
installed (#30) thanks @cpsievert
MINOR IMPROVEMENTS
- add examples of using geobuf capabilities to the README (#35)
- in
as.geojson()
now throw warning message fromjsonlite
when 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
- change to
print.geojson()
to not calculate and print the bounding box because for very large geojson can take a very long time. Also changed to precomputing everything so printing geojson objects is fast (#36) - fix to
geo_bbox()
to handle negative coordinates (#33) (#34) thanks very much @aoles
geojson 0.2.0
CRAN release: 2017-11-08
MINOR IMPROVEMENTS
- Improve
as.geojson
function to do print summary on all GeoJSON types well, not just GeometryCollection and FeatureCollection (#27)
geojson 0.1.4
CRAN release: 2017-10-24
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 0.1.2
CRAN release: 2017-02-28
BUG FIXES
- Fixed bug in internal function that checked for existence of a Suggested package (#17)