I am no longer seeing the behaviour I mentioned before. Not sure what caused it, but now I see the same thing you mention, so disregard my request. :/carloslaso wrote:I believe that is a WME thing and not anything this script does, If I do what you say, either fwdMaxSpeed or revMaxSpeed keeps the null value and you have to add the SL on the other way.PesachZ wrote: Go to one way segment with no speed data, click to add SL with script.
Change segment to two way
Observe that both directions now have same speed.
Perhaps the script can detect segment direction, or if a field is hidden, and only add speed to allowed directions?
If the segment is two ways and you add the SL, then you change it to one way, the segment keeps the SL on fwdMaxSpeed and revMaxSpeed even if it is now a one way street.
This was done on segments on the ROW server on the WME version we got today.
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum
I think I found a bug, when using the speed helper to set the speed for a speed camera.
If I have my wme set to metric and use the buttons to enter a SL on a segment it converts the value to the metric equivalent to be entered in the segment. For example if I click on 25 MPH while WME is set to metric, it inputs 40 kph. This is how it should work and is fine.
But if I do the same thing on a speed camera (click on the 25 MPH sign button while WME is set to metric), it puts 25 in the input field, which then will set the camera to trigger at 16 MPH.
Please let me know if you need samples, or if you need me to explain better. It seems the conversion code which adjusts the input values is not active for the speed cam settings.
If I have my wme set to metric and use the buttons to enter a SL on a segment it converts the value to the metric equivalent to be entered in the segment. For example if I click on 25 MPH while WME is set to metric, it inputs 40 kph. This is how it should work and is fine.
But if I do the same thing on a speed camera (click on the 25 MPH sign button while WME is set to metric), it puts 25 in the input field, which then will set the camera to trigger at 16 MPH.
Please let me know if you need samples, or if you need me to explain better. It seems the conversion code which adjusts the input values is not active for the speed cam settings.
https://s.waze.tools/gc.pngNYhttps://j.mp/1xPiWC8https://j.mp/1C9mUY2
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum
Formal Mentoring, Wiki
Useful Wiki pages
URs & etiquette | WME | Editing Manual | Quick-Start Guide | Best Map Editing Practices | Junctions
State specific Wiki | Forum
Great tool.
Please add Liechtenstein too:
Please add Liechtenstein too:
- country name & Waze abbreviation = Liechtenstein - LS
- The list of possible speeds as displayed on the roadsigns = 30-40-50-60-80-100-120
- Kph or mph? = Kph
Sweden - SW
20-30-40-50-60-70-80-90-100-110-120
km/h
Red circle, yellow background (Wihte background it's ok)
20-30-40-50-60-70-80-90-100-110-120
km/h
Red circle, yellow background (Wihte background it's ok)
Country Manager, Sweden
https://s.waze.tools/c5.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/cm.pnghttps://s.waze.tools/lc.png
https://s.waze.tools/c5.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/cm.pnghttps://s.waze.tools/lc.png
Hello Gert.
Please add limit 7 km/h with sign http://www.transportstyrelsen.se/sv/vag ... rtsomrade/ (If you want, you can use same as i Germany) to Sweden - SV?
Thanks.
Please add limit 7 km/h with sign http://www.transportstyrelsen.se/sv/vag ... rtsomrade/ (If you want, you can use same as i Germany) to Sweden - SV?
Thanks.
Country Manager, Sweden
https://s.waze.tools/c5.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/cm.pnghttps://s.waze.tools/lc.png
https://s.waze.tools/c5.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/cm.pnghttps://s.waze.tools/lc.png
- country name Ethiopia Waze abbreviation ET
- 30, 50, 60 & 100
- Kph
Polordonez
Editor voluntario en El Salvador, Ethiopia.
https://s.waze.tools/cm.pngimages/ranks/MapRaider_Badge_63px.pnghttps://storage.googleapis.com/wazeoped ... -_65px.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c5s.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/rpQmxhx/Mega-Mappers-Badge-01.png
Editor voluntario en El Salvador, Ethiopia.
https://s.waze.tools/cm.pngimages/ranks/MapRaider_Badge_63px.pnghttps://storage.googleapis.com/wazeoped ... -_65px.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c5s.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/rpQmxhx/Mega-Mappers-Badge-01.png
Thanks for the update!
Just a minor case: If a speedlimit is unverified, it won't be verified by clicking on a speedlimit, it will be only changed. Or is that a problem of WME directly?
Just a minor case: If a speedlimit is unverified, it won't be verified by clicking on a speedlimit, it will be only changed. Or is that a problem of WME directly?
https://s.waze.tools/cm.pnghttps://s.waze.tools/lcde.pnghttps://sign.waze.tools/c5s.pnghttps://sign.waze.tools/betc.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/s0300.png
Discord: pox#6098
Discord: pox#6098
It seems that this row (364) has the error (or one of them):Error Message:
Code: Select all
document.querySelector("div.speed-limit-editor wz-label").insertAdjacentElement("afterend", signsholder);
Code: Select all
Uncaught TypeError: Cannot read properties of null (reading 'insertAdjacentElement')
at WMESpeedhelper_init.WMESpeedhelper.makeSigns (userscript.html?name=WME-Speedhelper.user.js&id=8c3ef6d4-a192-4cc0-a862-8e58b6cedb38:364:70)
at WMESpeedhelper_init (userscript.html?name=WME-Speedhelper.user.js&id=8c3ef6d4-a192-4cc0-a862-8e58b6cedb38:497:20)
at WMESpeedhelper_bootstrap (userscript.html?name=WME-Speedhelper.user.js&id=8c3ef6d4-a192-4cc0-a862-8e58b6cedb38:188:5)
https://s.waze.tools/cm.pnghttps://s.waze.tools/lcde.pnghttps://sign.waze.tools/c5s.pnghttps://sign.waze.tools/betc.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/s0300.png
Discord: pox#6098
Discord: pox#6098
Can you please add Namibia to the list, Gert?
WA
20, 40, 60, 80, 100, 120
kph
Standard Red Circle
Many thanks!
WA
20, 40, 60, 80, 100, 120
kph
Standard Red Circle
Many thanks!
Eben
https://s.waze.tools/s0800.pnghttps://s.waze.tools/c6s.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/mcbLSsT/ZA.pnghttps://i.ibb.co/gzKMr4P/ZM.pnghttps://i.ibb.co/ryzXhVk/BW.pnghttps://i.ibb.co/rddwvdj/NA.pnghttps://i.ibb.co/wMPVVnp/KE.png
CM: ZA, ZIM; AM: BW, NA, KE
https://s.waze.tools/s0800.pnghttps://s.waze.tools/c6s.pnghttps://s.waze.tools/beta.pnghttps://i.ibb.co/mcbLSsT/ZA.pnghttps://i.ibb.co/gzKMr4P/ZM.pnghttps://i.ibb.co/ryzXhVk/BW.pnghttps://i.ibb.co/rddwvdj/NA.pnghttps://i.ibb.co/wMPVVnp/KE.png
CM: ZA, ZIM; AM: BW, NA, KE
I've noticed that sometimes, for some reason Speedhelper does not apply selected speeds to all segments when more than 1 is selected, the last selected segment gets updated only one way. Haven't yet figured out how to reproduce it, happens only sometimes...
Oletko jo käynyt Waze Finlandin Discordissa, rennompaa jutustelua ja muihin editoreihin tutustumista: https://discord.gg/GnqERGJUpB
https://i.ibb.co/X36kJbj/Banner1-M-Megamapper.png
Global Champ
Country Manager
Community, Partner, Localization and Mentoring Coordinator
First Responder
Beta WME & Android
Finland
https://i.ibb.co/X36kJbj/Banner1-M-Megamapper.png
Global Champ
Country Manager
Community, Partner, Localization and Mentoring Coordinator
First Responder
Beta WME & Android
Finland
Re: [Script] WME Speedhelper