Robustness of geometric networks