If you are looking to subsample your data by extracting a set number of records (i.e., every sixth record), use the script below in the field calculator of ArcMap 10.
Pre-Logic Script Code:
P=[ID]
i=Int(p/6)-Int((p-1)/6)
[name of field]=
i
The example above will extract every sixth record.
No comments:
Post a Comment