JSPM

epsg-to-proj

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 137
    • Score
      100M100P100Q78849F
    • License BSD

    convert an epsg code to a proj string

    Package Exports

    • epsg-to-proj

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (epsg-to-proj) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    epsg-to-proj

    convert an epsg code to a proj string

    example

    var epsg = require('epsg-to-proj')
    console.log(epsg[32605])

    output:

    +proj=utm +zone=5 +ellps=WGS84 +units=m +no_defs

    convert with proj

    var epsg = require('epsg-to-proj')
    var proj = require('proj4')
    
    var longlat = proj(epsg[32605], epsg[4326], [352500,6630000])
    console.log(longlat)

    output:

    [ -155.62757614534797, 59.781490186078884 ]

    command

    $ epsg-to-proj 32605

    api

    var epsg = require('epsg-to-proj')

    epsg[code]

    Look up the proj string for an epsg code.

    usage

    usage: epsg-to-proj CODE

    install

    npm install epsg-to-proj

    license

    BSD