Skip to main content
Post Closed as "Needs more focus" by PolyGeo
deleted 137 characters in body; edited title
Source Link
PolyGeo
  • 65.5k
  • 29
  • 115
  • 353

How to add Adding attribute data up?

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ? Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province.

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? 

From the manual that I read to learn GIS, this can be done but is not recommended (by the guysthose who wrote the manual) - does.

Does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

How to add attribute data up?

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province.

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Adding attribute data up

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province.

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? 

From the manual that I read to learn GIS, this can be done but is not recommended (by those who wrote the manual).

Does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province.

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

"Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'"

Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Thank you so much for your time.

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province.

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

"Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'"

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Thank you so much for your time.

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province.

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Tweeted twitter.com/#!/StackGIS/status/211994729498411008
deleted 14 characters in body; edited tags
Source Link
underdark
  • 85k
  • 22
  • 238
  • 419

Adding Attribute How to add attribute data within QGIS (or information on other programs that can be used)up?

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can. My question is basically - is there a way to add data from 2 columns into one new column inside the QGIS program?Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province. 

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of Catt Pop + Buff Pop

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

"Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'"

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Thank you so much for your time.

Adding Attribute data within QGIS (or information on other programs that can be used)

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can. My question is basically - is there a way to add data from 2 columns into one new column inside the QGIS program? I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province. I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of Catt Pop + Buff Pop with a new output field as Real number data, but I get error messages such as:

"Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'"

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Thank you so much for your time.

How to add attribute data up?

Sorry if this question is too simple/easy for you guys, but I'm still learning QGIS and pretty much teaching myself where I can.

Is there a way to add data from 2 columns into one new column inside QGIS ?

I have cattle population for each province in a certain country, and buffalo populations for each province in another column (I entered all these manually) - what I'm looking to do is to make a new column (within the same shapefile/database) that combines both cattle and buffalo populations in each province. 

I've tried using the field calculator, get error messages all the time - not sure if I have my functions wrong. With the field calculator, I've been trying to enter a simple function of

Catt Pop + Buff Pop 

with a new output field as Real number data, but I get error messages such as:

"Invalid expression syntax. The error message of the parser is: 'syntax error, unexpected COLUMN_REF, expecting $end'"

Secondly - if I can't do this in QGIS, is the only way to open the relevant dbf file in open office and then edit it and then save and load again? From the manual that I read to learn GIS, this can be done but is not recommended (by the guys who wrote the manual) - does anyone have any links to any foolproof guides on how to do this anyway since I've never done it?

Thank you so much for your time.

edited tags
Link
nhopton
  • 7.1k
  • 1
  • 22
  • 37
Loading
edited body; edited title
Source Link
underdark
  • 85k
  • 22
  • 238
  • 419
Loading
added 299 characters in body
Source Link
KkBkk
  • 115
  • 1
  • 7
Loading
Source Link
KkBkk
  • 115
  • 1
  • 7
Loading