Topological charge on the lattice: A field theoretical view of the geometrical approach