Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Post Reply
Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Roadwork Tool

Post by kpouer
Hi,
I would like to introduce you a new tool. I presented it during the EMEA meetup 2022.
It is not an addon or even a website (because I don't like web development) but a desktop software.

My goal was to provide support to editors doing road closure in Waze.
Many of them use Opendata ( https://en.wikipedia.org/wiki/Open_data ). Opendata are published by municipalities, government, road operators and can contains various information. The information that I was interested in are road closure.
The problem of Opendata is that everytime you get the data you get everything and it is hard to track changes.
My tool is here to help you with that.

It will connect to Opendata services and show you the roadworks on a map. Then you click on them and will read information and eventually open WME permalink (there is a button for that). Then you can set a status (done, later, ignored, treated, finished). The app will remember that status for the next time you will reload the data.

It currently supports 8 cities (most in France as I am french), but it is easy to support more cities even for a non developper.

The whole project is Opensource under Apache Licence 2.0 written in Java.
You can get it here https://github.com/kpouer/Roadwork

https://github.com/kpouer/Roadwork/raw/ ... enshot.jpg

Currently it is packaged for Windows (but it can easily run on Mac and Linux, contact me if you have any problem, I know I have to work on packaging).

I am open to any suggestion or idea, or bug report (the app is very new).

The most important for me would be to add support to many more cities and countries. And it is here that I need your help.

Finding opendata services is not easy, but integrating them is not a problem when they are found.

So if you know some sources I could add, I would be glad to do it.
For example in the case of Paris it looks like this : https://opendata.paris.fr/explore/datas ... ive.statut

I can support almost any json format, but adding other format such as XML or CSV would not be a problem.
What is important is that all roadworks described should contains coordinates, start and end date, then a description of the impact (like road closed) so the editor knows what to do.

I have a limitation, it is running on ROW tile server, but if you find some opendata services in USA or Israel, I will be happy to integrate them and find a solution to support US and IL tile servers.
Also I planned to add a synchronization server in order to allow team members to synchronize their work, but it is not yet available or even tested.
 
kpouer
Coordinators
Coordinators
Posts: 7625
Has thanked: 120 times
Been thanked: 1085 times
Area manager entre Paris et l'Auvergne
Coordinateur France
Country Manager Algérie http://www.facebook.com/WazeAlgerie & twitter: http://twitter.com/WazeAlgerie
Country Manager west Africa

Post by goncalovm76
Pretty cool, and well done! :)
Thanks, and warm regards from Portugal.
goncalovm76
Waze Local Champs
Waze Local Champs
Posts: 108
Has thanked: 376 times
Been thanked: 53 times
goncalovm76 - LC, CM Portugal, R6, Beta Leader, Mentor, Localization Coordinator
Gonçalo Ventura Martins
https://i.ibb.co/RBmYFhF/Local-Champs.pnghttps://i.ibb.co/GsTFtkL/Mentors.pnghttps://i.ibb.co/9TnCJKm/Localizers.png
In memoriam of Iainhouse https://i.ibb.co/ZNbYyt5/RIPIain.png

Post by kpouer
Hello @Linguasaltitante, I did take a look, it is not easy for me to navigate into the website as I don't speak portugese.
At first sight it doesn't seems to be opendata. I mean that I can retrieve the info and use them, but it is somehow "illegal" as I would be scrapping data without authorization. And there is always the risk they change their system and it breaks everything.
I did it anyway as I suppose if we don't do thousand of queries they don't mind, however I would prefer not distribute officially with the app so it remains completely "legal". But I could distribute descriptors for such cases separately (it's just a file to copy) so it would work.

I have some things to change to be able to support it completely (their url contains query parameters that I have to understand to find a way to handle them).

Here is a preview of Porto data
Porto.jpg
(293.41 KiB) Downloaded 211 times
 

 
 
 
 
 
kpouer
Coordinators
Coordinators
Posts: 7625
Has thanked: 120 times
Been thanked: 1085 times
Area manager entre Paris et l'Auvergne
Coordinateur France
Country Manager Algérie http://www.facebook.com/WazeAlgerie & twitter: http://twitter.com/WazeAlgerie
Country Manager west Africa

Post by kpouer
In fact the risk is not important : the website is calling that url (with a few changes depending on the date) https://transito.cm-porto.pt/publico/ru ... 000&where=((%272022%2F07%2F01%27%20BETWEEN%20d_ini%20AND%20d_fim)%20OR%20(d_ini%20BETWEEN%20timestamp%20%272022%2F06%2F30%2023%3A00%3A00%27%20AND%20timestamp%20%272022%2F07%2F01%2022%3A59%3A59%27)%20OR%20(d_fim%20BETWEEN%20timestamp%20%272022%2F06%2F30%2023%3A00%3A00%27%20AND%20timestamp%20%272022%2F07%2F01%2022%3A59%3A59%27))&outFields=*&outSR=102100&spatialRel=esriSpatialRelIntersects
Including Porto in the app would call the same url. They could eventually detect it  and be annoyed but if it is reasonable I don't think theyt would do it.
I'll update my app and explain you how to do it.
kpouer
Coordinators
Coordinators
Posts: 7625
Has thanked: 120 times
Been thanked: 1085 times
Area manager entre Paris et l'Auvergne
Coordinateur France
Country Manager Algérie http://www.facebook.com/WazeAlgerie & twitter: http://twitter.com/WazeAlgerie
Country Manager west Africa

Post by kpouer
Hey,
I just released a new version.

The main update is that it now supports switching tile servers so I can include sources from Israel and USA. And for the demo I added data from San Francisco.

Everything is there, please let me know if you have any issue or suggestion.

https://github.com/kpouer/Roadwork/releases/tag/1.3.0

My main problem is to find sources.

I found some for Chicago but almost empty, and the only source I found for Los Angeles was only about LAX airport. But I am sure there are many sources everywhere in the world.

To know how it looks should look like, here is what I found for San Franciscohttps://dev.socrata.com/foundry/data.sfgov.org/8x25-yybr
giving the following json url https://data.sfgov.org/resource/8x25-yybr.json

Code: Select all

[{"objectid":"183508","case_num":"225693","case_name":"SKYLINE CAPITAL BUILDERS","type":"STP","status":"Permitted","start_date":"2022-07-27T00:00:00.000","start_time":"00:00:00","start_dt":"2022-07-27T00:00:00.000","end_date":"2022-07-27T00:00:00.000","end_time":"23:59:00","end_dt":"2022-07-27T23:59:00.000","loc_desc":"19TH ST between BRYANT ST and YORK ST","cnn":"961000","street":"19TH ST","from_st":"YORK ST","to_st":"BRYANT ST","info":"to perform:concrete placement and shotcrete activities\nlocation: 19th st between bryant and york sts \ndate/time: jul 27, 2022 (wed)7:00 am to 7:00 pm\nlane requirements: (to be kept open) 19th st1@12 e reversible lane()north walkway4s path 2 opensout","start_utc":"2022-07-27 08:00:00","end_utc":"2022-07-28 07:59:00","shape":{"type":"LineString","coordinates":[[-122.409035,37.760544],[-122.409996,37.760487]]},"created_date":"2022-07-18T18:00:32.000","last_edited_date":"2022-07-18T18:00:32.000","data_loaded_at":"2022-07-18T12:30:08.852"}}
If you find some, let me know it is usually very quick to integrate.
 
kpouer
Coordinators
Coordinators
Posts: 7625
Has thanked: 120 times
Been thanked: 1085 times
Area manager entre Paris et l'Auvergne
Coordinateur France
Country Manager Algérie http://www.facebook.com/WazeAlgerie & twitter: http://twitter.com/WazeAlgerie
Country Manager west Africa

Post by linguasaltitante
Hello,

First, allow me to congratulate you for your presentation and work. I was one of those that was online assisting to EMEA meetup.

I don't understand anything of development, so I don't know if it's possible to collect the info that you need for your tool from this particular site from Porto city, in North of Portugal.

If the info you need for your tool is (easily!?) available on such site, it would be nice to have Porto city between those that you already have on your tool.

Best regards 
 
 
linguasaltitante
Map Editor - Level 5
Map Editor - Level 5
Posts: 274
Has thanked: 63 times
Been thanked: 125 times

Post by linguasaltitante
kpouer wrote: Fri Jul 01, 2022 8:07 pm Hello @Linguasaltitante, I did take a look, it is not easy for me to navigate into the website as I don't speak portugese.
At first sight it doesn't seems to be opendata. I mean that I can retrieve the info and use them, but it is somehow "illegal" as I would be scrapping data without authorization. 

 
Hello  :)
 
Thank you for your answer. I do not want to cause any trouble to you, because of something illegal. I do understand that if such data isn't covered by an opendata license, then we are messing where we shouldn't  ;)

 
 
linguasaltitante
Map Editor - Level 5
Map Editor - Level 5
Posts: 274
Has thanked: 63 times
Been thanked: 125 times

Post by phuz
Very cool to see someone with a similar thought process.

We've been working on WME DOT Advisories (for US only).  Something you might want to incorporate is traffic cameras.  We have a separate script for that (WME DOT Cameras) which overlays camera icons in WME and will play the stream or image right there.  Both scripts are very helpful with URs.  There's a thread on here for each one.  Check it out and let me know if I can help you at all.
 
phuz
State Manager
State Manager
Posts: 176
Has thanked: 45 times
Been thanked: 205 times