Displays the number of geo-nodes in a segment in Waze Map Editor and warns if segment is too complex.
This script shows the number of geo-nodes in a given selection of segments,
within the segment attribute panel of Waze Map Editor (WME),
under additional attributes section at the bottom.
It warns if a segment is too complex (i.e. has too many nodes), which will prevent
it from being saved on the Backend.
Warnings are shown (once per 30 seconds block) when one of the selected segments
exceeds the soft-threshold of 450 nodes.
Error notification is shown when exceeding the hard-threshold of 500 nodes.
If node counts for none of the selected segments exceed the soft or hard threshold,
count is shown normally.