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
featurelayer.cpp File Reference
#include "layers/featurelayer.h"
#include "layers/gisrasterlayer.h"
#include "layers/swmm2dmeshlayer.h"
#include "map/mapcanvas.h"
#include "map/spatialreferencesystem.h"
#include <gdal_priv.h>
#include <ogrsf_frmts.h>
#include <QCoreApplication>
#include <QFileInfo>
#include <QJsonObject>
#include <QLoggingCategory>
#include <cmath>
#include <limits>
Include dependency graph for featurelayer.cpp:

Functions

QString featureLayerRoleLabel (FeatureLayerRole r)
 
QString featureLayerRoleToken (FeatureLayerRole r)
 
FeatureLayerRole featureLayerRoleFromToken (const QString &token)
 
GeometryType featureLayerRoleGeometry (FeatureLayerRole r)
 The geometry type a role implies, for the New-layer dialog's default. GeometryType::None when the role does not imply one.
 
Schema featureLayerRoleTemplate (FeatureLayerRole r)
 The fields a newly created layer of role r starts with.
 

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

Function Documentation

◆ featureLayerRoleFromToken()

FeatureLayerRole featureLayerRoleFromToken ( const QString &  token)
Here is the caller graph for this function:

◆ featureLayerRoleGeometry()

GeometryType featureLayerRoleGeometry ( FeatureLayerRole  r)

The geometry type a role implies, for the New-layer dialog's default. GeometryType::None when the role does not imply one.

◆ featureLayerRoleLabel()

QString featureLayerRoleLabel ( FeatureLayerRole  r)
Here is the caller graph for this function:

◆ featureLayerRoleTemplate()

Schema featureLayerRoleTemplate ( FeatureLayerRole  r)

The fields a newly created layer of role r starts with.

◆ featureLayerRoleToken()

QString featureLayerRoleToken ( FeatureLayerRole  r)
Here is the caller graph for this function: