Anderson transition in 1D systems with spatial disorder