Nonviolent Pigeon Manifestation

    utm-utils

    0.1.0 • Public • Published

    utm-utils

    Super Light-Weight Utility Functions for Working with Universal Transverse Mercator

    Usage

    Check if EPSG Code Refers to UTM

    const isUTM = require('utm-utils/src/isUTM');
     
    const result = isUTM(32619);
    // true

    Get Hemisphere from EPSG Code

    const getHemisphere = require('utm-utils/src/getHemisphere');
     
    const hemisphere = getHemisphere('32617');
    // N

    Get Zone from EPSG Code

    const getZone = require('utm-utils/src/getZone');
     
    const zone = getZone('32617');
    // 17

    Get PROJ String from EPSG Code

    const getProjString = require('utm-utils/src/getProjString');
     
    const projString = getProjString('32617');
    // +proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

    Support

    Email the package author at daniel.j.dufour@gmail.com or post an issue at https://github.com/danieljdufour/utm-utils/issues

    Install

    npm i utm-utils

    DownloadsWeekly Downloads

    295

    Version

    0.1.0

    License

    CC0-1.0

    Unpacked Size

    10.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar