geocoder-php / geocoder-php/Geocoder
Same data attributes for different provider in chain providers
まだ誰も着手していません。
- 主要言語
- PHP
- スター
- 4k
- フォーク
- 525
- 平均マージ
- 8分
- マージ済み PR(30日)
- 1
説明
Hello,
I'm not sure if anyone have encountered this. If I want to use the chain provider with Mapbox and Google Maps provider to do reverse geocode, I can't specify location_type data attributes with the query because it will mean differently to each provider (ie. valid location_type for Mapbox is poi, place, locality etc. but for Google Maps valid values were eg. ROOFTOP, RANGE_INTERPOLATED etc.
We can call each provider individually to work around this, but I'm wondering if there's built-in handler within the chain provider itself?
Thanks!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、chain provider の reverse geocoding オプションの処理箇所を特定し、Mapbox および Google Maps provider の動作と比較します。provider 固有の location_type 値をフィルタリング、変換、または個別に渡すべきかを明確にします。複数の provider を使用するクエリに対する合意済みの動作と、それに対応するカバレッジが整えば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- api, backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100