Generation and generalization of safe depth-contours for hydrographc charts using a surface-based approach