Travellers who set up camp on playing fields in Mirfield over a week ago are set to be evicted on Monday.
Around a dozen caravans pulled into the Old Bank Recreation Ground in Old Bank Road on Thursday of last week.
Residents say they saw men smashing a padlock on the gate to force entry to the field.
Since then residents whose homes surround the fields have watched the illegal camp grow as more travellers have arrived.
At the end of this week a horsebox was seen parked up and residents reported as many as 17 horses grazing around the field.
Travellers were also seen defecating in the fields in full view of residents.
It is understood that a local sports team which uses the fields had to cancel a friendly match planned for Sunday.
Kirklees Council went to Huddersfield County Court on Wednesday and was granted a possession order by a judge.
Court bailiffs have notified the travellers and they have been given until noon on Monday to move on.
The travellers are believed to have come from another illegal site in Liversedge and there were reports on social media that they were seen looking for other possible sites in Upper Hopton.
When the travellers first arrived at Old Bank Rec residents took pictures showing vehicle registration plates.
These vehicles were checked on a Government website and some were found to be untaxed or not insured.
Mirfield Tory councillor Martyn Bolt urged police to investigate and the West Yorkshire force said they had visited the site and any untaxed vehicles should be reported to the DVLA.
Kirklees Council leader Clr David Sheard has called for a change in the law. As it stood councils were often just chasing travellers from one illegal site to another at great cost to council taxpayers.
A council spokesman said: “The council was granted the possession order for the land at Huddersfield County Court on August 10.
“The court bailiffs have confirmed that the eviction will take place at 12noon on Monday, August 15. Arrangements are in place for the land to be cleared once the land has been vacated.”