Changes between Initial Version and Version 1 of Ticket #9673, comment 12


Ignore:
Timestamp:
2020-07-30T08:15:23+02:00 (4 years ago)
Author:
GerdP

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9673, comment 12

    initial v1  
    22That's wrong. The order depends on the ids of the nodes of the first way of a ring. The current algo looks at the end nodes of the first way and picks the node with the lower id to find the next way in the ring.
    33
    4 So, if the existing relation is ordered in a different way it will be reordered. An alternative algo could use the existing order given by the first two ways to calculate the direction. If they are connected this would give the "wanted" direction in which the following ways should be added to complete the ring, if not any order would be correct.
     4So, if the existing relation is ordered in a different way it will be reordered. An alternative algo could use the existing order given by the first two ways to calculate the direction. If they are connected this would give the "wanted" direction in which the following ways should be added to complete the ring, if not any direction would be correct.