Measuring the transition to homogeneity with photometric redshift surveys