Closed agila5 closed 2 years ago
Could this also help in networks where the geometries are imperfect but you want segment vertices that are close to 'snap' making a more routable network?
I think you can already snap close segments using to_spatial_contracted()
, but I think the new method may help quickly checking if the input object already has a default precision.
Added methods for st_precision
and st_set_precision
in v0.6.0. Cannot create a method for st_precision<-
since this is not a generic (TODO: open issue in sf about this?)
Btw, just like CRS, precision is always set simultaneously for both network elements, no matter which one is active.
Is your feature request related to a problem? Please describe. Define an
st_precision()
method forsfnetwork
objects following the same ideas as inst_crs()
andst_agr()
:Created on 2022-06-08 by the reprex package (v2.0.1)
Describe the solution you'd like No error.
Describe alternatives you've considered Not sure 😅