You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As previously discussed in #903 (comment), the behavior of affine transformations is not homogeneous depending on the operation:
translating with a vector of length two translate all geometries with these two values
scaling with a vector of length N scales geometry N by value N
Would it be possible to add another syntax, e.g. st_geometry(*) + list(<vector>, <vector>) that would translate geometry N by values N? This would make more straightforward to translate geometries in a data frame using data from other columns. One additional question is how vectors of length one should be treated (i.e. recycle or throw an error).
As previously discussed in #903 (comment), the behavior of affine transformations is not homogeneous depending on the operation:
Would it be possible to add another syntax, e.g.
st_geometry(*) + list(<vector>, <vector>)
that would translate geometry N by values N? This would make more straightforward to translate geometries in a data frame using data from other columns. One additional question is how vectors of length one should be treated (i.e. recycle or throw an error).To Reproduce
The text was updated successfully, but these errors were encountered: