You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: lonvia [Submitted to the original trac issue database at 8.13am, Sunday, 27th December 2009]
When applying a planet diff in slim mode relation geometries in the *_line and *_polygon tables are sometimes not updated. This happens when a node of a member way is moved but neither the member ways nor the relation itself has been changed.
The reason is that in middle-pgsql.c way_changed_mark is called only for modified ways (in pgsql_way_changed()) but not for those marked pending by node_changed_mark in pgsql_node_changed().
The text was updated successfully, but these errors were encountered:
Author: amm [Added to the original trac issue at 12.15am, Sunday, 28th October 2012]
I think this bug is no longer the case.
If a node gets changed, it calls the sql function node_changed_mark, which marks all of the ways that contain the node as pending. The going over pending ways function then calls the pgsql_out_ways function, which in return calls the way_changed function, marking any relations containing the way as pending. In the going over pending relations, the geometry for the relation should then correctly be rebuilt.
Lonvia, can you confirm that this is indeed the case and if yes, can you close this bug?
Reporter: lonvia
[Submitted to the original trac issue database at 8.13am, Sunday, 27th December 2009]
When applying a planet diff in slim mode relation geometries in the *_line and *_polygon tables are sometimes not updated. This happens when a node of a member way is moved but neither the member ways nor the relation itself has been changed.
The reason is that in middle-pgsql.c way_changed_mark is called only for modified ways (in pgsql_way_changed()) but not for those marked pending by node_changed_mark in pgsql_node_changed().
The text was updated successfully, but these errors were encountered: