% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pbf_header_reader.R
\name{read_pbf_header_bbox}
\alias{read_pbf_header_bbox}
\title{Read Bounding Box from OSM PBF Header}
\usage{
read_pbf_header_bbox(pbf_file)
}
\arguments{
\item{pbf_file}{Path to an .osm.pbf file}
}
\value{
Named list with \code{center} (c(lng, lat)) and \code{bbox} (c(lng_min, lat_min, lng_max, lat_max))
or NULL if bbox not found or file invalid
}
\description{
Extracts the bbox from the HeaderBlock of an OSM PBF file using pure R.
This reads only the first header blob (OSMHeader), not the data blocks.
}
\keyword{internal}
