Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1170

Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1183

Warning: session_start(): Cannot start session when headers already sent in /qa-include/app/users.php on line 162

Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1170

Warning: Cannot modify header information - headers already sent by (output started at /qa-include/qa-base.php:1170) in /qa-include/app/users.php on line 1282

Notice: Trying to access array offset on value of type null in /qa-include/pages/question-view.php on line 1131

Notice: Trying to access array offset on value of type null in /qa-include/pages/question-view.php on line 1131

Warning: Cannot modify header information - headers already sent by (output started at /qa-include/qa-base.php:1170) in /qa-include/app/page.php on line 356
Error calculating cross-section stationing - RiverGIS Q&A
Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
497 views
by
I keep getting the following error when I try to calculate cross-section stationing:

"Calculating cross-sections stationing...

InternalError("line_locate_point: 2st arg isn't a point\n",)"

What could cause this error?  I modeled two other streams using the exact same process as on this one without issue.  Stream centerlines, cross-sections, and flowpaths were all drawn by hand in the correct direction.  The latter two were drawn, deleted, and then redrawn, yet the issue persists.  Also, cross-sections intersect flowpath lines only once.

I'm using QGIS 2.18.17, PostgreSQL 10.3, PostGIS 2.4.3, and Windows 10.

1 Answer

0 votes
by

Hello Tyson !

I've encountered a same issue with the banks stations.

One XS were crossing a bank line twice (a matter of centimeters). I've found the bad intersection by targeting successively some parts of XS in the model geometry.

Try this way to solve your problem of crosssection VS channel.

I hope it could help.

Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit rivergis.com for documentation and general info about the QGIS plugin.

Categories

...