gzd-utils
Version:
Utilities for working with MGRS GZD and GeoJSON
14 lines (13 loc) • 521 B
TypeScript
import { FeatureCollection, Feature } from 'geojson';
export declare const getAllGZD: () => FeatureCollection;
/**
* Get a GZD as GeoJson Feature
* @param longitudeBand Longitude band, range 1-60 or NaN for polar region
* @param latitudeBand Latitude band
*/
export declare function getGZD(longitudeBand: number, latitudeBand: string): Feature;
/**
* Get a GZD as GeoJson Feature
* @param name Name of GZD in format <longitudeBand><latitudeBand>, e.g. 33V
*/
export declare function getGZD(name: string): Feature;