Thanks for the info. Little bit hacky, but that's ok :-) On Thu, Feb 12, 2015 at 9:33 PM, Sarah Hoffmann <[email protected]> wrote:
> Hi, > > On Tue, Feb 10, 2015 at 03:53:17PM +0100, Mathias Versichele wrote: > > for a geocoding script I am developing, I would like to distinguish > between > > exact (nodes or buildings with addr:housenumber tag) and interpolated > > (addr:interpolation=*) results. Looking at the json, I can't seem to find > > any way to distinguish both types of results. The address part always > > contains 'housenumber'... > > It is currently not possible to distinguish between mapped and interpolated > housenumbers. The information is not even retained in the database because > interpolations are exploded to single housenumber nodes on import. Your > best bet would be to check first if the class/type is place/house (only > those can be interpolated) and then check if the coordinate returned > differs from the actual coordinate of the OSM node returned. Interpolated > house numbers have a computed coordinate but the id of the node the > interpolation was started from. It all sounds terribly hacky, I have to > admit. > > Interpolations are very high on the list of things that need to be > rewritten (interpolating on the fly, basically) and that would be a good > time to reconsider how they are returned. > > Sarah > -- Tel: +32 (09)/241.56.35 Mobile: +32 (0)485.16.07.08 <%2B32%20%280%29473.44.59.29> www.geointelligence.be <http://www.geointelligence.be/home-2/>
_______________________________________________ Geocoding mailing list [email protected] https://lists.openstreetmap.org/listinfo/geocoding

