How do I extend area skeletons/centre lines to the edge of the area?
Hunter Geophysics
Global Mapper UserTrusted User
I have a bunch of rectangles with differing orientations. I need to create a point between the two vertices on the short sides of each rectangle. That is, I need to create two points per rectangle. Something like this:

The problem is I have several hundred rectangles.
In the past, I have been manually creating each point estimating where the point should be by eye. Not ideal but it was sufficient for my needs.
Now I have a huge dataset and need to automate it if possible.
I tried the "create area skeleton/centre line" option. I figured I could then take the centre line and create points based on that (which should give me a point at either end of the line).
The problem is the centre line doesn't extend all the way to the edge of the area:

Of course, if I then create points based on that centre line, the points will end up within the rectangular area rather than on the edge of it:

Is there some way of automatically extending the skeleton/centre line to the edge of the area?
Thanks in advance,
Dave

The problem is I have several hundred rectangles.
In the past, I have been manually creating each point estimating where the point should be by eye. Not ideal but it was sufficient for my needs.
Now I have a huge dataset and need to automate it if possible.
I tried the "create area skeleton/centre line" option. I figured I could then take the centre line and create points based on that (which should give me a point at either end of the line).
The problem is the centre line doesn't extend all the way to the edge of the area:

Of course, if I then create points based on that centre line, the points will end up within the rectangular area rather than on the edge of it:

Is there some way of automatically extending the skeleton/centre line to the edge of the area?
Thanks in advance,
Dave
Tagged:
Answers
-
Hello,
This looks like a bug. I suggest that you contact Blue Marble Support directly via email (geohelp@bluemarblegeo.com). Please include a detailed description of your workflow, including screen captures of any options you use, and some data that can reproduce the problem. Thank you.
Cheers,
Bob -
Hi Bob, I have just emailed the bug report as requested. Thanks.
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 939 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 579 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 110 Global Mapper Forum Website

