0

Us it possible to update newly made string type field (column) with a path to a file on a local drive by using "field calculator".

I tried with first defining type of field as "String" then opening "Field Calculator" and pasting the path for all the features, in the attribute. Instead of getting "normal" path, I get path with a number of question marks. And this doesn't work of course.

Is there perhaps a way around this?

5
  • Did you remember to use single parenthesis' (')?
    – Erik
    Commented Feb 8, 2022 at 11:57
  • used, but nothing Commented Feb 8, 2022 at 13:06
  • 1
    Please provide input and ouput examples.
    – Erik
    Commented Feb 8, 2022 at 13:16
  • which operating system are you on? if it's windows either use / or \\
    – Ian Turton
    Commented Feb 8, 2022 at 14:41
  • In Field calculator I use like this 'C:\Users\mirmar\Desktop\...' and get something like C:?sers?irmar?esktop?.... after FC has been used Commented Feb 8, 2022 at 14:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.