[OSRM-talk] Traffic Signal Penalties
Emil Tin
emil at tin.dk
Wed Apr 17 05:02:36 UTC 2013
the current implemenation does no grouping of signals.
maybe you already know this, but it's not enough to just insert a node at the right position - it needs to be part of the way.
it's possible that you can insert several nodes (as part of a way) on the same coordinate, although that would lead to segment with length zero. you will have to see if that breaks something.
emil
On Apr 16, 2013, at 23:31 , Jeffrey Mealo <jmealo at stringtheoryschools.com> wrote:
> Hello,
>
> I was wondering if I insert multiple traffic signal nodes at the same coordinates to indicate that multiple crimes occurred there. Would that incur n number of penalties, or, would it only incur one since they have the same coordinates?
>
> Workflow:
> Reduce 609,000 crimes to 203,000 unique points
> I call /nearest via OSRM's REST API to "snap" each unique point to the road network
> Generate an OSM change set that specifies a traffic signal node for each of the 603,000 crimes, using the "snapped" coordinates
> I would like to weigh the traffic signal using tags according to how many crimes; but it looks like that's a todo.
>
> Regards,
>
> Jeffrey Mealo
> SafestWay
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osrm-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20130417/986655f7/attachment.html>
More information about the OSRM-talk
mailing list