Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. ArcGIS Developer
  3. geojsonio

geojsonio

NOASSERTIONRv0.11.3

An R package for converting geographic data to and from GeoJSON and TopoJSON formats.

Visit WebsiteGitHubGitHub
154 stars59 forks0 contributors

What is geojsonio?

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.

Target Audience

R developers and data scientists working with geospatial data who need to convert between R spatial objects and web-friendly GeoJSON/TopoJSON formats.

Value Proposition

Developers choose geojsonio for its focused, stable, and comprehensive conversion capabilities, supporting a wide range of input types and output formats with minimal dependencies.

Overview

Convert many data formats to & from GeoJSON & TopoJSON

Use Cases

Best For

  • Converting R spatial objects (sp, sf) to GeoJSON for web mapping
  • Transforming data frames with coordinates into TopoJSON for efficient storage
  • Reading external GeoJSON files into R for spatial analysis
  • Creating interactive Leaflet maps from R spatial data
  • Sharing geographic data as GitHub gists with embedded maps
  • Ensuring GeoJSON/TopoJSON compliance in data export pipelines

Not Ideal For

  • Real-time geospatial data streaming applications, as geojsonio is designed for batch conversion operations rather than continuous processing.
  • Projects requiring extensive spatial analysis or manipulation, since the package focuses solely on format conversion without built-in analytical tools.
  • Teams working in polyglot environments where R is not the primary language, as geojsonio is R-specific and cannot be used outside R workflows.
  • Users needing frequent updates or new features, given the project's inactive status and limited future development.

Pros & Cons

Pros

Broad Input Compatibility

Supports conversion from numeric vectors, data frames, lists, and spatial objects (sp, sf), as highlighted in the README under 'Key Features' and function methods.

Flexible Output Formats

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.

Interactive Mapping Integration

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.

Project Stability

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.

Cons

Inactive Development Status

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.

Complex Installation Dependencies

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.

Limited to R Ecosystem

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.

Frequently Asked Questions

Quick Stats

Stars154
Forks59
Contributors0
Open Issues8
Last commit2 years ago
CreatedSince 2014

Tags

#geojson#r-package#geospatial#ropensci#io#gis#r#rstats#spatial-data#topojson#data-conversion

Built With

G
GDAL
s
sf
R
R
L
Leaflet

Links & Resources

Website

Included in

ArcGIS Developer314
Auto-fetched 6 hours ago

Related Projects

gdalgdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.

Stars6,002
Forks2,921
Last commit14 hours ago
MapshaperMapshaper

Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files

Stars4,153
Forks578
Last commit2 days ago
terraformerterraformer

A geographic toolkit for dealing with geometry, geography, formats, and building geodatabases

Stars238
Forks33
Last commit23 days ago
loamloam

Javascript wrapper for GDAL in the browser

Stars226
Forks14
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub