-
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.
- fixes for test suite: skip package check warnings when geojsonlint not available, and skip tests that would use geojsonlint (#40)
- fix typo within
ndgeo_read()
(#39)
- 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
- 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
- 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
- gains new function
to_geojson
convert GeoJSON character string to the approriate GeoJSON class by detecting GeoJSON type automatically. this makes some other tasks easier (#28) (#29)
- Improve
as.geojson
function to do print summary on all GeoJSON types well, not just GeometryCollection and FeatureCollection (#27)
- 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
- Fixed bug in
print.featurecollection()
that was not calculating and printing number of features correctly (#24)
- Fixed bug in internal function that checked for existence of a Suggested package (#17)
- Released to CRAN.