Any chance to get more control over polygon cropping in a script?
Hi,
I have a workflow I want to automate. It requires some selection over area features, mesh features in this case, to be able to export to polymesh (using DXF) from a TIN. I can do most of it with the scripting language now but just access to one more sub-command is all I need.
The request I have would be to add more control to cropping to polygons/areas through the script language. The GUI features I use are, "select all area features contained within selected area", and then a sub-feature of the previous that is "select areas with centroid contained in selected area". It would be super powerful if you could add access to these commands.
In my script I would export_vector, cropping the export to a polygon crop file, but only the polygons whose centroid is in the polygon crop areas.
Thanks,
Mark
Answers
-
PLEASE!!!
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 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