0

I am trying to calculate the total length of roads within polygons using QGIS 2.18.15

The roads had no length field so I added one, but it came back as either text or 64-bit.

This means I can't use either the "sum line lengths" tool under 'processing tools' or the 'groups stats' vector tools plug-in.

I have tried converting using to_real, to_int, and both in sequence.... but it still remains a field I can't use for anything.

  • What's wrong with 64 bit numbers? – bugmenot123 Jul 10 '18 at 8:33
  • You can change field type by the methods provided here: gis.stackexchange.com/a/288990/81764 – csk Jul 10 '18 at 15:58
  • How did you add the length field? Usually when you create a field you can set the field type as decimal. – csk Jul 10 '18 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.