![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Reads a GeoPackage file into a SimulationContext (all SWMM input sections). More...
#include "GeoPackageReader.hpp"#include "GpkgUtils.hpp"#include "GpkgGeometry.hpp"#include "core/SimulationContext.hpp"#include "data/NodeData.hpp"#include "data/LinkData.hpp"#include "data/SubcatchData.hpp"#include "data/GageData.hpp"#include "data/TableData.hpp"#include "data/PollutantData.hpp"#include "data/InflowData.hpp"#include "data/HydrologyData.hpp"#include "core/DateTime.hpp"#include <algorithm>#include <array>#include <cstdio>#include <sstream>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::gpkg |
Functions | |
| int | openswmm::gpkg::read_model (sqlite3 *db, SimulationContext &ctx, const std::string &simulation_id) |
| Read a model definition from a GeoPackage into a SimulationContext. | |
| int | openswmm::gpkg::read_from_file (const std::string &path, SimulationContext &ctx, const std::string &simulation_id) |
| Convenience: open a GeoPackage file and read a model. | |
Reads a GeoPackage file into a SimulationContext (all SWMM input sections).