function to generate collated well trajectories from well surface and bottomhole locations
a data fram containing columns xs, ys, xb, and yb. All values should be in lat/long
a number specifying the threshold distance for surface locations to be grouped in PADs. Units are in feet.
Latitude and longitude are assumed to be WGS84. WHT can contain extra columns, but columns named xs (surface longitude), ys (surface latitude), xb (bottomhole longitude), and yb (bottomhole) latitude are requried. Extra colums will be prserved and passed back to the user in the output.
a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.