Drape polyline to TIn

txrpls
Global Mapper UserTrusted User
in Vector Data
Any ideas on how to drape a closed polyline to a TIN and only get 3D vertices where the polyline hits the tin line?
Answers
-
My question too...
-
Someone?
-
Not sure if this helps exactly:
Using the digitizer select polyline, then right click "Vertex Editing", then "Edit Feature Vertices" then "Update Elevations from Terrain"
-
Not sure if the terrain will be the exact faces of the TIN and the line will drape to those faces and not just the elevations of the vertices.
-
Hi txrpls,
Using Andy's method, Global Mapper will, for each vertex in the polyline, determine the elevation at that x,y, and it to the z-value of the vertex. Each resultant new vertex will be on the surface of the TIN; however, the resultant 3D polygon will most likely not drape exactly onto the TIN surface, as no intermediate points for the polygon are created.
If you want a finer approximation of the terrain surface along the polyline, you can resample the line: "Move/Reshape Features" / "Resample/Split Selected Feature(s) at Specified Spacing". You should be able to do this either before or after updating the elevations from the terrain.
Hope that this helps,
~Jeff -
Also, if Jeff's suggestion is not quite what you are after, you can Digitizer right-click on the polyline, then "Analysis / Measurement" then "Path Profile", which will bring up the Path Profile. Then from there you can at least save out a CSV of the distances / XYZ's which should be exactly as per the underlying TIN (if I remember correctly). Also the DXF output option will spit out a 3D polyline.
-
@JeffH@BMG
Thanks for the information, but not exactly what I was looking for as a solution. Let's say one of my vertices from the picked polyline falls in the middle of a face. I would like the elevation of the vertice to be on the plane of the face and new vertices computed where the line crosses the edge of the triangle both entering and exiting the face and not on a spacing. Hope this makes sense.
-
@Andy Wizma
I'll give that a try. -
@JeffH@BMG
After much experimentation, I still do not have a solution. I need my draped line to match the facets of the TIN exactly. I actually need a TIN surface not a GRID surface. How do I get a TIN surface?
-
Did you find a solution in the end? If not, here is a workaround:
- Convert the Polyline to an Area Feature
- Select the Area Feature
- Export the TIN mesh to DWG/DXF using the Area Feature as the Export Bounds (Crop to Selected Area Feature(s)
- Import the cropped mesh
- Select it
- Right-click > Crop/Combine/Split Function > COMBINE
- Repeat if any areas remain
- Select the combined Area Feature > Advanced Feature Creation Options > Create New Points from Selected Area and Line Features
Your Area Feature and the Points will be an exact match to the TIN mesh and the vertices are only created where the original polygon intersects the TIN mesh. This workflow does not require you to generate a gridded terrain.
Cheers,
Steve
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 179 Announcement and News
- 922 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website