How to add attributes from source when using Create Point Features Spaced Along Selected Feature(s)
Hi,
I have to convert a complex DXF mesh of an underground mine development into a point cloud format. I need to create a point every 5m along each Area Feature which represents a 3D Face in the mesh. But I need to pass the Feature Description attributes (original CAD layer name) to the generated points as they represent the development year.
I can create a new Attribute Name called LAYER and copy the Feature Description attributes values to it, but when I create the points the attribute and values are not included. The only option I can see is to manually process each layer one-by-one and add the Attribute Name and Attribute Values each time. As these files can have upwards of 40 layers this is taking a long time to process; including the waiting time to add the points.
Does anyone have any ideas to speed this up? I have tried to copy between overlapping features but that takes even longer.
Cheers,
Steve
I have to convert a complex DXF mesh of an underground mine development into a point cloud format. I need to create a point every 5m along each Area Feature which represents a 3D Face in the mesh. But I need to pass the Feature Description attributes (original CAD layer name) to the generated points as they represent the development year.
I can create a new Attribute Name called LAYER and copy the Feature Description attributes values to it, but when I create the points the attribute and values are not included. The only option I can see is to manually process each layer one-by-one and add the Attribute Name and Attribute Values each time. As these files can have upwards of 40 layers this is taking a long time to process; including the waiting time to add the points.
Does anyone have any ideas to speed this up? I have tried to copy between overlapping features but that takes even longer.
Cheers,
Steve
Answers
-
And if you add the necessary columns of the source layer to the table of point attributes?
-
Not quite sure what you mean sorry. I can add a new column to my source and add the development year attributes to it (essentially copying the Feature Description attributes to a new column). When creating the points I see now way to ask GM to add these though.
-
tikhpetr said:And if you add the necessary columns of the source layer to the table of point attributes?
I can however copy the Feature Description (Layer Name) and manually paste it in as the Attribute Value if I process the layers one at a time. -
But I don’t understand which settings should be used.
-
As I understand it, you need to add the desired attribute to the source table (no values), and then add values to this column from another table.
-
tikhpetr said:As I understand it, you need to add the desired attribute to the source table (no values), and then add values to this column from another table.
Somehow I need to add the attribute data that already exists in my source data during the process of creating the points. I might contact support for ideas.
Thanks for your help. -
Just as an update I discovered a way to do this. Turns out I had to split my DXF by Feature Description first and then export the group as a shapefile (Areas) and then import. Now when you use the Create Point Features Spaced Along Selected Feature(s) it automatically add the attributes from the source.
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 627 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website