Widget-free writer behind the layer tree's Export entries (workplans/FEATURE_LAYER_ROLES_AND_FIELDS_PLAN_2026-09-30.md §8.5, R8).
More...
#include "io/vectorexport.h"
#include "io/gdaldrivers.h"
#include <cpl_conv.h>
#include <cpl_error.h>
#include <gdal_priv.h>
#include <gdal_utils.h>
#include <ogr_feature.h>
#include <ogr_geometry.h>
#include <ogr_spatialref.h>
#include <ogrsf_frmts.h>
#include <QCoreApplication>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QSet>
#include <QTextStream>
#include <memory>
#include <string>
#include <vector>
|
| QStringList | openswmmvis::io::shortFieldNames (const QStringList &names, int maxLen=10) |
| | Shapefile field names: at most maxLen characters and unique (case-insensitively), in order. "invertElev" stays; "surchargeDepth" becomes "surchargeD", a second one "surcharg_1".
|
| |
| QString | openswmmvis::io::exportPathFor (const ExportOptions &options, const QString &tableName) |
| | Compute a table output path using the curated format metadata.
|
| |
| bool | openswmmvis::io::exportVectorTables (const QVector< ExportTable > &tables, const ExportOptions &options, const ExportProgress &progress, ExportReport *report) |
| | Write tables to options.destination.
|
| |
| bool | openswmmvis::io::exportVectorLayer (const VectorLayerSource &source, const ExportOptions &options, const ExportProgress &progress, ExportReport *report) |
| | Translate source into options.destination, reprojecting when options.targetSrsWkt is set. Same cancel and cleanup contract.
|
| |
| bool | openswmmvis::io::exportRaster (const QString &sourcePath, const QString &destination, const QString &targetSrsWkt, const ExportProgress &progress, ExportReport *report) |
| | Write raster sourcePath to GeoTIFF destination, warped to targetSrsWkt when it is set (plan Q10). Same contract.
|
| |
Widget-free writer behind the layer tree's Export entries (workplans/FEATURE_LAYER_ROLES_AND_FIELDS_PLAN_2026-09-30.md §8.5, R8).
- Author
- Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
- Date
- 2026
- License
- GPL-3.0-or-later
- Copyright
- Copyright (c) 2026 Caleb Buahin. All rights reserved.
◆ base
◆ cancelled
◆ progress
| const ExportProgress* progress = nullptr |
◆ span
◆ total
◆ what