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!!!
Howdy, Stranger!
Categories
- 12.2K All Categories
- 5.3K Features Discussion
- 312 Downloading Imagery
- 1.2K Elevation Data
- 371 Georeferencing Imagery Discussion
- 580 GM Script Language
- 42 User Scripts
- 111 GPS Features
- 388 Projection Questions
- 788 Raster Data
- 1.3K Vector Data
- 6.4K Support
- 159 Announcement and News
- 881 Bug Report
- 554 SDK
- 1.1K Suggestion Box
- 3.6K Technical Support
- 520 Other Discussion
- 125 GIS Data Sources
- 26 Global Mapper Showcase
- 217 How I use Global Mapper
- 99 Global Mapper Forum Website