GIS Functions and Spatial Models in Water Resources Management