brc-atlas-bigr

2.4.0 • Public • Published

British Isles Grid Reference library

The British Isles Grid Reference (bigr) library is a Javascript library for working with British, Irish or Channel Island grid references.

British grid references are those associated with reference system known as 'OSGB 1936 / British National Grid' (epsg:27700). Irish grid references are those associated with the reference sytem known as 'TM75 / Irish Grid' (epsg:29903). Channel Island grid references are derived from the UTM grid - 'WGS 84 / UTM zone 30N' using a shorthand method whereby the leading '30U' prefix is removed. This gives grid references for the Channel Islands with prefixes of 'WA' or 'WV'.

Installing

The bigr library is an NPM package and can be installed with NPM in the usual way, e.g:

npm install brc-atlas-bigr

Alternatively you can get the javscript builds from the GitHub repo or include them in code directly from a CDN, e.g:

<script src="https://unpkg.com/brc-atlas-bigr/dist/bigr.min.umd.js"></script>

API documentation and code examples

For details of the API, view the JSDoc API documentation.

There are also a number of working examples.

Dependents (0)

Package Sidebar

Install

npm i brc-atlas-bigr

Weekly Downloads

53

Version

2.4.0

License

GPL-3.0-only

Unpacked Size

1.13 MB

Total Files

11

Last publish

Collaborators

  • rburkmar