map2loop.utils.create_points#
- map2loop.utils.create_points(xy: list | tuple | ndarray) ndarray #
Creates a list of shapely Point objects from a list, tuple, or numpy array of coordinates.
- Parameters:
xy (Union[list, tuple, numpy.ndarray]) – A list, tuple, or numpy array of coordinates,
point. (where each coordinate contains two elements representing the x and y coordinates of a)
- Returns:
shapely.points – A list of Point objects created from the input list of coordinates.