Store way change geometry in a temporary table to avoid calculating it multiple times. And use ST_LineMerge(ST_Collect(...)) to build way change geometry - ST_Union-ized geom throws TopologyException sometimes during ST_Intersection...
Store way change geometry in a temporary table to avoid calculating it multiple times. And use ST_LineMerge(ST_Collect(...)) to build way change geometry - ST_Union-ized geom throws TopologyException sometimes during ST_Intersection...

ppawel/openstreetmap-watch-list,ppawel/openstreetmap-watch-list,ppawel/openstreetmap-watch-list