2

I have a .shp-file of some buildings with a sheet in an attribute table of their height. I want to extrude them using a Qgis2threejs plugin, but since a sheet of height is shown as a type of QString, the plugin can't recognize it and the buildings can't be extruded.

I have tried to export a database as a .csv-file, but the Excel is locked and it can't be modified.

Any alternative approaches?

1

If the heights are in a column of the attributes table, but stored as QString type, you can convert them in a new numeric type column.

  • Add a new field with the Decimal number (real) type and the desired length and precision in the attribute table.

  • Populate that field in the Field Calculator with the expression:

to_real("height")

Where "height" is the name of the string type field.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.