Tidal networks 1. Automatic network extraction and preliminary scaling features from digital terrain maps