Select to view content in your preferred language

Calculate Field

2139
3
10-13-2015 05:43 AM
JenTaylor1
Deactivated User

I am trying to get the count of forest cover that is greater than 200 feet along a line. I am wondering if there is a way to do this with the calculate field in data management and if so how. Thank you in advance for any help!

0 Kudos
3 Replies
TimWitt2
MVP Alum

Jen,

use "Select by Attribute" and use an expression like this:

Searching numbers

You can query numbers using the equal (=), not equal (<>), greater than (>), less than (<), greater than or equal (>=), less than or equal (<=), and BETWEEN operators.

For example

"FORESTCOVER" > 200
0 Kudos
JenTaylor1
Deactivated User

That would work but I have to get a count for different segments of the line. I thought there was an easy way to even do this in excel.

0 Kudos
TimWitt2
MVP Alum

I think we need more information. Is the line feature the only feature in your scenario? Or is the forest a polygon and then there is a line feature?

If it is just a forest line segment, after you run my query you can open the attribute table and see in the bottom left, how many segments have been select, this would be your count.