I would like to know the following with osm2pgsql (i.e. openstreetmap-carto): If you have a node with tags, do you know which ways this node is on? http://wiki.openstreetmap.org/wiki/Osm2pgsql/schema seems to suggest that the table planet_osm_point allows no reference to underlying ways.
- There is node railway=halt on a way railway=*. Is there a possiblity to know wether this node is on a railway=rail or on railway=tram?
- There is node highway=bus_stop. Is there a possibility to know wether this node is on a closed way public_transport=platform?