getBbox | R Documentation |
Standard is a rectangle based on coordinates of outer hydros +- the buffer in meters
getBbox(hydros, buffer = 100, eps = 0.001, pen = 1e+06)
hydros |
Dataframe from simHydros() or Dataframe with columns hx and hy containing positions of the receivers. Translate the coordinates to get the grid centre close to (0;0). |
buffer |
Number of meters the spatial domain extends beyound the outer hydros. |
eps |
Specifies how well-defined the borders are (eps=1E-2 is very sharp, eps=100 is very soft). |
pen |
Specifies the penalty multiplier. |
Vector of lenght 6: c(x_min, x_max, y_min, y_max, eps, pen). Limits are given in UTM coordinates.
hydros <- ssu1$hydros
colnames(hydros) <- c('serial','hx','hy','hz','sync_tag','idx')
bbox <- getBbox(hydros)
plotBbox(hydros, bbox)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.