UMR-PASSAGES / DissolveWithStats

QGIS plugin to dissolve geometries and calculate statistics on attributes in the process
6 stars 5 forks source link

Numeric functions are not available when using postgis data #4

Closed DelazJ closed 9 years ago

DelazJ commented 9 years ago

When using postgis data, same functions are provided for all fields (numeric or not): count, first, last. This is related to the use of QgsField.typename as typename is provided by the data provider and "Integer" or "Real" aren't values used by postgres. Better use QgsField.type I think.