Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
3.3k views
by
What the following errors mean?

1. InternalError('Operation on mixed SRID geometries\n',)

2. DataError('el tama\xc3\xb1o de paso no puede ser cero\n',)

Best regards,

Carolina.

1 Answer

0 votes
by (300 points)

It means that layers in your schema have different coordinate systems. As RiverGIS documentation says (http://rivergis.com/ras1d_geometry.html#ras1d-create-schema):

"Before creating geometry objects users must choose a projection for a model data using projection selector at the bottom of RiverGIS window. All the model geometry data must use projection defined in the projection selector. If data for a model already exist in a spatial layer a user must check its projection for consistency with a projection chosen in RiverGIS projection selector and convert it if needed."

by
And DataError('el tama\xc3\xb1o de paso no puede ser cero\n',)   ??
by (300 points)
Sory, but i don't speak spanish, and even after translating this error message using google translate I have not enough information to help you. Please describe situation when this error occurs and if it's possible share sample of your data.
by
Error occurs when use the elevations command.
by (300 points)
Can you share sample of your data (XSCutLInes and DTM) and some print screens of your QGIS view when this error occur? I try to figure out what the problem is.
by
My sample data can be found on the following link:
https://www.dropbox.com/s/fga8xa50c7j7z2d/Example.qgs?dl=0
by (300 points)
Unfortunately you send me only QGIS project file. It contains only layers settings, but without real data. Please make some temporary folder first and copy DTM to it. Next export XSCutLines layer to the same folder (right mouse click on layer and choose "Save As..." and set export settings with format as "ESRI Shapefile").  After that zip folder and send it to me. :)
by (300 points)
Ok, now I see what the problem is. Your data have WGS84 projection, which is geographich coordinate system with map units in degrees (which is not allowed neither in RiverGIS nor HEC-RAS).  You need to work in projected coordinate system (specific for your area) with metric map units. So first you have to reproject all of your vector and raster data to adequate for your area projected coordinate system (you can find tools for that in QGIS proccesing tolbox). After that you should import reprojected data to your schema via RiverGIS. Don't forget to set also right projected coordinate system in RiverGIS window. :)
by
Thanks, it improved a bit, but when I export to HEC RAS says it has no elevation data for cross-sections :(
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

...