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.4K All Categories
- 5.4K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 603 GM Script Language
- 49 User Scripts
- 112 GPS Features
- 394 Projection Questions
- 800 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 890 Bug Report
- 556 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 537 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 224 How I use Global Mapper
- 104 Global Mapper Forum Website