Since the Thirteen Factories—the ghetto assigned to foreign traders n the 17th, 18th, and 19th centuries—was located in Guangzhou's western suburbs, the trip between the anchorage and the wharves at Jack-ass Point was about 16 miles .