Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
896 views
by
Hi all,

I'm testing Rivergis with postgresql 9.4 in a debian jessie machine and get this error when I try to add cross sections:

Could not commit changes to layer XSCutLines

Errors: ERROR: 133 feature(s) not added.

Provider errors:

PostGIS error while adding features: ERROR: Geometry has Z dimension but column does not

1 Answer

0 votes
by (3.8k points)

Thanks for feedback!

Do you copy/paste features from another layer that has Z dimension?  Try to convert the source layer first, so its geometry has no Z dimension. You can do that Saving As your source layer in QGIS and unchecking the 'Include z-dimension' in Geometry options:

Please, let us know if that helped you. We will add a check for that in a future version of RiverGIS.

by
Yes, the entities are copied from spatialite layer. Doing this it worked well.

But I get another problem: doing al process in cross sections, the downstream reach length are empty. Data are not computed and columns in database table are empty. Generating Hec-Ras geometry I can import well but this dara are missing.
by
Please check if your problem is not caused by geometry issues as described in thread below:
http://q2a.rivergis.com/56/null-chlength-llenght-and-rlenght

If that doesn't help then please send us sample of your data and we will investigate your problem further.
by
I thing my problem is because I wrote LineType attribute in flowpath without capital letter. Putting capital letter (copy and paste from documentation) it worked.
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

...