npm

@hedger/lv95
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

LV95

This library exposes a fromLV95 function to transform LV95 coordinates to WGS84 coordinates.

Installation

Install with your favorite package manager.

# npm
npm install @hedger/lv95

# pnpm
pnpm add @hedger/lv95

# yarn
yarn add @hedger/lv95

Usage

CommonJS import

const { fromLV95 } = require('@hedger/lv95');

const { latitude, longitude } = fromLV95(2_700_000, 1_100_000);

ESM

import { fromLV95 } from '@hedger/lv95';

const { latitude, longitude } = fromLV95(2_700_000, 1_100_000);

License

This library is open-sourced software distributed under the MIT License.

Credits

The formulas used in this library come from the following document provided by the Federal Office of Topography swisstopo.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.02

Package Sidebar

Install

npm i @hedger/lv95

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.79 kB

Total Files

6

Last publish

Collaborators

  • nhedger