搜索插件、代码仓与 APP 分类

插件详情v0.12.0

geodesy

一个用于处理点和路径的大地测量学和三角函数计算的 Dart 库

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
1.4万
喜欢数
64
Pub 分数
160

安装插件

flutter pub add geodesy

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个用于精确大地测量和三角计算的 Dart 库,可实现地理点之间的准确距离、方位和路径计算。该库支持使用球面几何进行点和路径操作,非常适合地图和基于位置的应用程序。该库与平台无关,可在 Android、iOS、Web、macOS、Windows 和 Linux 上无缝运行。对于需要高精度导航、路线规划或空间分析的应用程序尤其有用。

适合场景

  • 计算地理坐标之间的距离
  • 计算点之间的方位角和航向
  • 沿路径生成航点
  • 支持导航和路线可视化
  • 在应用程序中执行地理空间分析
  • 启用精确的地图投影

主要特点

  • 高精度大地测量计算
  • 支持点和路径操作
  • 跨平台兼容性
  • 球面三角学工具
  • 轻量且无依赖
  • 文档齐全的 API

适合对象

  • 导航应用开发者
  • GIS 和地图应用
  • 位置感知服务
  • 路线规划工具
  • 空间数据处理
  • 教育类地理空间项目

使用建议

  • 需要十进制度输入
  • 未针对实时高频更新进行优化
  • 限于球形地球模型
  • 无内置地图渲染
  • 最适合离线或低延迟的地理空间逻辑

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Geodesy

pub package

About

A Dart library for implementing geodesic and trigonometric calculations based on a spherical Earth model for working with points and paths such as distances, bearings and destinations.

How to Use Geodesy

Commands
For Dart
dart pub add geodesy
For Flutter
flutter pub add geodesy
Import Geodesy
import 'package:geodesy/geodesy.dart';

Class

The Geodesy class provides a collection of methods for performing various geodetic calculations, including distance calculations, point intersections, and more. This class is designed to work with geographical coordinates in the form of latitude and longitude.

Please see the Usage and Example.

Static Methods

Static methods are available without using Geodesy instance.

Please see the Usage and Example.

License

This project is licensed under MIT.

Contributors

Thank you for your contributions! We appreciate all the contributions from the community.

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目