![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include "feature/featuretypes.h"#include <ogr_core.h>#include <QCoreApplication>#include <QJsonArray>#include <QJsonValue>#include <QSet>Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::feature |
Functions | |
| QString | openswmmvis::feature::fieldTypeLabel (FieldType t) |
| QString | openswmmvis::feature::fieldTypeToken (FieldType t) |
| FieldType | openswmmvis::feature::fieldTypeFromToken (const QString &token) |
| int | openswmmvis::feature::ogrFieldTypeFor (FieldType t) |
| QVariant | openswmmvis::feature::coerceToFieldType (const QVariant &v, FieldType t) |
| QString | openswmmvis::feature::sanitizeFieldName (const QString &raw) |
Make raw safe as an OGR/GeoPackage column name: ASCII letters, digits and underscore, never starting with a digit, at most 63 characters, never one of the reserved names ("fid", "geom"). | |
| QString | openswmmvis::feature::sanitizeTableName (const QString &raw) |
Make raw safe as a GeoPackage table name, on the same rules as sanitizeFieldName plus a "fl_" prefix when raw would otherwise start with a digit. | |