Help with getting attributes for selected features
Hi,
Sorry if this is an obvious thing but I am stuck on it.
I would like to use python to make a script that, after selecting point features that have SLOPE_DIR attribute, generates an arrow shape oriented by the SLOPE_DIR attribute.
I know I can generate quiver plots easily, but they are only raster and I would like to export the arrows to CAD data.
After getting the selected points by:
selectedPoints = gm.GetSelectedFeatures(4)
I am trying to read attributes from them but I cannot find any example or reference. Please advice on how to proceed.
Best regards
Answers
-
Hi all,
Just bumping this.
Please someone help :-(
Have a good day
Categories
- 12.6K All Categories
- 5.6K Features Discussion
- 337 Downloading Imagery
- 1.3K Elevation Data
- 379 Georeferencing Imagery Discussion
- 626 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 407 Projection Questions
- 816 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 175 Announcement and News
- 904 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 559 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 231 How I use Global Mapper
- 106 Global Mapper Forum Website