Error 2D mesh generation

0 votes
48 views
asked Dec 20, 2018 by saraav91 (160 points)

Hi,

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 error when I am trying to generate it:

Creating computational points for 2D flow areas

Creating regular mesh points...

InternalError('Operation on mixed SRID geometries\nCONTEXT: SQL function "makegrid" statement 1\n')

Process aborted!

DataError('Geometry SRID (4326) does not match column SRID (32651)\n')

Process aborted!

ProgrammingError('relation "jalaur3.BreakLines2d_m" does not exist\nLINE 6: "jalaur3"."BreakLines2d_m")\n ^\n')

Process aborted!

Creating mesh points along structures...

ProgrammingError('relation "jalaur3.BreakLines2d_m" does not exist\nLINE 8: "jalaur3"."BreakLines2d_m" AS b,\n ^\n')

Process aborted!

ProgrammingError('relation "jalaur3.BreakLines2d_m" does not exist\nLINE 10: "jalaur3"."BreakLines2d_m";\n ^\n')

Someone knows how to solve this issue?

Thank you,

Regards,

Sara

1 Answer

0 votes
answered Dec 20, 2018 by rpasiok (3,801 points)

It could be that your FlowAreas2d is in WGS-84 (SRID: 4326) and you want it to be in SRID: 32651, which is declared as your riverdatabase coordinate system..

To convert your data from one coordinate system to another, you could use Processing Toolbox and Reproject Layer.

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.
...