@etalab/project-legal

0.6.0 • Public • Published

@etalab/project-legal

Projection de coordonnées WGS-84 vers le système légal français en vigueur

npm version

Installation

npm install @etalab/project-legal

Utilisation

const proj = require('@etalab/project-legal')

proj([2.308310, 48.850244]) // 20 Avenue de Ségur à Paris
// => [649242.57, 6861355.85] RGF93 / Lambert-93

proj([-18.984375, 65.080666]) // Islande
// => null

Navigateur

Cette bibliothèque expose un point d’entrée browser pour être utilisée dans une application web.

Projections légales supportées

Territoire Projection
France métropolitaine RGF93 / Lambert-93
Antilles françaises RGAF09 / UTM zone 20N
Guyane RGFG95 / UTM zone 22N
Réunion RGR92 / UTM zone 40S
Mayotte RGM04 / UTM zone 38S
Saint-Pierre-et-Miquelon RGSPM06 / UTM zone 21N
Nouvelle Calédonie RGNC91-93 / Lambert New Caledonia
Polynésie Française RGPF / UTM zone 5S 6S 7S 8S
Wallis et Futuna MOP78 / UTM zone 1S

Licence

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @etalab/project-legal

Weekly Downloads

238

Version

0.6.0

License

MIT

Unpacked Size

9.61 kB

Total Files

13

Last publish

Collaborators

  • nicolaskempf
  • maudetes
  • quaxzse
  • thomasg77
  • flightan
  • jdesboeufs
  • abulte