An R package for converting geographic data to and from GeoJSON and TopoJSON formats.
geojsonio is an R package that converts geographic data between various formats and GeoJSON or TopoJSON. It solves the problem of interoperability in spatial data workflows by providing a reliable tool for data transformation and interchange.
R developers and data scientists working with geospatial data who need to convert between R spatial objects and web-friendly GeoJSON/TopoJSON formats.
Developers choose geojsonio for its focused, stable, and comprehensive conversion capabilities, supporting a wide range of input types and output formats with minimal dependencies.
Convert many data formats to & from GeoJSON & TopoJSON
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports conversion from numeric vectors, data frames, lists, and spatial objects (sp, sf), as highlighted in the README under 'Key Features' and function methods.
Allows output as R lists, JSON strings, or direct file writes through functions like geojson_list(), geojson_json(), and geojson_write(), detailed in the README's function organization.
Includes map_gist() for pushing maps to GitHub gists and map_leaf() for creating local interactive maps with Leaflet, enhancing visualization capabilities directly from R spatial data.
Marked as 'inactive' but stable, with a focus on reliability and minimal breaking changes, ensuring long-term usability for dependent packages, as noted in the 'What’s the future?' section.
The project is no longer actively developed, with limited new features and slow response to issues, as indicated by the 'inactive' badge and statements in the README about future updates.
On Mac, requires manual installation of GDAL via Homebrew, adding extra steps beyond typical R package setup, which can be a barrier for users on non-Linux systems.
As an R-only package, it cannot be used in other programming languages, making it unsuitable for polyglot projects or environments where R integration is not feasible.