format-spatial-ref
v1.1.0
Published
Format WKID spatial reference variations into a standard structure.
Downloads
3
Readme
format-spatial-ref
Format WKID spatial reference variations into a standard structure.
Install
npm install format-spatial-ref
Usage
var formatSpatialRef = require('format-spatial-ref')
formatSpatialRef({"wkid": 4326})
formatSpatialRef('{"wkid": 4326}')
formatSpatialRef(4326)
// All of the above will return { "wkid": 4326 }
Contributing
Contributions welcome! Please read the contributing guidelines first.