crs_detect_zone_2000
Detect the correct PUWG 2000 zone for a longitude or bounding box. Returns zone and warns if data straddles multiple zones to guide reprojection.
Instructions
Pick the right PUWG 2000 (CS2000) zone for a longitude or area.
Pass either lon (a single longitude in degrees) or bbox as
[xmin, ymin, xmax, ymax] in degrees (EPSG:4326). Returns the zone whose
3-degree-wide strip covers the given longitude (or the bbox's centre),
plus zones_touched and a warning if a bbox straddles more than one
zone boundary - data spanning zones should usually be reprojected into
one zone (or into EPSG:2180) rather than left mixed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lon | No | ||
| bbox | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||