Set values to points

215
2
08-31-2011 05:49 AM
Filoche
New Contributor
Hi everyone.

I have a set of points that I would like to assign a value based on a mask. I made a layer for each region and based on those masks, I would like to assign a specific value.

For example, in that following image:

http://imageshack.us/photo/my-images/194/831201194323am.jpg

I would like to assign a value of 1 to all points that belong to the orange mask, 0.85 to those on blue mask, etc.

Any help would be greatly appreciated.

With regards,
Phil
Tags (2)
0 Kudos
2 Replies
JonWebb
New Contributor
If the mask is a shp file or featureclass you could do this with a Spatial Join
0 Kudos
MarkBoucher
Regular Contributor II
You could also created a field in your polygon feature class (FC) with the value you want. Then perform an intersect between the point FC and the polygon FC. The resulting point FC will have the attributes of both. If you want this value back in your original point FC, then join the intersected FC with point feature class using a unique identifier (e.g. ID) and use the field calculator to make the value in the original FC equal to the value, then unjoin the FCs.

The spatial join would be simpler, but you still need to do the final step if you want to unjoin the FCs.
0 Kudos