<div dir="ltr">Thanks for the info. Little bit hacky, but that's ok :-)</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 9:33 PM, Sarah Hoffmann <span dir="ltr"><<a href="mailto:lonvia@denofr.de" target="_blank">lonvia@denofr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Tue, Feb 10, 2015 at 03:53:17PM +0100, Mathias Versichele wrote:<br>
> for a geocoding script I am developing, I would like to distinguish between<br>
> exact (nodes or buildings with addr:housenumber tag) and interpolated<br>
> (addr:interpolation=*) results. Looking at the json, I can't seem to find<br>
> any way to distinguish both types of results. The address part always<br>
> contains 'housenumber'...<br>
<br>
</span>It is currently not possible to distinguish between mapped and interpolated<br>
housenumbers. The information is not even retained in the database because<br>
interpolations are exploded to single housenumber nodes on import. Your<br>
best bet would be to check first if the class/type is place/house (only<br>
those can be interpolated) and then check if the coordinate returned<br>
differs from the actual coordinate of the OSM node returned. Interpolated<br>
house numbers have a computed coordinate but the id of the node the<br>
interpolation was started from. It all sounds terribly hacky, I have to<br>
admit.<br>
<br>
Interpolations are very high on the list of things that need to be<br>
rewritten (interpolating on the fly, basically) and that would be a good<br>
time to reconsider how they are returned.<br>
<span class="HOEnZb"><font color="#888888"><br>
Sarah<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="Calibri Light, sans-serif">Tel: <a href="tel:%2B32%20%2809%29%2F241.56.35" value="+3292415635" style="color:rgb(17,85,204)" target="_blank">+32 (09)/241.56.35</a><br></font><span style="font-family:'Calibri Light',sans-serif">Mobile: <a href="tel:%2B32%20%280%29473.44.59.29" value="+32473445929" style="color:rgb(17,85,204)" target="_blank">+32 (0)485.16.07.08</a><br></span><a href="http://www.geointelligence.be/" style="color:rgb(17,85,204);font-family:'Calibri Light',sans-serif" target="_blank">www.geointelligence.be</a><br><a href="http://www.geointelligence.be/home-2/" title="GeoIntelligence" rel="home" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.geointelligence.be/wp-content/uploads/2014/07/GeoIntelligence-logo.png" alt="" style="min-height:61px;margin-top:9.5px"></a><br></div></div>
</div>