NEWS
geojsonsf 2.0.5 (2025-11-26)
- updated
geojsonsf dependency to fix missing Z/M values issue 100
geojsonsf 2.0.4
- removed minimum C++ requirement
null as the first element gets coerced to correct type issue 79 (again)
geojsonsf 2.0.3 (2022-05-30)
geojsonsf 2.0.2 (2022-03-03)
- Fixed UTF-8 encoded strings on Windows issue 90
geojsonsf 2.0.1 (2020-10-02)
- links to geometries library
- reduced R dependency
geojsonsf 2.0.0 (2020-06-20)
- updated licence to MIT
- corrected incorrect CRS object to align with sf >= v0.9 issue 83
- moved to
tinytest for test coverage
- removed
curl dependency issue 81
- NULLs coerced to correct type issue 79
geojsonsf 1.3.3 (2020-03-18)
- removed Boost links
- updated tests ready for R v4.0.0
geojsonsf 1.3.2
- using
rapidjson::FileReadStream to read large files from disk issue 64
crs and proj4string arguments added to geojson_sf and geojson_sfc
- dependency on
sfheaders
- fix crash due to factor levels issue 62
- fix invalid GeoJSON when NA elements issue 63
geojsonsf 1.3
- restructured C++ src code for easier navigation and linking
- added dependency on jsonify v0.2 and fixed tests
- Factors now default to strings
geojsonsf 1.2.2
digits argument for rounding coordinates
- fix
'{"type":"FeatureCollection","features":[]}' example Issue 58
geojsonsf 1.2.1 (2018-11-22)
- fixed crash when mis-specified MultiPolygon issue 51
df_geojson() converts data.frame to GeoJSON POINTs
geojsonsf 1.2.0
sf_geojson() and sfc_geojson() output "json" class objects
- better handling of
null objects / geometries issue 36
Date and POSIX objects handled issue 32
- Z (elevation) and M attributes handled issue 28
simplify argument for geojson_sf() to keep FeatureCollections when converting sf without properties
sf_geojson() performance improvments using jsonify
Changes
- factors are now treated as-is (numeric)
geojsonsf 1.1.0
geojsonsf 1.0.0
sf_geojson() and sfc_geojson() to convert from sf to GeoJSON
geojson_sf() and geojson_sfc() can now read from a url or file
geojsonsf 0.2.0 (2018-04-17)
geojson_sf() convert GeoJSON to sf object
geojson_sfc() convert GeoJSON to sfc object
geojson_wkt() convert GeoJSON to data.frame with a Well-known text column