Robustness increase

Increased the robustness when obtaining data from WebGIS.