
Hi Steve,
Coord is used as the key of a Map in lots of places.
If you change the lat or long then that also changes the hashCode and will cause a bug whenever the Coord is changed between put() and or get() on the Map.
OK, that seems to be a good argument against it, but on the other hand I think we always use IdentityHashMap because we want to find the same instance, not just an equal point, at least in StyledConverter (where I want to use the moveTo() method.
While your change may not do that it, it becomes a bug waiting to happen later on when someone else makes another change, so it is a bad idea from that point of view. I can see why you want to do it though. Do you only need to move things that are really CoordNodes?
no, I am working on a new version of the frigRoundabout method. I think it works quite good, but I can change it to also use the replacements map like removeShortArcs. See attached patch. Missing: Code to make sure that an end-point of a way connected to a roundabout is not moved too much (creating a spike). Gerd