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

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>
Include dependency graph for GeoPackageReader.cpp:

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.
 

Detailed Description

Reads a GeoPackage file into a SimulationContext (all SWMM input sections).