Automatic isobath generalisation for navigational charts