Commit 925ecd57 authored by jlaura's avatar jlaura Committed by Kelvin Rodriguez
Browse files

Changes the func that was making N/S point less ense (#332)

parent 85ebeb1d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -366,8 +366,6 @@ def distribute_points_in_geom(geom):
    elif ns==True:
        # Class, north/south poly, multi-point
        nspts = int(round(long, 1) * 10)
        if nspts >= 5:
            nspts = int(nspts/(nspts/3))
        ewpts = max(int(round(short, 1) * 5), 1)
        if nspts == 1 and ewpts == 1:
            valid = single_centroid(geom)
@@ -376,8 +374,6 @@ def distribute_points_in_geom(geom):
    elif ew == True:
        # Since this is an LS, we should place these diagonally from the 'lower left' to the 'upper right'
        nspts = max(int(round(short, 1) * 5), 1)
        if nspts >= 5:
            nspts = int(nspts/(npts/3))
        ewpts = int(round(long, 1) * 10)
        if nspts == 1 and ewpts == 1:
            valid = single_centroid(geom)