A software approach to spatial predictions of natural hazards and consequent risks