% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export_geotiff.R
\name{.distance_to_nearest_m}
\alias{.distance_to_nearest_m}
\title{Internal: distance (metres) from each raster cell to the nearest survey point}
\usage{
.distance_to_nearest_m(pts_lon, pts_lat, rast)
}
\description{
For each cell centre, finds the minimum Euclidean distance to any survey
point and converts to approximate metres. Used as the uncertainty band.
Chunked to stay within memory budget.
}
\keyword{internal}
