Ignore:
Timestamp:
2018-12-08T14:19:23+01:00 (6 years ago)
Author:
Don-vip
Message:

see #16073 - handle entries where centroid does not lie in shape (like Canadian 'British Columbia Mosaic')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Geometry.java

    r14273 r14521  
    840840        BigDecimal east = BigDecimal.ZERO;
    841841
    842         // See https://en.wikipedia.org/wiki/Centroid#Centroid_of_a_polygon for the equation used here
     842        // See https://en.wikipedia.org/wiki/Centroid#Of_a_polygon for the equation used here
    843843        for (int i = 0; i < size; i++) {
    844844            EastNorth n0 = nodes.get(i);
Note: See TracChangeset for help on using the changeset viewer.