read_extent_polygon: Read and Validate Extent Polygon

View source: R/read_validate_files.R

read_extent_polygonR Documentation

Read and Validate Extent Polygon

Description

This function reads and validates a polygon file containing the extent. It checks if the file has the correct format and extracts the geometry.

Usage

read_extent_polygon(file_path, show_modal = FALSE)

Arguments

file_path

Path to the polygon file containing the extent.

show_modal

Optional. Logical. Whether to show a modal notification for warnings. Default is FALSE.

Value

A spatial object representing the extent if the file is valid, NULL otherwise.


glossa documentation built on Oct. 15, 2024, 5:08 p.m.