OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
GeoPackageWriter.hpp File Reference

Writes a SimulationContext to a GeoPackage file (model input tables). More...

#include <string>
Include dependency graph for GeoPackageWriter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::gpkg
 

Functions

void openswmm::gpkg::write_model (sqlite3 *db, const SimulationContext &ctx, const std::string &simulation_id, int srs_id=0)
 Write the full model definition from a SimulationContext into a GeoPackage.
 
int openswmm::gpkg::write_to_file (const std::string &path, const SimulationContext &ctx, const std::string &simulation_id)
 Convenience: create a new GeoPackage file, write schema + model.
 

Detailed Description

Writes a SimulationContext to a GeoPackage file (model input tables).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License