node package manager

geojson2dsv

Build Status Coverage Status Greenkeeper badge

geojson2dsv

The reverse of csv2geojson: shuttle GeoJSON points into CSV encoding.

Currently points only.

api

csvString = geojson2dsv(geojsonObject)

Given a valid GeoJSON object, return a CSV composed of all decodable points.

see also

  • geojson2csv also does this, but has file-assumptions and does dsv encoding in-house instead of farming it out to mbostock/dsv