SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
importplanning.h File Reference
#include "ui/dialogs/import/importmapping.h"
#include "ui/dialogs/import/importplan.h"
#include <QHash>
#include <QPointF>
#include <QVariant>
#include <QVariantMap>
#include <QVector>
Include dependency graph for importplanning.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::import::SourceFeature
 
struct  openswmmvis::import::ModelSnapshot
 
struct  openswmmvis::import::ModelSnapshot::LinkGeom
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::import
 

Functions

QVariant openswmmvis::import::coerceValue (const QVariant &raw, const TargetAttribute &attr, bool *ok, QString *errorOut=nullptr)
 
ImportPlan openswmmvis::import::buildImportPlan (const ImportMapping &mapping, const ModelSnapshot &snapshot, const QVector< SourceFeature > &features)
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

FEATURE_LAYER_TO_SWMM_IMPORT — the pure planning core. Consumes plain-data source features (already read from OGR and transformed into the model-layer CRS by FeatureLayerImporter) plus a snapshot of the existing model, and produces the dry-run ImportPlan.

Deliberately Qt-Core-only (no GDAL, engine, or widget includes) so the endpoint-resolution / conflict / coercion matrix is unit-testable with the lightweight add_swmmvis_unit_test harness.