Skip to content

Commit 81d4254

Browse files
committed
More verbose comments to linear reference functions
1 parent c509e43 commit 81d4254

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/analysis/vector/qgsgeometryanalyzer.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ class ANALYSIS_EXPORT QgsGeometryAnalyzer
100100
bool dissolve( QgsVectorLayer* layer, const QString& shapefileName, bool onlySelectedFeatures = false,
101101
int uniqueIdField = -1, QProgressDialog* p = 0 );
102102

103-
/**Creates an event layer (multipoint or multiline). Note that currently (until QgsGeometry supports m-values) the z-coordinate of the line layer is used for linear referencing
103+
/**Creates an event layer (multipoint or multiline) by locating features from a (non-spatial) event table along the features of a line layer.
104+
Note that currently (until QgsGeometry supports m-values) the z-coordinate of the line layer is used for linear referencing
104105
@param lineLayer layer with the line geometry
105106
@param eventLayer layer with features and location field
106107
@param lineField join index in line layer
@@ -111,9 +112,10 @@ class ANALYSIS_EXPORT QgsGeometryAnalyzer
111112
bool eventLayer( QgsVectorLayer* lineLayer, QgsVectorLayer* eventLayer, int lineField, int eventField, const QString& outputLayer,
112113
const QString& outputFormat, int locationField1, int locationField2 = -1, QgsVectorDataProvider* memoryProvider = 0, QProgressDialog* p = 0 );
113114

114-
/**Returns multilinestring*/
115+
/**Returns linear reference geometry as a multiline (or 0 if no match). Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)*/
115116
QgsGeometry* locateBetweenMeasures( double fromMeasure, double toMeasure, QgsGeometry* lineGeom );
116-
/**Returns multipoint*/
117+
/**Returns linear reference geometry. Unlike the PostGIS function, this method always returns multipoint or 0 if no match (not geometry collection).
118+
Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)*/
117119
QgsGeometry* locateAlongMeasure( double measure, QgsGeometry* lineGeom );
118120

119121
private:

0 commit comments

Comments
 (0)