Hi Mateusz, hi @all, thanks a lot, that does sound promising. I know you said it's been a while, but you may have a better idea still about two things:
* assuming I would attempt to replace the result.ref with the actual way ID, how would I retrieve the actual ID from the passed in way, as it is no tag? Can I use property notation like way.id or similar? I can't seem to find a function, or any other attempt to access a first level property other than tags, but I may have missed it. * can I simply add items to the result object (i.e. result.id), or would they not get piped through to the actual output result set, or even error out? (I couldn't get my hands on my machine until just now, thus my asking before trying) All the best, André On 7/27/20 5:45 PM, Mateusz Loskot wrote: > On Mon, 27 Jul 2020 at 11:43, André Siefken <sief...@geozelot.com> wrote: >> Can I easily change the tag selection, somewhere in the code (and rebuild), >> to fetch the way ID instead? Or is there even are profile setting for this? > It's been a while, but try to customise the Lua profile scripts > assigning custom properties to `result` created in node_function > and way_function. > > Best regards, -- pgp-key attached
0x0024705C4FC20AF6.asc
Description: application/pgp-keys
_______________________________________________ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk