Skip to main content
removed intro and thanks
Source Link
Vince
  • 20.5k
  • 16
  • 49
  • 65

It's my first post here. I appreciate the enormous help this site provides.

In QGIS, I'm trying to create a new variable with a short description of a string value of another variable. For example, in the table below, I would like to have:

NAMEABB = "US 1" when NAME = "US Route 1";

NAMEABB = "I-5" when NAME = "Interstate Route 5";

NAMEABB = "SR 539" when NAME = "State Route 539".

enter image description here

I've tried extracting the numbers with regular expressions (building upon this post), but I get always NULL. Any hints or comments are welcomed!

Thank you.?

It's my first post here. I appreciate the enormous help this site provides.

In QGIS, I'm trying to create a new variable with a short description of a string value of another variable. For example, in the table below, I would like to have:

NAMEABB = "US 1" when NAME = "US Route 1";

NAMEABB = "I-5" when NAME = "Interstate Route 5";

NAMEABB = "SR 539" when NAME = "State Route 539".

enter image description here

I've tried extracting the numbers with regular expressions (building upon this post), but I get always NULL. Any hints or comments are welcomed!

Thank you.

In QGIS, I'm trying to create a new variable with a short description of a string value of another variable. For example, in the table below, I would like to have:

NAMEABB = "US 1" when NAME = "US Route 1";

NAMEABB = "I-5" when NAME = "Interstate Route 5";

NAMEABB = "SR 539" when NAME = "State Route 539".

enter image description here

I've tried extracting the numbers with regular expressions (building upon this post), but I get always NULL. Any hints?

deleted 2 characters in body
Source Link

It's my first post here. I appreciate the enormous help this site provides.

In QGIS, I'm trying to create a new variable with a short description of a string value of another variable. For example, in the table below, I would like to have:

NAMEABB = "US 1" when NAME = "US Route 1";

NAMEABB = "I-5" when NAME = "Interstate Route 5";

NAMEABB = "SR 539" when NAME = "State Route 539".

enter image description hereenter image description here

I've tried extracting the numbers with regular expressions (building upon this post), but I get always NULL. Any hints or comments are welcomed!

Thank you.

It's my first post here. I appreciate the enormous help this site provides.

In QGIS, I'm trying to create a new variable with a short description of a string value of another variable. For example, in the table below, I would like to have:

NAMEABB = "US 1" when NAME = "US Route 1";

NAMEABB = "I-5" when NAME = "Interstate Route 5";

NAMEABB = "SR 539" when NAME = "State Route 539".

enter image description here

I've tried extracting the numbers with regular expressions (building upon this post), but I get always NULL. Any hints or comments are welcomed!

Thank you.

It's my first post here. I appreciate the enormous help this site provides.

In QGIS, I'm trying to create a new variable with a short description of a string value of another variable. For example, in the table below, I would like to have:

NAMEABB = "US 1" when NAME = "US Route 1";

NAMEABB = "I-5" when NAME = "Interstate Route 5";

NAMEABB = "SR 539" when NAME = "State Route 539".

enter image description here

I've tried extracting the numbers with regular expressions (building upon this post), but I get always NULL. Any hints or comments are welcomed!

Thank you.

added 9 characters in body
Source Link
Loading
Source Link
Loading