% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export_geotiff.R
\name{export_contours}
\alias{export_contours}
\title{Export optional contour lines as a GeoPackage for QGIS}
\usage{
export_contours(tif_path, interval = 0.1, gpkg_path = NULL)
}
\arguments{
\item{tif_path}{Character. Path to the GeoTIFF produced by \code{\link[=export_geotiff]{export_geotiff()}}.}

\item{interval}{Numeric. Contour interval in suitability units (default \code{0.1},
producing lines at 0.1, 0.2, ... 0.9).}

\item{gpkg_path}{Character. Output \code{.gpkg} path. Defaults to same directory
as the \code{.tif} with \verb{_contours.gpkg} suffix.}
}
\value{
The \code{.gpkg} file path (invisibly).
}
\description{
Derives contour lines from the IDW suitability raster and saves them as a
vector GeoPackage (\code{.gpkg}). Load alongside the heatmap in QGIS for the
depth-contour look shown in BioBase outputs.
}
\examples{
\donttest{
export_geotiff(result, "oyster_heatmap.tif")
export_contours("oyster_heatmap.tif")
}
}
