1 #ifndef QGSTRANSECTSAMPLE_H
2 #define QGSTRANSECTSAMPLE_H
13 class QProgressDialog;
27 DistanceUnits minDistUnits,
QgsVectorLayer* baselineLayer,
bool shareBaseline,
28 QString baselineStrataId,
const QString& outputPointLayer,
const QString& outputLineLayer,
const QString& usedBaselineLayer,
double minTransectLength = 0.0 );
31 int createSample( QProgressDialog* pd );
36 QgsGeometry* findBaselineGeometry( QVariant strataId );
39 static bool otherTransectWithinDistance(
QgsGeometry* geom,
double minDistLayerUnit,
double minDistance,
QgsSpatialIndex& sIndex,
const QMap< QgsFeatureId, QgsGeometry* >&
43 QString mStrataIdAttribute;
44 QString mMinDistanceAttribute;
45 QString mNPointsAttribute;
49 QString mBaselineStrataId;
51 QString mOutputPointLayer;
52 QString mOutputLineLayer;
53 QString mUsedBaselineLayer;
55 DistanceUnits mMinDistanceUnits;
57 double mMinTransectLength;
77 #endif // QGSTRANSECTSAMPLE_H