erpas / rgis

RiverGIS is a QGIS plugin for creating HEC-RAS flow model geometry from spatial data. The functionality is similar to that of HEC-GeoRAS
http://rivergis.com
50 stars 14 forks source link

RiverCode, ReachCode check before SDF creation #10

Open erpas opened 8 years ago

erpas commented 8 years ago

HEC-RAS import tool doesn't accept reaches with identical river and reach code. If there are few reaches in the geometry and user did not specify unique codes for them, the SDF is created successfully but HEC-RAS won't get them because they all have None-None as river and reach code.

We should check the codes before creating SDF or, ideally, somewhat earlier, say at network topology creation. That would save as from troubles later.