パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.2.1

geocoder_offline

超高速のオフラインリバースジオコーディング用パッケージ。検索はお好みのファイル内で実行されます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
850
いいね数
25
Pub ポイント
140

パッケージをインストール

flutter pub add geocoder_offline

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

ユーザーが提供するデータファイルを使用して、高速な場所から住所への照合を可能にする高性能なオフラインリバースジオコーディングパッケージです。インターネット接続のない環境での使用を想定しており、複数のプラットフォームをサポートし、ローカルな地理データを処理することで正確な結果を提供します。プライバシー保護、低レイテンシ、または遠隔地での信頼性の高い動作が必要なアプリに最適です。

用途

  • オフラインマップアプリケーション
  • プライバシー重視の位置情報サービス
  • 遠隔地域のナビゲーション
  • 低遅延ジオコーディング
  • フィールドデータ収集
  • 旅行および物流アプリ

主な機能

  • 高速オフラインリバースジオコーディング
  • カスタムデータファイルをサポート
  • クロスプラットフォーム互換性
  • 最小の依存関係フットプリント
  • ローカルデータを使用した高精度
  • インターネット接続は不要です

適している対象

  • オフライン機能を必要とするアプリ
  • ユーザーのプライバシーを最優先とする開発者
  • 離れた地域における位置ベースのツール
  • 厳格なデータ制御要件を満たすアプリケーション
  • パフォーマンスに敏感な位置情報機能

注意事項

  • 手動でのデータファイル管理が必要です
  • ファイルサイズはアプリバンドルに影響します
  • データの正確性は、入力ファイルの品質に依存します
  • 事前ロードされた地理データに限定
  • リアルタイムのグローバルな更新には適していません
  • 初期設定にはデータの準備が必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Offline Geocoder

Dart library for super-fast offline reverse geocoding. Package use k-d tree for a search of the nearest location in a given file. One when Geocoder is initialized, search for location is super-fast, about 4-5 milliseconds.

Data

For using the reverse geocoding library you need to provide а file with data about places among you want to run reverse geocoding. In examples you can see how to use а library with two example files:

  1. GeoNames data file with all world cities with a population above 15 000
  2. USGS data file with USA cities with a population above 5000.

Library allows you to use any other file who has at least data about name, latitude, and longitude of places you want to search.

Usage

Import
import 'package:geocoder_offline/geocoder_offline.dart';
Initialization
var geocoder = GeocodeData(
    File('/example/NationalFedCodes_20191101.csv').readAsStringSync(), //input string
    'FEATURE_NAME', // place name header
    'STATE_ALPHA', // state/countery header
    'PRIMARY_LATITUDE', // latitute header
    'PRIMARY_LONGITUDE', // longitude header
    fieldDelimiter: ',', // fields delimiter
    eol: '\n');
Reverse geocoding
List<LocationResult> result = geocoder.search(41.881832, -87.623177);

Features and bugs

If you any problem using library or you have any new needs, please file feature requests and bugs at the issue tracker.

カテゴリー

依存関係

依存関係一覧 2 件

  • csv^5.0.0
  • kdtree^0.2.0

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。