I would like to ask what is the best way to extract which way a node belongs to given a Postgresql databased generated by Osm2pgsql.
For example, in https://www.openstreetmap.org/node/4961890042, node_id of 4961890042 gives two ways Farmington Road (59440591) and Farmington Road (506461412) and I would like to have similar results by performing SQL query.
I've read some materials, it is possible that a separated table can be created by defining the style file. The current style I used is default.style and it looks like query public.planet_osm_rels
is not a good idea.