set_latitudes
- set_latitudes(gpt, latitudes)
Creates a new
Geopoints
with all the latitudes ingpt
replaced bylatitudes
.- Parameters
gpt (
Geopoints
) – input geopointslatitudes (number or list or ndarray) – latitudes to be written into
gpt
- Return type
If
latitudes
is a number all the latitudes are replaced with it. Iflatitudes
is a list or ndarray and is shorter than the geopoints count then only the first values that have a corresponding value inlatitudes
are changed.