[OSRM-talk] external source
michal.palenik at freemap.sk
Tue Jul 29 13:21:29 UTC 2014
I am trying to reproduce the famous dublin no pub routing
which is fairly easy using postgis lua example
that would penalize all osm ways with a pub nearby. but if the way is
5km long, only the area around the pub should be bad (not whole 5km).
I assume osrm works in way:
get data (way id is unique)
lua profiles (way id still unique, each way id is processed just once)
explode into proper node/edge architecture (way id not unique)
running osrm daemon
is it possible in the 'magic' step process each segment for some
additional info (# of nearby pubs; elevation change; ..)? having way.id
and WKT/WKB available for postgis queries would be awesome.
More information about the OSRM-talk