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_defsconvert 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 32605api
var epsg = require('epsg-to-proj')epsg[code]
Look up the proj string for an epsg code.
usage
usage: epsg-to-proj CODEinstall
npm install epsg-to-projlicense
BSD