Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1170
RiverGIS Q&A - Recent questions Powered by Question2Answer BaldEagle Sample data - Extracting Mannings's n values for XC programming error <p>Dear friends,</p><p></p><p>I've tried to extract manning's n values for the cross-sections at my site of interest, however I was quite struggling with that. The RiverGis kept saying <em>ProgrammingError('function st_line_interpolate_point(geometry, numeric) does not exist\nLINE 39: ST_Line_Interpolate_Point(inter_xs_dump.geom, 0.0000...\n ^\nHINT: No function matches the given name and argument types. You might need to add explicit type casts.\n')</em></p><p><em>Process aborted!</em></p><p></p><p>Therefore I've tried the same process with BaldEagle sample data but the result is just the same! The same error occuts. I am getting helpless, does anybody faced the same problem? My input polygon layer has&nbsp;just the same features and structure as the one in sample data.&nbsp;</p><p></p><p>Thanks for any kind of help!</p><p>Regards</p><p>Peter</p> Thu, 24 Oct 2019 15:00:10 +0000 'NoneType' object has no attribute 'startswith' <p><span style="font-family:'Courier New'">I have a River model with some tributaries. After I added the XSCutLines I creasted manually I got this Error message while trying to create RAS GIS Import File:</span></p><p><span style="font-family:'Courier New'">", line 78, in unpack_wkt<br>&nbsp; &nbsp; if wkt.startswith('POINT'):<br>AttributeError: 'NoneType' object has no attribute 'startswith'</span></p><p><span style="font-family:'Courier New'">any ideas?</span></p> Mon, 09 Sep 2019 13:51:08 +0000 Null Reach Lengths and FromStation / ToStation values I am a new RiverGIS user and see that this question has come up in the past, but I do not see a comprehensive response.<br /> <br /> I have a river network with several tributaries. &nbsp;I have imported a stream center line from QGIS, and manually delineated some cross section lines (for a portion of the system). &nbsp;I have assigned RiverCode and ReachCode attributes to the center line feature.<br /> <br /> I am attempting to generate the StreamCenterlines and XSCutLines &nbsp;features through the RiverGIS &nbsp;topology build functions but the constructed Attribute Table for StreamCenterlines produces NULL Reach Lengths, FromStation and ToStation values for several of the reaches. &nbsp;&nbsp;<br /> <br /> The plan view topology shown in the map appears to be reasonable (flow arrows in correct directions, reaches labelled according to assigned Codes and nodes at all confluences and upstream limits).<br /> <br /> I am not clear as to whether the node numbering should follow any logical ordering (it does not appear to) and there is only one endpoint defined at the outlet of the system (although &nbsp;in previous attempts, I have seen endpoints generated at some upstream tributary limits as well).<br /> <br /> Can anyone suggest how I might find the cause of the Null Values in the stream centerline topology?<br /> <br /> thanks Sat, 17 Aug 2019 19:16:25 +0000 I am having problem while Calculating cross-sections distances to the next cross-section downstream. <p><strong><span style="color:#dc7d00">It shows the following error.&nbsp;</span></strong></p><p><span style="color:#dc7d00">2019-06-09T14:14:05 &nbsp;&nbsp;&nbsp; WARNING &nbsp;&nbsp;&nbsp;</span>Traceback (most recent call last):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; File "C:/Users/Shishir PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rivergis\", line 85, in<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.ui.actionRASXSDownstreamReachLengths.triggered.connect(lambda: r1d.ras1dXSDownstreamLengths(self))<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; File "C:/Users/Shishir PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rivergis\", line 105, in ras1dXSDownstreamLengths<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if row[0].lower() not in ['channel', 'right', 'left', 'c', 'l', 'r']:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AttributeError: 'NoneType' object has no attribute 'lower'</p> Sun, 09 Jun 2019 20:16:36 +0000 Other users out there in Portland, OR? I was wondering if there were any other rivergis users in the Portland, Oregon vicinity who would be interested in getting together? Wed, 10 Apr 2019 19:31:58 +0000 Trying to run RiverGIS 3.0 on QGIS 3.4 using pgAdmin4. Should I be using a different version? I am getting this error in RiverGIS:<br /> <br /> &quot;Couldn't connect to river database: bv mp3.5@localhost<br /> <br /> Please, check you database connection settings!&quot;<br /> <br /> I have a friend who uses pgAdmin4 regularly for work and he said that I have that part setup correctly.<br /> <br /> QGIS says that it is reading the database successfully. I tested this using &gt; Data Source Manager &gt; PostgreSQL &gt;Create a New PostGIS Connection&gt; Test Connection Mon, 25 Mar 2019 05:55:22 +0000 How do you move a RiverGIS database to a new computer I am pretty new to postGIS and all that, but I had a RiverGIS project set up and it set idle for a few months and now I have a new computer and want to pick up the project again. &nbsp;&nbsp;Does anyone know how you go about moving the database from one computer to another? &nbsp;&nbsp;I still have access to the old computer.<br /> <br /> Thanks Wed, 13 Mar 2019 16:53:39 +0000 Limit size of the 2D computational mesh <p>Hi,</p><p>I am trying to create a 2D computation model in RiverGis, however, I have issues in creating my 2D mesh. The total area of my DTM is 2.5x3.7 km<sup>2</sup> and I defined a computational cell size of 5x5m. My computer takes so long time in no responding. Someone knows&nbsp;if there is a limitation on the 2D mesh size?</p><p>Thank you,</p><p>Best regards,</p><p>Sara</p> Thu, 03 Jan 2019 19:27:21 +0000 Error 2D mesh generation <p>Hi,</p><p>I am trying to generate the 2D mesh for a model in HEC-RAS. I draw the 2D area and a breakline and I have the following&nbsp;error when I am trying to generate it:</p><p></p><p><strong><span style="color:#FF0000">Creating computational points for 2D flow areas</span></strong></p><p><strong><span style="color:#FF0000">Creating regular mesh points...</span></strong></p><p><strong><span style="color:#FF0000">InternalError('Operation on mixed SRID geometries\nCONTEXT: SQL function "makegrid" statement 1\n')</span></strong></p><p><strong><span style="color:#FF0000">Process aborted!</span></strong></p><p><strong><span style="color:#FF0000">DataError('Geometry SRID (4326) does not match column SRID (32651)\n')</span></strong></p><p><strong><span style="color:#FF0000">Process aborted!</span></strong></p><p><strong><span style="color:#FF0000">ProgrammingError('relation "jalaur3.BreakLines2d_m" does not exist\nLINE 6: "jalaur3"."BreakLines2d_m")\n ^\n')</span></strong></p><p><strong><span style="color:#FF0000">Process aborted!</span></strong></p><p><strong><span style="color:#FF0000">Creating mesh points along structures...</span></strong></p><p><strong><span style="color:#FF0000">ProgrammingError('relation "jalaur3.BreakLines2d_m" does not exist\nLINE 8: "jalaur3"."BreakLines2d_m" AS b,\n ^\n')</span></strong></p><p><strong><span style="color:#FF0000">Process aborted!</span></strong></p><p><strong><span style="color:#FF0000">ProgrammingError('relation "jalaur3.BreakLines2d_m" does not exist\nLINE 10: "jalaur3"."BreakLines2d_m";\n ^\n')</span></strong></p><p>Someone knows how to solve this issue?</p><p>Thank you,</p><p>Regards,</p><p>Sara</p> Thu, 20 Dec 2018 07:00:16 +0000 Error in 2D mesh generation <p>Hello,</p><p></p><p>When I pressed the bottom generation of 2D mesh points I have the following error:</p><p></p><p>Creating regular mesh points...</p><p><strong><span style="color:#FF0000">InternalError('Operation on mixed SRID geometries\nCONTEXT: SQL function "makegrid" statement 1\n')</span></strong></p><p><strong><span style="color:#FF0000">Process aborted!</span></strong></p><p></p><p>Do you know how to solve this problem?</p><p>Regards,</p><p>Sara</p> Wed, 19 Dec 2018 19:03:58 +0000 Hi! I'm novice. Can someone help me to install rivergis? I can't found this plugin in the official plugins repository. Wed, 21 Nov 2018 13:47:29 +0000 Mac compatibility? Can RiverGIS be used in Mac QGIS? I'm running QGIS 2.18 on macOS 10.13.6 (HighSierra). Wed, 14 Nov 2018 07:07:53 +0000 Could not editor and create PostGIS extensions <p><img alt="" src=""><span style="font-family:times new roman,times,serif"><span style="font-size:16px">What should I do in situation?&nbsp; I could not <span style="background-color:transparent; color:rgb(64, 64, 64)">editor and create </span>PostGIS<span style="background-color:transparent; color:rgb(64, 64, 64)"> extensions for the database.&nbsp;</span>Massage shown below.</span></span><br><img style="float:left" alt="" src=""></p><p></p><table style="height:769.08px; width:1660.26px"><tbody><tr><td style="vertical-align:top"><p><span style="font-size:16px"><span style="font-family:times new roman,times,serif">ERROR:&nbsp; could not open extension control file "C:/Program Files/PostgreSQL/10/share/extension/postgis.control": No such file or directory<br>SQL state: 58P01</span></span></p><p></p><p></p></td></tr></tbody></table> Thu, 11 Oct 2018 07:19:07 +0000 No elevation data extracted Everything is fine until I extract elevations (RAS Geometry --&gt; Elevations), then I get:<br /> <br /> DataError('step size cannot equal zero\n',)<br /> <br /> Process aborted!<br /> <br /> I made sure CRS is the same for all layers, no intersecting xscutlines, DTM raster (ASTER GDEM tif) selected under Options. Don't know what else to try. Help would be appreciated. Tue, 09 Oct 2018 10:47:22 +0000 Export elevations as feet instead of meters? USGS NED DEMs all present elevation in meters. This appears to cause problems in HEC-RAS when the rest of your project is in feet. It looks like all of the (expensive) alternatives to RiverGIS have an option for converting to feet as part of the creation of an export file. I'm not finding this in RiverGIS.<br /> <br /> You can work around the issue (once you realize it exists) by using:<br /> HEC_RAS -&gt; Edit -&gt; Geometric Data Editor -&gt; Htab Param. -&gt; (select) -&gt; Multiply Factor ...<br /> Select &quot;All Rivers&quot;, select the elevation column by clicking its label, and multiply by a factor of 3.280833.<br /> <br /> But since RiverGIS claims to make a file ready for import to HEC-RAS, maybe it could handle this task as well? As an option of course, in case someone really does have all the rest of their elevation data in meters... Fri, 13 Jul 2018 05:57:28 +0000 Złe genrowanie punktów przekroi <p>Witam</p><p>Chciałem zwrócić uwagę na błędne działanie narzędzia w pewnych sytuacjach co może prowadzić do zupełnie nieprzydatnych w modelowaniu hydraulicznym przekroi, szczególnie w małych ciekach.</p><p>1. W fazie pierwszej generowałem przekroje wprost z NMT. Narzędzie chyba domyślnie przyjmuje odległość punktów w przekroju 1m na sztywno licząc od lewej strony przekroju. Niestety jeśli przekroje idą po skosie do rastra o rozdzielczości 1m, co praktycznie jest codziennością, to długość wzdłuż linii na jednym rastrze jest większa niż 1m. Przy takim założeniu działania narzędzia mogą powstać dwa punkty na jednym rastrze, a nawet może ono zupełnie pominąć niektóre rastry - te których narożniki tylko znajdą się na linii. Przykład poniżej na rysunku, gdzie został pominięty raster o rzędnej 258.54.</p><p><img alt="" src=";qa_blobid=12397805124296719042" style="height:258px; width:600px"></p><p>W efekcie dostajemy przekrój o nierzeczywistych parametrach. Poniżej porównanie takiego przekroju oraz przekroju wykonanego za pomocą wtyczki do QGIS Profile Tool.</p><p><img alt="" src=";qa_blobid=9265971380094328046" style="height:252px; width:600px"></p><p></p><p>Czy nie należało by w związku z tym czegoś tutaj zmienić? Możliwość wyboru zagęszczenia punktów?</p><p></p><p>2. Druga sprawa. Dodawanie punktów pomiarowych do przekroju. W tym samym przekroju dodawano wybrane punkty pomiarowe. Zakres wybranych punktów określa poligon. Jak widać punkty są zmierzone szerzej niż przekrój ale nie wszystkie są potrzebne. Punkty czerwone to te same, które poprzednio wygenerował RiverGIS. Punkty żółte to pomiar geodezyjny. Poligon pozwala wybrać punkty które znajdują się tylko w jego obszarze. W efekcie powstały nowe punkty - kolor niebieski. Jak widać wszystkie punkty geodezyjne w obszarze poligonu zostały uwzględnione a pozostałe nie. Natomiast dlaczego zostały usunięte punkty z NMT w obrysowanym na czerwono obszarze i w efekcie początek przekroju przesunął się, a sam przekrój przez to skrócił się o 2.354m ? Efekt widoczny poniżej.</p><p><img alt="" src=";qa_blobid=4765159805385826271" style="height:293px; width:600px"></p><p></p><p><img alt="" src=";qa_blobid=16854627561382987047" style="height:252px; width:600px"></p><p>Pozdrawiam</p><p>A. Ś.</p> Tue, 10 Jul 2018 20:54:34 +0000 line_locate_point: 2st arg isn't a point\n - Again... <p>I'm so close (I think) to exporting a usable file, except I can't get the stationing into it:</p><blockquote><p>&nbsp;&nbsp; CROSS-SECTION:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STREAM ID:Forsythe Creek<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REACH ID:2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATION:None<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NODE NAME:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BANK POSITIONS: None, None<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REACH LENGTHS: None, None, None<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NVALUES:<br>&nbsp;&nbsp; LEVEE POSITIONS:<br>&nbsp;&nbsp; INEFFECTIVE POSITIONS:<br>&nbsp;&nbsp; BLOCKED POSITIONS:<br>&nbsp;&nbsp; CUT LINE:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214410.26143986, 2222433.82224242<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214375.33004066, 2222527.52281525<br>&nbsp;&nbsp; SURFACE LINE:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214410.26143986, 2222433.82224242, 217.22<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214401.17927607, 2222458.18439136, 214.05<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214391.74779828, 2222483.48354602, 212.01<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214382.3163205, 2222508.78270069, 213.99<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6214375.33004066, 2222527.52281525, 213.99<br>&nbsp;&nbsp; END:</p></blockquote><p>When I try, I get:</p><blockquote><p>Calculating cross-sections stationing...<br>InternalError("line_locate_point: 2st arg isn't a point\n",)<br>Process aborted!</p><p>Calculating cross-sections banks stations...<br>Done.</p><p>Calculating cross-sections distances to the next cross-section downstream ...<br>InternalError('line_locate_point: 2st arg isn\'t a point\nCONTEXT:&nbsp; SQL statement "SELECT\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (1 - ST_LineLocatePoint(path.geom, ST_Intersection(r.geom, path.geom))) * ST_Length(path.geom)\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ridge1"."Flowpaths" AS path\n&nbsp;&nbsp;&nbsp; WHERE\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path."LineType" = \'Channel\' AND\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ST_Intersects(r.geom, path.geom)"\nPL/pgSQL function ridge1.downstream_reach_lengths() line 11 at SQL statement\n',)<br>Process aborted!<br>XSCutLines already exists inside RiverGIS registry.<br>Left flowpaths done.<br>XSCutLines already exists inside RiverGIS registry.<br>Right flowpaths done.<br>DTMs already exists inside RiverGIS registry.<br>XSSurface already exists inside RiverGIS registry.<br>XSCutLines already exists inside RiverGIS registry.</p><p>Probing DTM along XSCutLines...<br>Done</p></blockquote><p>And HEC-RAS crashes when I import the result and try to select Cross Sections and IB Nodes. It finds nothing for "All Rivers". If I manually select only one Reach there, the Import River: &lt;name&gt; and "(All Reaches)" appear, but I instantly (before any data appears) get an error dialog:<br>---<br>Run-time error '9':<br>Subscript out of range<br>---<br>Dismiss the error and the whole program is gone.</p><p>I found <a rel="nofollow" href=""></a></p><p>And I did have overlapping cutlines on some kinky parts of my stream. But now I have spaced them out and verified none overlap, even at stream junctions, and I still get the errors.</p><p>I also found <a rel="nofollow" href=""></a></p><p>Which is more like my problem, but has no answers or comments.</p><p>I don't remember seeing those errors before, but my earlier attempts made the same kind of output files with no stationing, so maybe I just missed them.</p><p>Looking at my flowpaths layer, its table is just "1, Channel, 2, Channel" - I see the LineType = Channel part, but no data there...&nbsp; But it draws the stream on the map, so there must be data somewhere...&nbsp;</p><p>I guess I'm rambling...&nbsp; Would appreciate help with this!</p><p>Loren</p><p></p><p></p><p></p> Sun, 24 Jun 2018 15:44:50 +0000 box - 'NoneType' object has no attribute 'index' while exporting HEC-RAS <p>I've progressed past several more bugs in other software, and I'm back to RiverGIS, and apparently ready to export my HEC-RAS file. But I get this:</p><p>AttributeError: 'NoneType' object has no attribute 'index'</p><p>I found <a rel="nofollow" href=""></a></p><p>"As a workaround, you could create a dummy 1D reach with 2 xsections to enable the export to SDF."</p><p>But I'm still learning the 1D process. As far as I know I have pure 1D CrossSections. But I just noticed the CrossSections are in the "PROFILES" shapefiles that SAGA made. My RiverGIS XSCutLines layer has no data.</p><p>So I used Database -&gt; Import Layers...&nbsp; and selected my PROFILES file. The QGIS "Show feature count" option still shows '0' for XSCutLines, but now it draws my cutlines on the map. And the export works! At least it makes a big file with appropriate-looking data in it:</p><blockquote><p>#This file is generated by RiverGIS, a QGIS plugin (<a href="" rel="nofollow"></a>)<br>BEGIN HEADER:<br>&nbsp;&nbsp; DTM TYPE: GRID<br>&nbsp;&nbsp; DTM:<br>&nbsp;&nbsp; STREAM LAYER: rivergis@<br>&nbsp;&nbsp; NUMBER OF REACHES: 3<br>&nbsp;&nbsp; CROSS-SECTION LAYER: rivergis@<br>&nbsp;&nbsp; NUMBER OF CROSS-SECTIONS: 1435<br>&nbsp;&nbsp; MAP PROJECTION:<br>&nbsp;&nbsp; PROJECTION ZONE:<br>&nbsp;&nbsp; DATUM:<br>&nbsp;&nbsp; VERTICAL DATUM:<br>&nbsp;&nbsp; BEGIN SPATIAL EXTENT:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMIN: 6182619.17887215<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YMIN: 2218322.56405207<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMAX: 6220726.92902117<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YMAX: 2252061.87504029<br>&nbsp;&nbsp; END SPATIAL EXTENT:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNITS: FEET<br>END HEADER:</p></blockquote><p>So I guess I've answered my own question. Guess I'll leave this here in case it might help someone else...&nbsp;</p><p></p><p>Still, how can an empty data file cause Python to not know the properties of a "box"?</p><blockquote><p>\rivergis\<br>...</p><p>&nbsp;&nbsp; def spatial_extent(self):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; qry = 'SELECT ST_Extent(geom) FROM "{0}"."XSCutLines";'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; qry = qry.format(self.schema)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box = self.rgis.rdb.run_query(qry, fetch=True)[0][0]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box_min = box[box.index('(')+1:box.index(',')].split()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box_max = box[box.index(',')+1:box.index(')')].split()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ext = 'XMIN: {0}\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YMIN: {1}\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMAX: {2}\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YMAX: {3}\n&nbsp;&nbsp; '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; se = ext.format(box_min[0], box_min[1], box_max[0], box_max[1])<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if self.rgis.DEBUG:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.rgis.addInfo(se)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return se</p></blockquote><p>The only other place I see "box" is here (only the text would copy):</p><blockquote><p>\rivergis\__pycache__\ras_gis_import.cpython-36.pyc<br>...<br>Nz/SELECT ST_Extent(geom) FROM "{0}"."XSCutLines";T)<br>z=XMIN: {0}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YMIN: {1}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XMAX: {2}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; YMAX: {3}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; boxZbox_minZbox_max</p></blockquote><p>I know barely enough Python to be dangerous...&nbsp; But the current message looks like "box" needs to be defined somewhere, and it isn't. Except really it appears the problem is an empty input line, not an undefined variable...&nbsp; Maybe the routine could check for my empty data file and put up a more helpful message?</p><p></p> Thu, 21 Jun 2018 06:55:22 +0000 Imports Stream Centerlines, no errors, but only two Endpoints show, at 0,0 ? <p>I have a 63 node river line in my QGIS project, that looks good on the screen and follows the rules for numbering in the downstream direction. Names are unique and junctions match perfectly (though I'm only trying to import the first reach right now). It seems to import:</p><blockquote><p>Import data into RAS PostGIS tables...</p><p></p><p>Importing data from Stream, Walker Creek...</p><p>OK</p><p>Imported layers:</p><p>Stream Centerlines</p><p><br>Building stream centerlines topology...</p><p>Done.</p><p><br>Calculating river reach(es) lengths and their end stations...</p><p>Done.</p></blockquote><p>But in the new PostGIS layer there are only two nodes, and nothing is drawn on the screen.</p><blockquote><p>Encoding<br>System<br>Geometry<br>Line (LineString)<br>CRS<br>EPSG:2226 - NAD83 / California zone 2 (ftUS) - Projected<br>Extent<br>-123.3397666000000044,39.3146324000000007 : -123.3133907999999934,39.3210203000000007<br>Unit<br>feet<br>Feature count<br>2&nbsp; --&gt; But Layers -&gt; Show Feature Count says 0 ???</p></blockquote><p>The new extent lat,lon matches the begin and end nodes of the input file exactly. But where are my intermediate points?</p><p>Wait! I'm not sure how, but suddenly my screen shows the River name and two superimposed Endpoints with numbers 1, 2&nbsp; - all at Coordinates 0,0! Zoom to Layer won't take me back there if I move off a ways...&nbsp; But as you can see above, the file includes the proper coordinates and CRS. Some parts of my import file are coming in but others aren't...&nbsp;</p><p>I'm new to QGIS 3.0.3 and RiverGIS 3.0, so maybe I'm doing something stupid. Or maybe the ~6000 lines of Python errors I get on QGIS startup are leaving problems for me. Or maybe Windows 10 64-bit is not well tested...&nbsp;</p><p>Any clues would be most welcome!</p><p></p> Thu, 14 Jun 2018 06:37:50 +0000 RiverGIS not working Hi, I have installed the RiverGIS extension under QGIS 3.0.3. All buttons are gray and inactive. I cannot chose from database connections nor can I create new ones. I have reinstalled the extension, but this did not help.<br /> <br /> Is there a fix for this problem? Mon, 28 May 2018 09:36:24 +0000 Once I finish the xscutlines atributes (all) no data is extracted in the xscutlines data base tables attributes. No left bank <br /> <br /> no right bank<br /> <br /> no LLenght<br /> <br /> no RLenght<br /> <br /> no CHLenght<br /> <br /> Other data are ok. Sun, 06 May 2018 12:27:49 +0000 Error calculating cross-section stationing I keep getting the following error when I try to calculate cross-section stationing:<br /> <br /> &quot;Calculating cross-sections stationing...<br /> <br /> InternalError(&quot;line_locate_point: 2st arg isn't a point\n&quot;,)&quot;<br /> <br /> What could cause this error? &nbsp;I modeled two other streams using the exact same process as on this one without issue. &nbsp;Stream centerlines, cross-sections, and flowpaths were all drawn by hand in the correct direction. &nbsp;The latter two were drawn, deleted, and then redrawn, yet the issue persists. &nbsp;Also, cross-sections intersect flowpath lines only once.<br /> <br /> I'm using QGIS 2.18.17, PostgreSQL 10.3, PostGIS 2.4.3, and Windows 10. Sun, 06 May 2018 12:26:49 +0000 ProgrammingError("ERROR: type \xc2\xab geometry \xc2\xbb does not exist I have a similar error<br /> <br /> **** ProgrammingError(&quot;ERROR: &nbsp;type \xc2\xab geometry \xc2\xbb &nbsp;does not exist \nLINE 3: geom geometry(LINESTRING, 21781),\n ^\n&quot;,)<br /> <br /> Process aborted! ******<br /> <br /> The number 21781 is the projection (CH1903)<br /> <br /> ... but Postgis and Postgis topography are already installed <br /> <br /> Could it be that this projection is unsupported by RiverGIS?<br /> <br /> Thank in advance for help Mon, 16 Apr 2018 12:06:27 +0000 Compatibility QGIS3.0 Hi,<br /> <br /> With the Qgis 3.0 new version, the plugin RiverGis doesn't funcion... Do you know if there is an issue?<br /> <br /> Thanks a lot ! Thu, 01 Mar 2018 14:20:30 +0000 Problem with RiverGIS DB Connection <p>I have a problem very similar to the one here:&nbsp;<a rel="nofollow" href=""></a>&nbsp;However, there is no solution to the problem in that question. I have used pgAdmin to set up a database with PostGIS spatial extensions. I can connect to my databases with DB Manager and see all my schemas. However, I cannot connect to these databases in RiverGIS. All databases that I would like to use show up in the "DB Connection" drop-down, but after selecting one of them, no schema show up. Additionally, a python error is triggered, which I have included below.&nbsp;When I click the blank default schema, I am able to ask RiverGIS to refresh the connections list. However, RiverGIS then prints that it is unable to disconnect from the previous database because there is no opened connection. The previous user said that they discovered that the problem was a conflict in the name of the connection- what exactly do I need to change?</p><p>Thank you!</p><p></p><p></p><p>1 Traceback (most recent call last):</p><p>File "C:/Users/Caleb/.qgis2/python/plugins\rivergis\", line 268, in connChanged</p><p>self.rdb.connect_pg()</p><p>File "C:/Users/Caleb/.qgis2/python/plugins\rivergis\", line 81, in connect_pg</p><p>self.rgis.addInfo(msg)</p><p>File "C:/Users/Caleb/.qgis2/python/plugins\rivergis\", line 195, in addInfo</p><p>self.ui.textEdit.append(text)</p><p>TypeError: QTextEdit.append(QString): argument 1 has unexpected type 'OperationalError'</p> Fri, 23 Feb 2018 12:00:03 +0000 XS elevations not extracted After running &quot;XS Cutlines Attributes -&gt; Elevations&quot;, there is no XS Surface Table, and the cross section profiles are all blank when I export to HEC-RAS. &nbsp;It seems like the DEM isn't being sampled, but I'm not getting any error messages. &nbsp;Any insights would be greatly appreciated. Thu, 11 Jan 2018 12:26:46 +0000 Updta elevation Hi all,<br /> <br /> Does someone manage to update élévation using Rivergis? <br /> <br /> When I Try to use it, it creates a shapefile with all my points but it doesnt change thé élévation ou thé cross section. <br /> <br /> Someone knows how fix it? <br /> <br /> Charles Mon, 08 Jan 2018 07:17:27 +0000 Problem assigning DEM elevation - ASCII 8 <p>I have a problem when assigning the elevation values from the DEM to the shapes in QGIS. I have this message back:</p><blockquote><p>Traceback (most recent call last):</p><p>File "C:/Users/David/.qgis2/python/plugins\rivergis\", line 83, in &lt;lambda&gt;</p><p>self.ui.actionRASXSRiverReachNames.triggered.connect(lambda: r1d.ras1dXSRiverReachNames(self))</p><p>File "C:/Users/David/.qgis2/python/plugins\rivergis\", line 129, in ras1dXSElevations</p><p>prepare_DTMs(rgis)</p><p>File "C:/Users/David/.qgis2/python/plugins\rivergis\", line 45, in prepare_DTMs</p><p>uri = '\'{0}\''.format(rlayer.dataProvider().dataSourceUri())</p><p>UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 58: ordinal not in range(128)</p></blockquote><p>I dont know how to solve this issue. Thanks for your help.</p><p></p> Wed, 03 Jan 2018 19:29:33 +0000 Problems with Stream centerlines Lenghts Hi,<br /> <br /> i'm a new user of RiverGis.<br /> <br /> I try to follow the documentation but i find the first problems in building the River network.<br /> <br /> I create Database and &nbsp;the database tables, in particulat the &quot;StreamCenterlines&quot; . I edit the tables drawing the river.<br /> <br /> Than i use the Topology tool and it work correctly. Instead the tool for River Lengths/Stations doesn't work.<br /> <br /> The Fields ReachLen, FromSta e ToSta are empty.<br /> <br /> can anyone help me?<br /> <br /> thanks Fri, 29 Dec 2017 16:33:29 +0000 River Feature Class - ID to and ID from of polylines <table><tbody><tr><td><div><div></div></div></td><td><div><div><p>Hello,</p><p>I am working with HecGeoRAS trying to create my feature classes. I started with the RIVER feature class. I am working with a big river network of approximately 359 reaches. I have the designed of this network using polylines in a shp file and I am trying to introduce these data in the attribute table of the RIVER feature class.</p><p>I am looking for a function in ArcMap 10.3.1 that recognise the ID from and ID to for each of the polylines, because make it manually is very time consuming.</p><p>I hope you understand my question.</p><p>Thanks!</p><p>Sara</p></div></div></td></tr></tbody></table> Tue, 15 Aug 2017 20:02:21 +0000 Errors when Exporting due to Conflicting CRS Hi <br /> <br /> When I try to export the model from QGIS I get the following error: WARNING! Differences between &quot;Bridges&quot; table SRID (999469) and project CRS (320002147).<br /> <br /> This error is for all layers<br /> <br /> I am trying to use the South Africa Projection : Zangi:HBK019<br /> <br /> Thanks<br /> <br /> Lloyd Wed, 02 Aug 2017 18:23:33 +0000 Error when I'm trying startup Options <p>When I'm running Settings/Options&nbsp;I get an error.</p><blockquote><p>2017-06-14T11:11:01 1 Traceback (most recent call last):</p><p>File "C:/Users/USER/.qgis2/python/plugins\rivergis\", line 344, in options</p><p>dlg = DlgSettings(self, widget=widget)</p><p>File "C:/Users/USER/.qgis2/python/plugins\rivergis\", line 58, in __init__</p><p>item = QStandardItem('{0}'.format( #layerId</p><p>UnicodeEncodeError: 'ascii' codec can't encode character u'\u0142' in position 4: ordinal not in range(128)</p></blockquote><p>I have found one raster layer with polish characters but it is WMS inactive layer (Geoportal2 - Działki/Numery działek). The problem is fixed now but I wrote this question because it might be helpful to improve the plugin or to fix similar errors.</p> Wed, 14 Jun 2017 09:46:24 +0000 Problem z tworzeniem "River Data Base Tables" <p>Dzień dobry,</p><p>Próbując utworzyć tabele baz danych rzeki, napotykam na następujące błędy:</p><pre><span style="font-size:11px">"<strong>Running Create RAS Layers and Tables...</strong></span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(POLYGON, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">Storage Areas - failure! None</span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(POLYGON, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">Ineffective Flow Areas - failure! None</span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(LINESTRING, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">Stream Centerlines - failure! None</span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(LINESTRING, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">XS Cut Lines - failure! None</span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(LINESTRING, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">Flow Path Centerlines - failure! None</span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(LINESTRING, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">Bank Lines - failure! None</span> <span style="font-size:11px">ProgrammingError('B\xc5\x81\xc4\x84D: typ "geometry" nie istnieje\nLINE 3: geom geometry(LINESTRING, 102728),\n ^\n',)</span> <span style="font-size:11px">Process aborted!</span> <span style="font-size:11px">Levee Alignment - failure! None"</span></pre><p><span style="font-size:11px">......itp</span></p><p><span style="font-size:12px">W czym może tkwić problem?</span></p><p><span style="font-size:12px">Z góry dziękuję za odpowiedź</span></p><p></p><p></p><p></p> Tue, 06 Jun 2017 13:44:59 +0000 Unable to import StreamCenterlines <p>I try to import StreamCenterlines from a shapefile open in QGIS and I always get the same error</p><p><em>Importing data from axe...</em></p><p><em>DataError('ERREUR: Geometry has Z dimension but column does not\n',)</em></p> Wed, 24 May 2017 08:55:22 +0000 unable to connect my database correctly <p><span style="color:#ff0000">Une erreur est survenue lors de l'éxécution du code Python:</span></p><p><span style="font-size:large">TypeError: QTextEdit.append(QString): argument 1 has unexpected type 'OperationalError' </span></p><pre><span style="font-family:courier new,courier">Traceback (most recent call last): &nbsp; File "D:/DATA/m.chantepie/.qgis2/python/plugins\rivergis\", line 268, in connChanged &nbsp; &nbsp; self.rdb.connect_pg() &nbsp; File "D:/DATA/m.chantepie/.qgis2/python/plugins\rivergis\", line 81, in connect_pg &nbsp; &nbsp; self.rgis.addInfo(msg) &nbsp; File "D:/DATA/m.chantepie/.qgis2/python/plugins\rivergis\", line 195, in addInfo &nbsp; &nbsp; self.ui.textEdit.append(text) TypeError: QTextEdit.append(QString): argument 1 has unexpected type 'OperationalError' </span></pre><p><br>Version de Python : 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]<br>Version de QGIS : 2.18.6 Las Palmas, 5f369b0</p><p>Chemin Python :</p><ul><li>C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing</li><li>C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python</li><li>D:/DATA/m.chantepie/.qgis2/python</li><li>D:/DATA/m.chantepie/.qgis2/python/plugins</li><li>C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins</li><li>C:\PROGRA~1\QGIS2~1.18\bin\</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk</li><li>C:\PROGRA~1\QGIS2~1.18\bin</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PIL</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg</li><li>D:/DATA/m.chantepie/.qgis2//python</li><li>D:/DATA/m.chantepie/Desktop/tutorial rivergis/BaldEagle_example</li></ul> Thu, 11 May 2017 08:57:00 +0000 Can River GIS support junctions of two breaklines for 2D channel delineation? Can River GIS support junctions of two breaklines for 2D channel delineation?<br /> <br /> I would like to model two rivers with a confluence. &nbsp;Can I snap my breaklines together to make two curvilinear meshes join?<br /> <br /> Thanks! Mon, 01 May 2017 23:05:04 +0000 2D mesh geometry import issue for large meshes <p>I've been successfully using RiverGIS for mesh creation, but if a mesh includes too many cells the HEC-RAS Geometry import fails. I'm not sure where the threshold is, but it definitely does not work at around 250,000 cells. This is a problem for me, as I often work with large 2D models.&nbsp;</p><p>What happens is that the cells that were created along the breaklines are absent. Here's an example screenshot where the regular grid imported, but the curvilinear portion within the channel fails.&nbsp;</p><p><img alt="" src=";qa_blobid=7295624933435576220" style="height:296px; width:600px"></p><p>Anyone else notice this issue? What is going on here?</p><p>FYI, I cross-posted this issue to github:&nbsp;<a rel="nofollow" href=""></a>&nbsp;</p><p>Thanks,<br>-Matt</p> Thu, 20 Apr 2017 19:23:33 +0000 Error in Python code creating RAS GIS import file I try to export in HECRAS a model 2D with only three layers: DTM, flowarea2d and 2Dbreaklines.<br /> <br /> I receive an error message at line 137 of code &quot;;:<br /> <br /> 137, in spatial_extent &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;box_min = box[box.index('(')+1:box.index(',')].split()<br /> <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AttributeError: 'NoneType' object has no attribute 'index' Sat, 15 Apr 2017 07:44:27 +0000 Error with DTM <p>Hi all,</p><p>I follow the procedure in RiverGIS for geometry but when select the DTM tool show me the following message</p><p><em>Traceback (most recent call last):</em></p><p><em>File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\", line 83, in &lt;lambda&gt;</em></p><p><em>self.ui.actionRASXSElevations.triggered.connect(lambda: r1d.ras1dXSElevations(self))</em></p><p><em>File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\", line 125, in ras1dXSElevations</em></p><p><em>prepare_DTMs(rgis)</em></p><p><em>File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\", line 31, in prepare_DTMs</em></p><p><em>rgis.options(rgis.OPT_DTM)</em></p><p><em>File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\", line 344, in options</em></p><p><em>dlg = DlgSettings(self, widget=widget)</em></p><p><em>File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\", line 58, in __init__</em></p><p><em>item = QStandardItem('{0}'.format( #layerId</em></p><p><em>UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 17: ordinal not in range(128)</em></p><p></p><p><strong>It's the first time that have this problem. I used RiverGIS to 30/40 geometry without have this problem.</strong></p><p>Regards-</p><p>Antonio</p> Sat, 18 Mar 2017 07:51:23 +0000 How to enter cross section profile data (xsSurface) from a topographic survey? <p>Hi - I would like to enter georeferenced cross section profile data from a topographic survey (data not in HEC-RAS format). I have created an 'xsSurface' layer extracted from a DTM using the 'Elevation' tool - I now want to update 'xsSurface' with my elevation values -&nbsp;however, the 'Update Elevations' tool allows you to enter <span style="text-decoration: underline;">elevation values only</span>, but <strong><span style="text-decoration: underline;">not </span>the chainage/station value </strong>(my survey data is not at regular intervals across the CS, like those generated by the 'Elevation' tool).</p><p>How can I enter both the elevation and chainage values for each CS?</p><p>Look forward to your advice.</p><p>Mike</p> Tue, 28 Feb 2017 18:44:37 +0000 Error in Python code when importing geometry into River Database Tables <p>Hi - using the 'Baldeagle' data I have created river database tables, however, when I use the 'Import layers into river database tables' tool, I received the errors below.</p><p>The database connection seems okay (am using pgAdmin 4), though I read in another <a rel="nofollow" href="">post</a> that you need to create a PostGIS extension - I have used a postgres_fdw' extension since 'postgis' is not available from the dropdown list.</p><p>Can anyone help? Thanks, Mike</p><p><strong>1. Error In the RiverGIS application window:</strong></p><blockquote><p>Import data into RAS PostGIS tables...</p><p>ProgrammingError('type "geometry" does not exist\nLINE 3: geom geometry(LINESTRING, 102728),\n ^\n',)</p><p>Process aborted!</p></blockquote><p><strong>1. Error in a QGIS window:</strong></p><blockquote><p><span style="color:rgb(255, 0, 0)">An error has occurred while executing Python code:</span></p><p><span style="font-size:large">KeyError: 'StreamCenterlines' </span></p><pre><span style="font-family:courier new,courier">Traceback (most recent call last): &nbsp; File "C:/Users/MGreen/.qgis2/python/plugins\rivergis\", line 298, in acceptDialog &nbsp; &nbsp; self.processLayers(key, data) &nbsp; File "C:/Users/MGreen/.qgis2/python/plugins\rivergis\", line 280, in processLayers &nbsp; &nbsp; self.rgis.rdb.register[data['className']], KeyError: 'StreamCenterlines' </span></pre><p><br>Python version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]<br>QGIS version: 2.18.3 Las Palmas, 77b8c3d</p><p><span style="font-size:medium">Python Path:</span></p><ul><li>C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing</li><li>C:/Users/MGreen/.qgis2/python/plugins\postgis_geoprocessing</li><li>C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python</li><li>C:/Users/MGreen/.qgis2/python</li><li>C:/Users/MGreen/.qgis2/python/plugins</li><li>C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\backports.ssl_match_hostname-</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\bin\</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk</li><li>C:\PROGRA~1\QGIS2~1.18\bin</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PIL</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg</li><li>C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg</li><li>C:/Users/MGreen/.qgis2//python</li><li>G:/Anybody/HEC-RAS/RiverGIS/baldeagle</li></ul></blockquote> Tue, 28 Feb 2017 11:01:37 +0000 Leveepoints' Elevation... Hello everyone,<br /> <br /> Why launching Levees command, Leveepoints Elevation field isn't completed?<br /> <br /> Is or not implemented this function?<br /> <br /> Thanks to anyone could answer<br /> <br /> P.S.<br /> <br /> Congrats for the wonderful plugin. Sun, 12 Feb 2017 00:36:03 +0000 problem exporting sdf file in Ubuntu/Linux Dear riverGIS team,<br /> <br /> I tried the procedure you report on your website and everything went smooth in Linux environment (Ubuntu 14.04), from the database creation (which is easier than windows) to computing cross-section elevations, however as I try to export the sdf, the created file resulted without any extension and not loadable in HEC-RAS. HEC-RAS does not seem to recognize anything. Then, I repeated the same procedure using your plugin in QGIS for Windows and magically it works fine. My idea is that the created sdf file in linux might have some problems with encoding, or perhaps some tabs placed in wrong places, I don't know, but this my experience. Unfortunately I can't paste the results here because data are not publishable yet.<br /> <br /> Hope these feedback might help you in further releases, it's a great tool!<br /> <br /> Thanks Mon, 06 Feb 2017 11:52:21 +0000 Has anyone tried importing cross-sections in ISIS format to HEC-RAS? Hi - I have a large number of river cross sections in ISIS format (.DAT files) which I would like to import into a new HEC-RAS model. I tried manually copying and pasting the ISIS data into .txt files in the HEC-RAS format, however, it did not read the data correctly. Has anyone done this before or could suggest an efficient method? Thanks. Mon, 23 Jan 2017 11:36:38 +0000 Apparent problem with calculating stations and nodes Hello everyone, <br /> <br /> I have been working for a few days on preparing geometry for a model. After countless problems in creating the geometry I decided to simply work on a test, on a mini-section of the river-stream and see if I can successfully create the geometry and import to HEC-RAS. I have re-drawn everything to keep things simple. <br /> <br /> Everything runs fine in RiverGIS, but the geometry for HEC-RAS is empty of any nodes when imported. I checked the XSCutlines shapefile and there is clearly a problem with the Station column which is empty. I also noticed that no EndPoint is created when running the RiverGIS tools. <br /> <br /> I attach a zipped folder with the QGIS file and attached shapefiles/DEM: <a href="" rel="nofollow"></a> <br /> <br /> Screenshot of the river system in QGIS: <a href="" rel="nofollow"></a><br /> <br /> Screenshot of the attribute table for XSCutLines: <a href="" rel="nofollow"></a><br /> <br /> Screenshot of the HEC-RAS problem when importing (invert # shows zero points): <a href="" rel="nofollow"></a><br /> <br /> Screenshot 2 of the HEC-RAS problem after importing: <a href="" rel="nofollow"></a> <br /> <br /> Any help would be greatly appreciated, I'm under a tight timeline here... <br /> <br /> Thanks, <br /> <br /> Mix Thu, 01 Dec 2016 18:43:23 +0000 Unable to create PostGIS extension in pgAdmin Hello all,<br /> <br /> I'm following the instructions provided on the RiverGIS website, but have been getting issues right at the start. When I try to create the PostGIS extensions from the SQL query editor, I get the following error message:<br /> <br /> ERROR: &nbsp;could not open extension control file &quot;C:/Program Files/PostgreSQL/9.6/share/extension/postgis.control&quot;: No such file or directory<br /> ********** Error **********<br /> <br /> ERROR: could not open extension control file &quot;C:/Program Files/PostgreSQL/9.6/share/extension/postgis.control&quot;: No such file or directory<br /> SQL state: 58P01<br /> <br /> I have tried the install on two different computers, Windows 10, and keep getting this issue. Can anyone help?<br /> <br /> Thanks,<br /> <br /> Mix Fri, 25 Nov 2016 14:46:36 +0000 creating xscutline <p><span style="background-color:rgb(255, 255, 255); color:rgb(33, 33, 33); font-family:arial,sans-serif; font-size:16px">hi wanted to know if there is a program that performs the xscutline automatically, something similar as the hec-Georas Thank you.</span></p> Tue, 08 Nov 2016 20:07:57 +0000 Processing Blocked Obstruction with an error <p>Hi</p><p>Why do I get an error when processing Blocked Obstruction?</p><blockquote><p><strong>Finding blocked obstructions for cross-sections</strong></p><p>DataError('Geometry type (MultiLineString) does not match column type (LineString)\n',)</p><p>Process aborted!</p></blockquote><p></p><p>I've merged buildings crossing XS's and I've deleted buildings when the end of XS was inside building. I have no idea what is wrong.</p><p>My data are <a rel="nofollow" href="">here</a>.</p><p></p><p>Best Regards</p><p>Arek</p> Sun, 06 Nov 2016 13:38:42 +0000 Hec-Ras computation break down after importing RiverGis geometry and interpolating XS or coping XS <p>Dear all,</p><p>In Hec-Ras (5.0.1) I am experiencing a geometry computation problem, after importing my geometry generated by RiverGIS, when I extrapolate XS or copy one or more XS and if I DELETE them afterwards then Hec-Ras is no longer able to compute the geometry. The typical situation is when starting the simulation the process freezes for hours on the "<strong>writing geometry</strong>" process at the "<strong>computing XS interpolation surfaces</strong>". My assumption is that Hec-Ras loses the position of the different XS between them when deleting the interpolated XS, I have the intuition that this is related to the georeferenced geometry built from RiverGIS, but I don't really know how and why. Has somebody ever experienced the same kind of problem?</p><p>Any help or comment would be appreciated, thanks.</p> Thu, 03 Nov 2016 09:08:38 +0000 Problem calculating bank stations I am running the RiverGIS tool and am receiving this error when I try to calculate bank stations.<br /> <br /> Calculating cross-sections banks stations...<br /> <br /> InternalError(&quot;line_locate_point: 2st arg isn't a point\n&quot;,)<br /> <br /> Process aborted!<br /> <br /> Do you know what is causing this.<br /> <br /> Thanks,<br /> <br /> JamesB<br /> <br /> I am running PostGreSQL x64 9.6, qGIS 2.14.1, PostGIS Bundle 2.3 for PostGreSQL x64 9.6 Wed, 02 Nov 2016 00:03:45 +0000