Dissolve Polygon
Gavin
Global Mapper User
Is there a method to dissolve multiple polygons into a single polygon.
I am looking for something that will give me just the outline of my various polygons in a single layer.
Preferably via scripting, as I have many many files.
Thanks
Gavin
I am looking for something that will give me just the outline of my various polygons in a single layer.
Preferably via scripting, as I have many many files.
Thanks
Gavin
Comments
-
Hello Gavin,
Have you tried creating a coverage area? This can be done in a script as part of the EDIT_VECTOR command, with the following related parameters:
CREATE_COVERAGE_AREAS - specifies that a new layer with coverage areas for all matching features should be created. Use CREATE_COVERAGE_AREAS=YES to enable.
COVERAGE_SMOOTHING_FACTOR - specifies a smoothing factor to use when creating the coverage areas to control how tightly shrink-wrapped around the vector features the area is. The default value is 1.0, but any value greater than 0 is allowed, with larger values resulting in more smoothing.
Cheers,
Bob -
Hi Bob
I did look at that, but it does not work for me.
here is a good article on what Dissolve should do.
Dissolve - GIS Wiki | The GIS Encyclopedia
the free library mapwingis allows me to perform this but it means running a second script on my data after GM is done its work.
It would be nice to be able to process these commands all in the same script.
thanks
Gavin -
Hi Gavin,
That functionality is available in the UI:
1) Activate the Digitizer
2) Select the features that you want to combine
3) Right-click and select the Crop/Combine/Split Functions->COMBINE - Combine Selected Area Features
This is not available via scripting at the moment. There is a feature request (#14891) on our task list to add this. I will add your name to the feature request, and we will post to this thread when the functionality has been implemented.
Cheers,
Bob
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