Hydrography-driven coarsening of grid digital elevation models