Hi James,
The link has datasets to download which I assume are contours. Are you just trying to label the contours?
What are you up to these days?
Cheers Grant
--
You received this message because you are subscribed to the Google Groups "QGIS Australia User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to australian-qgis-use...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/75f72d71-b981-4b92-9066-7b1055bca865n%40googlegroups.com.
You may need to import the shape file elevation data as a LineZ file so that it records the lines as 3D. I don’t know Rhino so can’t help in that direction.
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/6cd20f49-d855-463c-94dd-eb7443acf991n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/000201d973ec%24d6d5eb40%248481c1c0%24%40iinet.net.au.
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/CADtK-_kvzmGPR6a%3DOpkU_MUy_4mMNpBm%3DiCt8-gz9xSiTUKfJQ%40mail.gmail.com.
When you export the 3D polygon shapes for example, use the Layer Option and POLYGONZ. Try that.
Cheers Grant
From: australian-qg...@googlegroups.com <australian-qg...@googlegroups.com> On Behalf Of Luke Kirkwood
Sent: Friday, April 21, 2023 9:23 AM
To: australian-qg...@googlegroups.com
Subject: Re: [Aus-NZ-QGIS-group] Trying to use the data from map in description and export contours with height value to create a site in Rhino 7
Out of interest, does anyone know if you can use the geometry feature of the export functions in QGIS to correctly include the z-dimension to an exported DXF and thereby reduce the number of steps needed in the prior solution linked?
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/CAKsRqB0nm6yFkUQNzUoOL5eFJ5fGBM4sM1S-aEQrKe4Q2h51%3Dw%40mail.gmail.com.
Hi James and Luke,
Luke - unfortunately not. You need to write the elevation (attribute) values to Z values (using the Set Z value tool) and then when exporting to DXF also be sure to tick the Geometry>Include Z-dimension and specify LineString as the geometry type. The 'Include Z-dimension' can't read the Z value directly from an attribute field... so you need that middle step which converts the dataset to a Line (MultiLineStringZ) geometry type.
James - hopefully this work flow will do the trick for you. You were on the right track with the GRASS connection. There is a GRASS tool called V.to.3D which does the same as Set Z values. Also don't use the Import/Export>Export Project to DXF method for data with z values - the z values aren't retained in this conversion. Just use the Export>Save Features As method with settings as above.Cheers,
Maia
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/CAKsRqB0nm6yFkUQNzUoOL5eFJ5fGBM4sM1S-aEQrKe4Q2h51%3Dw%40mail.gmail.com.
Hi James and Luke,
Luke - unfortunately not. You need to write the elevation (attribute) values to Z values (using the Set Z value tool) and then when exporting to DXF also be sure to tick the Geometry>Include Z-dimension and specify LineString as the geometry type. The 'Include Z-dimension' can't read the Z value directly from an attribute field... so you need that middle step which converts the dataset to a Line (MultiLineStringZ) geometry type.
James - hopefully this work flow will do the trick for you. You were on the right track with the GRASS connection. There is a GRASS tool called V.to.3D which does the same as Set Z values. Also don't use the Import/Export>Export Project to DXF method for data with z values - the z values aren't retained in this conversion. Just use the Export>Save Features As method with settings as above.
Cheers,
Maia
On 2023-04-21 09:23, Luke Kirkwood wrote:
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/CAKsRqB0nm6yFkUQNzUoOL5eFJ5fGBM4sM1S-aEQrKe4Q2h51%3Dw%40mail.gmail.com.
Hi James,
I missed this email when you sent it last week. I'm sure you've found a work around by now. But in case you're still needing this data in Rhino, I've converted the linked contour dataset to check it works. The version I converted to dxf looks good in AutoCAD, with elevation values showing. I don't have Rhino installed just now so I can't test it there but I'm sure if it's good in AutoCAD then it'll be fine in Rhino.
The dxf is here if you want it: https://drive.google.com/drive/folders/1nuBrg_hVCI_Y-GXd14IVyyhnWBM6l3zE?usp=share_link
The steps were:
In AutoCAD the data looks like below. In plan view and in elevation (showing z values definitely in the data).

I have a set of notes covering QGIS workflows used by architects/landscape architects that I use for teaching (mainly about getting data into CAD correctly, like your situation here). I'm happy to share if you're interested.
Cheers,
Maia
Hi James,
I've just added your latest email to my reply from yesterday (below).
Did you definitely reproject the data in QGIS before saving to dxf? If you don't do that step then x/y and z will be in different units. If you reproject to GDA2020 MGA56 (or whatever projected coordinate system you're using) then everything will be in metres in the dxf.

If you've done that reprojection step then the issue lies in your CAD/Rhino drawing setup. Have you set your drawing units correctly?




I don't have Rhino on hand to check for the equivalent commands but I'm sure you can do the same from there.
*It will all overlay if your main drawing is also in GDA2020 MGA56.
If you need more CAD/Rhino help feel free to email me directly because it's a bit off-topic for this mailing list at that point :)
Good luck!
Maia
Hi Maia,
Thanks for gettig back to me. I think I hve worked out what is going on. I think the contours, and height values are in different units.
When I open the file in rhino, the contours are only millimetres long, where as the vertil distance between them is in metres. Is there a way to resovel that?
Thanks,
James
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/18aea1134e635feeca5bc9b2027aa71d%40maia.id.au.