lv95 0.0.1 copy "lv95: ^0.0.1" to clipboard
lv95: ^0.0.1 copied to clipboard

A dart package that provides conversions between Swiss LV95 (CH1903+) coordinates and WGS84 coordinates.

example/example.dart

import 'package:lv95/lv95.dart';

void main() {
  final wgs84 = LatLng(46.93371248052634, 7.120573812162601);
  final xy = LV95.fromWGS84(wgs84);
  print(xy);

  final wgs84_2 = LV95.toWGS84(xy);
  print(wgs84_2);

  final xyp = LV95.fromWGS84(wgs84, precise: true, height: 431.3);
  print(xyp);
}
0
likes
130
pub points
22%
popularity

Publisher

verified publisherperron2.ch

A dart package that provides conversions between Swiss LV95 (CH1903+) coordinates and WGS84 coordinates.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

test

More

Packages that depend on lv95