Skip to content

Format WKID spatial reference variations into a standard structure.

License

Notifications You must be signed in to change notification settings

GeoXForm/format-spatial-ref

Repository files navigation

format-spatial-ref

Format WKID spatial reference variations into a standard structure.

npm travis

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.

License

Apache-2.0

About

Format WKID spatial reference variations into a standard structure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published