mach0 / qchainage

Chainage Plugin for QGIS
GNU General Public License v3.0
19 stars 18 forks source link

Qchainage Field Type Int #10

Closed jorgealmerio closed 8 years ago

jorgealmerio commented 8 years ago

The distance is beeing stored in a Integer field, so When I save it to a shapefile, I got truncated numbers.

Solution: Replace the line 156 of chainagetool.py below: QgsField("cng("+unit+")", QVariant.Int)]) by QgsField("cng("+unit+")", QVariant.Double)])