geojsonio: Convert Data from and to 'geoJSON' or 'topoJSON'

Convert data to 'geoJSON' or 'topoJSON' from various R classes, including vectors, lists, data frames, shape files, and spatial classes. 'geojsonio' does not aim to replace packages like 'sp', 'rgdal', 'rgeos', but rather aims to be a high level client to simplify conversions of data from and to 'geoJSON' and 'topoJSON'.

Author
Scott Chamberlain [aut, cre], Andy Teucher [aut]
Date of publication
2016-07-14 00:31:35
Maintainer
Scott Chamberlain <myrmecocystus@gmail.com>
License
MIT + file LICENSE
Version
0.2.0
URLs

View on CRAN

Man pages

as.json
Convert inputs to JSON
as.location
Convert a path or URL to a location object.
bounds
Get bounds for a list or geo_list
canada_cities
This is the same data set from the maps library, named...
centroid
Get centroid for a geo_list
file_to_geojson
Convert spatial data files to GeoJSON from various formats.
geojson-add
Add together geo_list or json objects
geojsonio
*I/O for GeoJSON*
geojsonio-deprecated
Deprecated functions in geojsonio
geojson_json
Convert many input types with spatial data to geojson...
geojson_list
Convert many input types with spatial data to geojson...
geojson_read
Read geojson or other formats from a local file or a URL
geojson_sp
Convert output of geojson_list or geojson_json to spatial...
geojson_style
Style a data.frame or list prior to converting to geojson
geojson_write
Convert many input types with spatial data to a geojson file
lint
Lint geojson
map_gist
Publish an interactive map as a GitHub gist
map_leaf
Make an interactive map locally
pipe
Pipe operator
pretty
Convert json input to pretty printed output
projections
topojson projections and extensions
states
This is the same data set from the ggplot2 library
topojson_read
Read topojson from a local file or a URL
us_cities
This is the same data set from the maps library, named...
validate
Validate a geoJSON file, json object, list, or Spatial class.

Files in this package

geojsonio
geojsonio/inst
geojsonio/inst/examples
geojsonio/inst/examples/us_states.topojson
geojsonio/inst/examples/zillow_or.geojson
geojsonio/inst/examples/norway_maple.kml
geojsonio/inst/examples/feature_collection.geojson
geojsonio/inst/examples/bison.zip
geojsonio/inst/examples/poa_annua.kml
geojsonio/inst/examples/california.geojson
geojsonio/inst/img
geojsonio/inst/img/unnamed-chunk-17-1.png
geojsonio/inst/img/unnamed-chunk-16-1.png
geojsonio/inst/img/unnamed-chunk-14-1.png
geojsonio/inst/img/unnamed-chunk-12-1.png
geojsonio/inst/img/unnamed-chunk-11-1.png
geojsonio/inst/img/unnamed-chunk-15-1.png
geojsonio/inst/img/unnamed-chunk-18-1.png
geojsonio/inst/img/readme1.png
geojsonio/inst/img/unnamed-chunk-20-1.png
geojsonio/inst/ignore
geojsonio/inst/ignore/test-geojson_style.R
geojsonio/inst/ignore/geobuf.R
geojsonio/inst/ignore/postgis.R
geojsonio/inst/ignore/topojson_write.r
geojsonio/inst/ignore/map.R
geojsonio/inst/ignore/turf_play.R
geojsonio/inst/ignore/topojson_v8.R
geojsonio/inst/ignore/postgis_code.R
geojsonio/inst/ignore/postgis-play.R
geojsonio/inst/doc
geojsonio/inst/doc/geojson_spec.html
geojsonio/inst/doc/geojson_spec.Rmd
geojsonio/inst/doc/maps.Rmd
geojsonio/inst/doc/geojsonio_vignette.html
geojsonio/inst/doc/maps.html
geojsonio/inst/doc/geojsonio_vignette.Rmd
geojsonio/inst/js
geojsonio/inst/js/turf_extent.js
geojsonio/inst/js/geojsonhint.js
geojsonio/inst/vign
geojsonio/inst/vign/maps.md
geojsonio/inst/vign/geojson_spec.Rmd
geojsonio/inst/vign/maps.Rmd
geojsonio/inst/vign/figure
geojsonio/inst/vign/figure/maps_sppixels.png
geojsonio/inst/vign/figure/unnamed-chunk-17-1.png
geojsonio/inst/vign/figure/map_leaf1.png
geojsonio/inst/vign/figure/leafletmap2.png
geojsonio/inst/vign/figure/maps_sppts.png
geojsonio/inst/vign/figure/maps_dataframe.png
geojsonio/inst/vign/figure/map_leaf2.png
geojsonio/inst/vign/figure/leafletmap1.png
geojsonio/inst/vign/geojsonio_vignette.md
geojsonio/inst/vign/geojsonio_vignette.Rmd
geojsonio/inst/vign/geojson_spec.md
geojsonio/tests
geojsonio/tests/testthat
geojsonio/tests/testthat/test-projections.R
geojsonio/tests/testthat/test-construction.R
geojsonio/tests/testthat/test-centroid.R
geojsonio/tests/testthat/test-geojson_sp.R
geojsonio/tests/testthat/test-geojson_json.R
geojsonio/tests/testthat/test-bounds.R
geojsonio/tests/testthat/test-spatial_methods.R
geojsonio/tests/testthat/test-as.json.R
geojsonio/tests/testthat/us_citites_two_row.rds
geojsonio/tests/testthat/test-validate.R
geojsonio/tests/testthat/test-rbind_fill.R
geojsonio/tests/testthat/test-map_gist.R
geojsonio/tests/testthat/test-onload.R
geojsonio/tests/testthat/numericstates_list.rds
geojsonio/tests/testthat/helper-geojsonio.R
geojsonio/tests/testthat/us_cities.rds
geojsonio/tests/testthat/test-geojson_list.R
geojsonio/tests/testthat/test-pretty.R
geojsonio/tests/testthat/test-geojson_write.R
geojsonio/tests/testthat/numericstates.rds
geojsonio/tests/testthat/test-mapleaflet.R
geojsonio/tests/testthat/test-file_to_geojson.R
geojsonio/tests/testthat/test-lint.R
geojsonio/tests/testthat/test-geojson_read.R
geojsonio/tests/testthat/test-as.location.R
geojsonio/tests/test-all.R
geojsonio/NAMESPACE
geojsonio/NEWS.md
geojsonio/data
geojsonio/data/states.rda
geojsonio/data/us_cities.rda
geojsonio/data/canada_cities.rda
geojsonio/R
geojsonio/R/mapgist.R
geojsonio/R/geojson_json.R
geojsonio/R/globals.r
geojsonio/R/geojson_read.R
geojsonio/R/geojson_write.r
geojsonio/R/onLoad.R
geojsonio/R/geojsonio-package.r
geojsonio/R/geojson_list.R
geojsonio/R/mapleaflet.R
geojsonio/R/pipe.R
geojsonio/R/geojson_sp.R
geojsonio/R/topojson_read.R
geojsonio/R/as.location.R
geojsonio/R/geojson_style.R
geojsonio/R/construction.R
geojsonio/R/pretty.R
geojsonio/R/file_to_geojson.r
geojsonio/R/projections.r
geojsonio/R/as_spatial_methods.R
geojsonio/R/bounds.R
geojsonio/R/zzz.r
geojsonio/R/centroid.R
geojsonio/R/as.json.R
geojsonio/R/validate.R
geojsonio/R/rbindfill.R
geojsonio/R/lint.R
geojsonio/vignettes
geojsonio/vignettes/geojson_spec.Rmd
geojsonio/vignettes/maps.Rmd
geojsonio/vignettes/geojsonio_vignette.Rmd
geojsonio/README.md
geojsonio/MD5
geojsonio/build
geojsonio/build/vignette.rds
geojsonio/DESCRIPTION
geojsonio/man
geojsonio/man/states.Rd
geojsonio/man/pipe.Rd
geojsonio/man/geojson_style.Rd
geojsonio/man/file_to_geojson.Rd
geojsonio/man/geojson_list.Rd
geojsonio/man/canada_cities.Rd
geojsonio/man/validate.Rd
geojsonio/man/geojson_sp.Rd
geojsonio/man/as.json.Rd
geojsonio/man/bounds.Rd
geojsonio/man/projections.Rd
geojsonio/man/geojson_read.Rd
geojsonio/man/us_cities.Rd
geojsonio/man/geojson-add.Rd
geojsonio/man/geojsonio-deprecated.Rd
geojsonio/man/as.location.Rd
geojsonio/man/lint.Rd
geojsonio/man/map_leaf.Rd
geojsonio/man/geojsonio.Rd
geojsonio/man/map_gist.Rd
geojsonio/man/topojson_read.Rd
geojsonio/man/geojson_json.Rd
geojsonio/man/geojson_write.Rd
geojsonio/man/pretty.Rd
geojsonio/man/centroid.Rd
geojsonio/LICENSE