Spatially Explicit Capture-Recapture for Linear Habitats