Changeset 8303 in josm for trunk/test/unit/org/openstreetmap

Timestamp:
2015-05-01T21:33:01+02:00 (10 years ago)
Author:
Balaitous
Message:

fix #7421 - Circle created from way heads always clockwise

  • If 3 nodes closed way is selected, keep way direction when creating circle;
  • Otherwise use left- and right-hand traffic database (r7193) to determine way direction;
  • Add a Geometry.isClockwise(List<Node>) method;
  • Fix some sonar issue
  • Add test case
File:
1 added

Note: See TracChangeset for help on using the changeset viewer.