Closed echeipesh closed 6 years ago
Python doesn't have a standard way to build a range using using decimal increments. Users are usually guided to use np.arange in situation like this:
np.arange
color_map = gps.ColorMap.build( np.arange(0, 6, 0.2), 'magma')
Since GeoPySpark already depends heavily on numpy to serialize RDDs of tiles it seems reasonable to support the arange in place of a list.
arange
Python doesn't have a standard way to build a range using using decimal increments. Users are usually guided to use
np.arange
in situation like this:Since GeoPySpark already depends heavily on numpy to serialize RDDs of tiles it seems reasonable to support the
arange
in place of a list.