set_value2s
- set_value2s(gpt, values)
Creates a new
Geopointswith the value2 column ingptreplaced byvalues.- Parameters
gpt (
Geopoints) – input geopointsvalues (number or list or ndarray) – values to be written into the value2 column of
gpt
- Return type
If
valuesis a number all the values are replaced with it. Ifvaluesis a list or ndarray and is shorter than the geopoints count then only the first values that have a corresponding value invaluesare changed.Warning
set_value2s()only works forGeopointswith ‘xy_vector’ or ‘polar_vector’ type.