File: qgsinterpolator.py

package info (click to toggle)
qgis 3.40.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,183,672 kB
  • sloc: cpp: 1,595,771; python: 372,544; xml: 23,474; sh: 3,761; perl: 3,664; ansic: 2,257; sql: 2,137; yacc: 1,068; lex: 577; javascript: 540; lisp: 411; makefile: 161
file content (27 lines) | stat: -rw-r--r-- 1,855 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# The following has been generated automatically from src/analysis/interpolation/qgsinterpolator.h
QgsInterpolator.SourcePoints = QgsInterpolator.SourceType.SourcePoints
QgsInterpolator.SourceStructureLines = QgsInterpolator.SourceType.SourceStructureLines
QgsInterpolator.SourceBreakLines = QgsInterpolator.SourceType.SourceBreakLines
QgsInterpolator.ValueAttribute = QgsInterpolator.ValueSource.ValueAttribute
QgsInterpolator.ValueZ = QgsInterpolator.ValueSource.ValueZ
QgsInterpolator.ValueM = QgsInterpolator.ValueSource.ValueM
QgsInterpolator.Success = QgsInterpolator.Result.Success
QgsInterpolator.Canceled = QgsInterpolator.Result.Canceled
QgsInterpolator.InvalidSource = QgsInterpolator.Result.InvalidSource
QgsInterpolator.FeatureGeometryError = QgsInterpolator.Result.FeatureGeometryError
try:
    QgsInterpolatorVertexData.__attribute_docs__ = {'x': 'X-coordinate', 'y': 'Y-coordinate', 'z': 'Z-coordinate'}
    QgsInterpolatorVertexData.__doc__ = """Interpolation data for an individual source vertex."""
    QgsInterpolatorVertexData.__group__ = ['interpolation']
except (NameError, AttributeError):
    pass
try:
    QgsInterpolator.LayerData.__attribute_docs__ = {'source': 'Feature source', 'valueSource': 'Source for feature values to interpolate', 'interpolationAttribute': 'Index of feature attribute to use for interpolation', 'sourceType': 'Source type', 'transformContext': 'Coordinate transform context.\n\n.. versionadded:: 3.10.1'}
    QgsInterpolator.LayerData.__doc__ = """A source together with the information about interpolation attribute / z-coordinate interpolation and the type (point, structure line, breakline)"""
    QgsInterpolator.LayerData.__group__ = ['interpolation']
except (NameError, AttributeError):
    pass
try:
    QgsInterpolator.__group__ = ['interpolation']
except (NameError, AttributeError):
    pass