The reverse of csv2geojson: shuttle GeoJSON points into CSV encoding.
Given a valid GeoJSON object, return a CSV composed of all decodable points.
Parameters
geojsonObject any GeoJSON objectdelimstring CSV or DSV delimiter: by default, ","mixedGeometryboolean? serialize just the properties of non-Point features. (optional, defaultfalse)
Examples
var csvString = geojson2dsv(geojsonObject)- geojson2csv also does this, but has file-assumptions and does dsv encoding in-house instead of farming it out to mbostock/dsv