The Optical redshift survey: Sample selection and the galaxy distribution