Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defra/ngr-to-bng
Script to convert Grid reference (NGR) to Easting and Northing (BNG)
https://github.com/defra/ngr-to-bng
Last synced: 6 days ago
JSON representation
Script to convert Grid reference (NGR) to Easting and Northing (BNG)
- Host: GitHub
- URL: https://github.com/defra/ngr-to-bng
- Owner: DEFRA
- License: other
- Created: 2016-08-23T12:46:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T15:05:05.000Z (over 1 year ago)
- Last Synced: 2024-11-11T20:19:21.818Z (7 days ago)
- Language: JavaScript
- Size: 346 KB
- Stars: 0
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=DEFRA_ngr-to-bng&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=DEFRA_ngr-to-bng)
# NGR-to-BNG
Script to convert Grid reference (NGR) to Easting and Northing (BNG)
## Installation
```
npm install --save @defra/ngr-to-bng
```
## Usage```
import ngrToBng from 'ngr-to-bng'...
const point = ngrToBng('SP3683367955')
```# License
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3
The following attribution statement MUST be cited in your products and applications when using this information.
>Contains public sector information licensed under the Open Government license v3
### About the license
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.