Councils grapple with urban sprawl