Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通り名の削除の挙動が建物名とコンフリクトするケースがある #157

Open
kamataryo opened this issue Feb 3, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@kamataryo
Copy link
Contributor

入力: 京都府京都市中京区山本町999番地おはようビル205号室

出力:

{
  "pref": "京都府",
  "city": "京都市中京区",
  "town": "五丁目",
  "addr": "",
  "lat": 35.015582,
  "lng": 135.763968,
  "level": 3
}
@YuukiToriyama
Copy link
Contributor

中京区五丁目っていうのがあるらしいですね
https://www.post.japanpost.jp/cgi-zip/zipcode.php?pref=26&city=1261040&id=101394

@kamataryo
Copy link
Contributor Author

kamataryo commented Feb 3, 2022

なるほど、通り名の除外で 山本町999番地おはようビル20 が削除され、 5号五丁目 にマッチし、 が addr に入る、ということですね。

@kamataryo kamataryo changed the title 意図しない正規化(原因は確認中) 通り名の削除の挙動が建物名のコンフリクトとするケースがある Feb 3, 2022
@kamataryo kamataryo added the bug Something isn't working label Feb 3, 2022
@kamataryo
Copy link
Contributor Author

山本町も元データ存在するので、もしかしたら通り名の削除より山本町にマッチするように改修すると解決できるかもしれません。

@YuukiToriyama
Copy link
Contributor

地図を見てたらこんなのも見つかったので参考情報として挙げておきます。

@kamataryo kamataryo changed the title 通り名の削除の挙動が建物名のコンフリクトとするケースがある 通り名の削除の挙動が建物名とコンフリクトするケースがある Feb 8, 2022
@kamataryo kamataryo added this to the 2.5.7 milestone Mar 23, 2022
@kamataryo kamataryo removed this from the 2.5.7 milestone Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@kamataryo @YuukiToriyama and others