I read through the old
poi-tagged-v3.patch

is_in()function for point on line discussion - but what I want is actually different and should be much easier?

Could there be a solution to check if a point is a single point vs if it is part of a open/closed line? 
Why?

I would only like to display barrier/highway=gate point icons if they are part of a (best routable) line. Especially for gates  most are just useless clutter because they are tagged on private houses and similar. 

If there was a way to delete afterwards/or create only in first place those points that are part of a line would be good, best would be if they are only shown if part of a routable line (so after the lines stye-file is processed).

--
Felix Hartman - Outdoormaps LTD - Openmtbmap.org & VeloMap.org