10-14-2016 03:20 AM
I have two parallel lines representing a road in GeoMedia. I want to create a single line out of these two which would run exactly in the middle
between these two parallel lines.
Is there a way to create this middle line in GeoMedia with the aid of any GeoMedia tools?
Thanks for any ideas
Solved! Go to Solution.
10-14-2016 05:14 AM
this question appears from time to time. Althoug it might look straightforward, implementing such a tool to be general enough is not easy at all. What you are looking for is actually a topological skeleton. So the answer is no - there is no such a tool in GeoMedia.
However, if you are sure that the two lines has exactly the same distance everywhere, you can use "Copy parallel" command to copy one of the lines half of the distance.
10-14-2016 06:38 AM
I have no automatic way, but I have already made it by semi-automatic process. The idea was to generate events every x meters on each line using Transporation Manager, and after that, associate the corresponding events (same line feature id and same pk) with a Analytical Merge query, generate the middle point of the 2 associated events using Functional Attributes and generate the 'middle line' using an Analytical Merge by feature id and replace the output geometry by CREATEPOLYLINE (this last step will create a polyline joining all the middle points)