<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Mateusz, hi @all,</p>
<p>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:</p>
<ul>
<li>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.<br>
</li>
</ul>
<ul>
<li>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?</li>
</ul>
<p>(I couldn't get my hands on my machine until just now, thus my
asking before trying)<br>
</p>
<p>All the best,</p>
<p>André<br>
</p>
<p><br>
</p>
<p>On 7/27/20 5:45 PM, Mateusz Loskot wrote:<br>
</p>
<blockquote type="cite"
cite="mid:CABUeae_QsS2s-MCRcGmxOh0oe0zEyyoEsRDD1bnV_Hj2vx7tJg@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">On Mon, 27 Jul 2020 at 11:43, André Siefken <a class="moz-txt-link-rfc2396E" href="mailto:siefken@geozelot.com"><siefken@geozelot.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
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?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
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,
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
pgp-key attached</pre>
</body>
</html>