How do I find a point inside polygon as opposed to centroid which is sometimes outside
tylcoatc
Global Mapper User
in Vector Data
One sometimes needs to determine a decent point inside a polygon to for example place a label and for other purposes. How does one automate finding these sometimes hundreds of points where the centroid falls outside the polygon.
Answers
-
What version of Global Mapper are you using? In Global Mapper 16, when creating points at the centroid of an area, you have the option to automatically move the point so that it is inside the area boundary.
-
Thanks. I have existing (1000's) polygons a percentage of which have this problem, and it would be too great a job to move each manually. To have the option when creating is nice but this definitely needs to be done automatically. I registered a long time ago and have only started using this forum recently again, so I am not sure why it perhaps does not display that info to you as I filled it in, but I am using ver13. Really appreciate you answering.
-
Perhaps I wasn't clear. You can select one or more area features and have Global Mapper automatically create a point at the centroid of each one. It is during this process that you can tell GM to make sure that the point is inside the area. I'm not sure exactly when this was added, but I am pretty sure that it was after v13.
-
Ok, maybe I need to get a ver16 trial version and if convinced about the worth of finding the extra functionality I will find the funds and upgrade. Thanks so much
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