st_normalize
transforms the coordinates in the input feature to fall
between 0 and 1. By default the current domain is set to the bounding box of
the input, but other domains can be used as well
st_normalize(x, domain = st_bbox(x), ...)
x | object of class sf, sfc or sfg |
---|---|
domain | The domain |
... | ignored |
#>#> Geometry set for 2 features #> geometry type: POINT #> dimension: XY #> bbox: xmin: -30 ymin: 20 xmax: 7 ymax: 52 #> CRS: EPSG:4326#>#>#> xmin ymin xmax ymax #> 0 0 1 1