function collection related to hydrology, zooming and shapefiles