[Script]Segment Smoothing Tool

This script allows you to smooth segments with poor geometry. It works as follows:

  • Select a segment
  • Click on the Scripts menu
  • Select the Segment Smoothing Tool tab
  • Click the Smooth button
  • If necessary, click the button again to increase the smoothing

The purpose is not to allow mass editing, but to make it easy to smooth segments in specific cases. Therefore, this can only be done with one segment at a time.

A limit has been implemented to prevent the user from creating a large number of geometric nodes. When this limit is reached, a message is displayed.

Download: https://greasyfork.org/pt-BR/scripts/562916-segment-smoothing-tool

28 Likes

Congrats on the script, it’s really well done.

Thanks for sharing — I’m very perfectionist (I have OCD :sweat_smile:), and this will help a lot to fine-tune details and get everything just right.

10 Likes

Nice!!!

6 Likes

Very good!! Congratulations on developing the script. :clap:t3:

5 Likes

Very interesting

Congratulations :clap:

5 Likes

That’s really great, congratulations! It’s going to solve my OCD and that of many other people, lol.

5 Likes

Thanks @georgenqueiroz great work!

7 Likes

Very useful! Thank you

6 Likes

@georgenqueiroz Great idea! Congratulations on the initiative! :grinning_face:

7 Likes

How could this affect falcon snapper? Which favore to delete the unnecessary nodes

6 Likes

Hi, @aseele , thaanks for your comment

Here are some clarifications about the script:

The idea is to help editors convert a segment with very poor geometry into an aesthetically pleasing segment that reflects the actual geometry of the road, like the one I showed in the video.

This type of poor geometry usually exists in locations where Falcon is not critical, as there are no parallel roads in the same direction.

It contains a mechanism that prevents a large number of geometric nodes from being created. When this limit is reached, a message is displayed to inform the user.

In theory, smooth geometry should actually help Snapper on curved roads, since the segment shape alings better with the curved GPS lines compared to straight lines.

Finally, it allows only one segment to be changed at a time, in order to discourage editors from making unnecessary changes

8 Likes

Super nice, @georgenqueiroz ! :clap: Congratulations and thanks for sharing your script!!!

5 Likes

Great script. Can you add a keyboard shortcut? Does not have to be pre-set, just allow us to set it in the WME settings.

6 Likes

Thanks for this script! I do a lot of basemap work, and some roads are miles long. This will definitely be a time saver. I especially like how you limit the number so editors can’t go crazy with edits.

5 Likes

Thanks for the suggestion. I’ll probably release a new version in the next few days including the shortcuts.

6 Likes

I found this post yesterday, This script has been a dream of mine for a long time!
If I knew how to write scripts, I would probably write it myself.

Two suggestions for improvement:

  1. In addition to the idea of ​​adding a keyboard shortcut, I think it would be better if the button was in th main editing panel.
  2. I noticed that the script also adds geometry points in the middle of straight sections, is there a way to fix that?
5 Likes