We investigate the properties of photonic band gap structures of finite size and arbitrary geometry using the density of states deduced from scattering calculations. We first demonstrate this procedure on a finite 2D array of cylinders and then study at optical frequencies a system formed by a finite array of finite height cylinders positioned on a substrate and illuminated with an evanescent field.