8 MOVES IN 1 CLICK - A great help for reaching 100.000 edited roads

Dear enthusiast ROADERS,
and dear Local Guides,

I want to share with you all a small tool I have thought and created to help me reaching the incredible limit of 100.000 new edited roads.

I do really like adding / editing new roads on Google Maps but, for those who are adding more than few roads a week, it is evident that the system is not “designed for this”.

IT IS A SLOW & REPETITIVE PROCEDURE

When you are - you want - adding 50, 100, 500 or more roads in a row to Google Maps you have to submit one after the other and the procedure requires

8 point and click

You have to select Road Type, then Done, Submit, Done, “HamburgerEdit the Map, Add or Fix a Road, Add a Road

Can happen that you do not hit the target with the mouse (simply you clicked too soon or near your target) and you have to restart. It is really time consuming and really tedious !!!

Since when I joined the TRAC campaign (join us) and officially started editing roads I was thinking to use a sort of “automatic system” to do this for me.

"WHY NOT JOINING THE TRAC CAMPAIGN 2025?

Months ago, I had a conservation with @MortenCopenhagen about this and we thought on how to create a “macro” to do this:

So, with zero coding experience but high determination I was able to create a small macro program to do this for me.

"I'M HAPPY TO SHARE WITH YOU"

Where to find it
In the shared folder you will see a file named: macro.py It is the small python program I did. Not perfect, not nice but it is doing what I need.
Here the link: [macro python code]

How to RUN it
It is a python code so you need python on your computer. Sorry for that. Once installed python simply type “python macro.py” at terminal shell (if you are using a Mac) or command shell (for Windows).

How it works

  • Run the code: python macro.py
    Start your editing session. Once you have edited your first line you have to instruct / teach the code which are the “move and click” he has to repeat. Do the following

  • Press CTRL-Shift-R to start recording (R = recording)

  • With the mouse click on all the place for submitting your work. Remember that are 8 moves

  • When finished press CTRL-Shift-S to stop recording (S = Stop)

  • Now do your next edit and, when finished, if all went ok

  • Press CTRL-Q (Q = … there is no reason; is only in an optimizes position on the keyboard) and the code will start to repeat the process

I do well know that looks complex; not user-friendly but my knowledge about coding was 0. Youtube, AI and other tools helped me to understand what I was looking for and to learn how to reach this. (BTW @AdamGT I was able also to solve my webscraping problem. Ready to trace all the future roaders of the next TRAC Campaign 2025 of @SholaIB )



Ohhh yes ! I know. Yes, you can add multiple roads, like the image below, and submit your 80+ roads with only 1 submit but… tell me, you prefer 15 points or 1200 points?

I hope you like it
Fell free to use / modify freely the code.
PLEASE if you find a better solution… share!

Take care and enjoy.

Marco

Thank you @MarcoDavoli

Very technical and good

Cheers

Absolutely brilliant @MarcoDavoli , will give this a try this weekend.

Super, thank you for this, I’ll test it. The problem with add roads it’s Google don’t accept them often. We will see !

A great idea Marco :+1: , but it seems, the folder is not shared :frowning_face:

I’m really happy @anon24291235 that you will test it.

I use it since late august. You can modify - easily - the shortcut for the program. CRTL-Q for me is the best combination I choose… after 30.000 submission I understood that was easy to reach for my left hand with 0 movement.

In Line 55 and 56 you will find also a “sleep time” and “click” you can modify but after many many test I found this perfect.

If the system is slow or the connection is slow you can change line 56 “time.sleep”

Let me know and if need, PM me.

Marco

It is a well known and long discussed problem, @ChrisCrn66 .
All the enthusiast “roaders” has faced this “depressive” problem and some gave-up !
Saw that you already have added 62 roads ! Great work.

This mean that you are ready to join the TRAC Team !
Com’on, join @SholaIB 's TRAC Campaign

Ciao
Marco

Ops, thanks @WilfriedB .

I have modified the permission.
Let me know if it works.

Marco

No, I still get this @MarcoDavoli :

Before writing my first comment, I also did click the button to request access. So you should have received a notification …?

Just came to me mind:
Possibly, after changing the access authority, you might have to copy the link again …?

Thanks @MarcoDavoli , you can revoke my access now

Thanks @MarcoDavoli , now I did receive a personal invitation and was able to download!
I am curious about your script. I use Python since 5 or 6 years for several purposes, but didn’t do any screen scrapping yet.

I’m pleased to hear that @MarcoDavoli and I do hope your saw my approx 19 January reply message on this.

How to gat codes @MarcoDavoli

Thanks for this suggestion @MarcoDavoli
It is unlikely that I’ll try this on my very old personal laptop, and as work is upgrading security, I won’t attempt to modify anything on the work laptop either.

Regarding your last statement about submitting many roads and clicking Submit once - that’s how I did it when I started last year, but then I think it was a comment by @ErmesT that caused me to change. Certainly 15 points for every road is better than 15 points for a whole batch of roads.

Chris, I know it can be discouraging, but I still draw roads almost every day. Sometimes I see a batch of approvals come through once per week, sometimes a bit longer. But it is never 100% as many remain Pending and expire Not Approved at 90 days.

Excellent discovery!
Let me try it.

Uhmmm… sorry.

This is a direct link!

Hello @ChrisCrn66 ,
if you have time have a look at this post.

Don’t get discouraged. If you can get through the initial moments of “discomfort,” then everything (or almost everything) becomes easier.

Take care and enjoy
Marco

Thanks a lot again, @MarcoDavoli!
I had a quick look at macro.py (without trying it yet) and saw it is based on Al Sweigart’s PyAutoGUl.
He wrote several books teaching to start with or use the Python language. In fact one of those books was the very first I did read to get started. For all who want to learn or improve the skills to use Python, I can only recommend them.

Wow this is good @MarcoDavoli . But i guess it won’t work on mobile according to your post…i mean the code. My laptop just got bad recently. Been adding alot of roads recently