Function topojson::to_geojson[][src]

pub fn to_geojson(
    topo: &Topology,
    key: &str
) -> Result<FeatureCollection, Error>

Convert a TopoJSON Topology object to a GeoJSON Feature collection.

(in a similar way than topojson.feature function or topo2geo CLI tool)