A Superior Court judge has ruled that the city of Los Angeles must conduct additional traffic analysis before a proposed warehouse and office development can move forward on South Los Angeles land that had been used as an urban farm.

The ruling comes as part of a lawsuit against the city by urban farmers and the South Central Farmers Restoration Committee, which held that the project to build four buildings on the Alameda Street land was in violation of the state Environmental Quality Act, the Los Angeles Times reported Aug. 9.

“It brings us back to the table,’’ committee member Alberto Tlatoa told The Times, which reported that farmers were ordered off the property more than 10 years ago. “We’re still committed to this issue because South Central needs urban farms.’’

A spokesman for City Attorney Mike Feuer told The Times that the city expects to prevail, eventually.

“Today the city prevailed on all but one ground and we believe we can easily comply with the court’s direction on the one remaining issue,’’ Rob Wilcox told the newspaper in an email.

The landowner, PIMA Alameda Partners, received approval last year to build an industrial park at the site, according to The Times.