Applications of geostatistics to settlement problems