set_longitudes
- set_longitudes(gpt, longitudes)
Creates a new
Geopointswith all the longitudes ingptreplaced bylongitudes.- Parameters
gpt (
Geopoints) – input geopointslongitudes (number or list or ndarray) – longitudes to be written into
gpt
- Return type
If
longitudesis a number all the longitudes are replaced with it. Iflongitudesis a list or ndarray and is shorter than the geopoints count then only the first values that have a corresponding value inlongitudesare changed.