Skip to content

Commit

Permalink
created initial mvp
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Mar 19, 2020
1 parent 2b386e2 commit c753770
Show file tree
Hide file tree
Showing 8 changed files with 1,073 additions and 1 deletion.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# utm-utils
Utility Functions for Working with Universal Transverse Mercator
Super Light-Weight Utility Functions for Working with Universal Transverse Mercator

# Usage
## Check if EPSG Code Refers to UTM
```javascript
const isUTM = require('utm-utils/isUTM');

const result = isUTM(32619)
//true
```

# Get Hemisphere for UTM
```javascript
const getHemisphere = require('utm-utils/getHemisphere.js');

const hemisphere = getHemisphere('32617')
// N
```

# Get Zone for EPSG Code
```javascript
const getZone = require('utm-utils/getZone.js');

const zone = getHemisphere('32617')
// 17
```

# Support
Email the package author at [email protected] or post an issue at https://github.com/danieljdufour/utm-utils/issues
Loading

0 comments on commit c753770

Please sign in to comment.