Four 4-bolt chainrings the BCD is easy to measure, just measure the distance across two opposing bolts. For 5-bolt cranks it's not so straight forward so the usual method is to measure the distance between two adjacent bolts and look up a conversion chart such as Sheldon Brown's.