Centre for Research into Ecological and Environmental Modelling University of St Andrews
Published
October 14, 2024
Supplement to survey design
Combining output of dssd with leaflet
Survey design with dssd
This exercise demonstrated how to examine the properties of various distance sampling survey designs. The exercise showed how to write survey locations to a GPX file, then import into Google Earth, but there’s a way to make visualisations all within R. I present here visualisations of the Tentsmuir point transect survey and a line transect survey of the coast of Ireland. The leaflet R package is used to show the placement of the survey effort.
Tentsmuir survey
Design of the survey begins with reading the unprojected shape file (coordinates likely degrees) and converting to a shape with distances measured in meters. A design is examined with allocation of point transects disproportionately between the two strata, with the smallest stratum receiving the highest allocation of effort. The final line of code in this chunk generates the coordinates of sampling stations for a realisation of this design.
Use either the +/- tools or mouse wheel to zoom and move around the map. The resulting map depicts the sampling stations as markers denoted with a binoculars icon. Hovering over the marker shows the latitude/longitude of each station. The red circles centred on each station is a circle of 100m radius, indicating the truncation distance specified in the make.design argument above. Use the measurement tool (upper right) to confirm the radius of the circles is 100m.
Warning in CPL_crs_from_input(x): GDAL Message 1: +init=epsg:XXXX syntax is
deprecated. It might return a CRS with a non-EPSG compliant axis order.
Tentsmuir study design, measuring tool top right.
Line transect survey design with strata
A different base map is used with leaflet to depict this marine survey. The basemap here shows some features of ocean bathymetry.
In contrast with the Tentsmuir survey, this begins with a projected study area map, with units of measure already in metres. Each of the six strata are given a different design.angle so as to approximate transects roughly perpendicular to the shore. Design specification is to have 15km spacing between lines within a stratum. Final line of code in this chunk produces coordinates of transects for a single realisation of this design.