polaris.mesh.spherical.unified.river.geojson.write_geojson

polaris.mesh.spherical.unified.river.geojson.write_geojson(feature_collection, filename)[source]

Write a GeoJSON feature collection.

Parameters:
  • feature_collection (dict) – The GeoJSON feature collection as a dictionary

  • filename (str) – The path to the output GeoJSON file