Page 1 of 2

Script idea

Posted: Sun Jan 05, 2014 10:32 pm
by kpouer
Hi,
when editing in africa, sometimes people are paving roads but it is very hard to find them because they don't say it, and it can be anywhere and searching in thousand of kilometers at 200m zoom level is not very efficient.
An idea of script would be a "scanner" that would scan a box and find if there are unedited roads.
When finding them it could give a permalink.

Re: Script idea

Posted: Sun Jan 05, 2014 10:39 pm
by AlanOfTheBerg
That requires a script to make it's own calls against the Waze database, essentially scraping road data not in the current view. Waze does not want these kinds of scripts to be written or used, last time we checked.

Re: Script idea

Posted: Sun Jan 05, 2014 11:32 pm
by AlanOfTheBerg
Unconfirmed (red) roads show at all zoom levels to me. However, only those added in the editor directly will show. Paved roads, I don't believe, show up the same way.

Re: Script idea

Posted: Tue Jan 28, 2014 8:15 pm
by berestovskyy
kpouer wrote:The problem is that it it is too slow
It could be much (few times) faster, but I need to check if it's OK with Waze staff.

At the moment that's the maximum speed I can squeeze out of the WME, sorry :(

Re: Script idea

Posted: Tue Jan 28, 2014 8:29 pm
by berestovskyy
Sure, but it's kind of a low level protocol and it need to be approved by the Waze staff.

Re: Script idea

Posted: Wed Jan 29, 2014 10:53 pm
by berestovskyy
You get ~0,5K segment at zoom 4 over Paris, ~74K segments at zoom 0 and ~188K segments at zoom 0 over New Delhi.

I'm afraid WME won't work well with so many segments :(

Re: Script idea

Posted: Sun Jan 05, 2014 10:40 pm
by kpouer
Ok I understand that, because it could cause heavy load on the database. So I continue stalking the map.

In fact another solution would be that WME would show them at every zoom level, it would help a lot.

Re: Script idea

Posted: Sun Jan 05, 2014 11:38 pm
by kpouer
No only roads created in the editor shows at all zoom level. Paved roads with the client are showing at 200m but are editable at 100 only.

Re: Script idea

Posted: Sun Jan 26, 2014 10:58 pm
by kpouer
The problem is that it it is too slow, it takes several minutes to scan and the max width of the screen is around 40km. I'm working on Algeria and it is big as 1/4 USA and The drivers are paving sometimes but do not validate the roads and do not tell me, so it can be anywhere

Re: Script idea

Posted: Tue Jan 28, 2014 8:17 pm
by kpouer
I understand, it would cause heavy load on the server. Do you know if the api allow to ask for a specific type of road only instead of getting everything?