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

Unable to look up a node which is returned by /reverse #834

Open
joleeee opened this issue Sep 22, 2024 · 1 comment
Open

Unable to look up a node which is returned by /reverse #834

joleeee opened this issue Sep 22, 2024 · 1 comment

Comments

@joleeee
Copy link

joleeee commented Sep 22, 2024

I cannot find this bus station: https://www.openstreetmap.org/node/3830064285 (島鉄雲仙営業所)

If you do a reverse lookup, you get this:

$ curl 'https://photon.komoot.io/reverse?lon=130.2611035&lat=32.7416241'
{
  "features": [
    {
      "geometry": {
        "coordinates": [
          130.2611035,
          32.7416241
        ],
        "type": "Point"
      },
      "type": "Feature",
      "properties": {
        "osm_type": "N",
        "osm_id": 3830064285,
        "country": "日本",
        "osm_key": "amenity",
        "city": "雲仙市",
        "street": "国道57号",
        "countrycode": "JP",
        "osm_value": "bus_station",
        "name": "島鉄雲仙営業所",
        "locality": "小浜町雲仙",
        "state": "長崎県",
        "type": "house"
      }
    }
  ],
  "type": "FeatureCollection"
}

But try to search for the "name", and you get nothing. Even with the lat lon specified. Or with only lat,lon and q= (empty)

curl https://photon.komoot.io/api/?lon=130.2611035&lat=32.7416241&q=%E5%B3%B6%E9%89%84%E9%9B%B2%E4%BB%99%E5%96%B6%E6%A5%AD%E6%89%80
{"features":[],"type":"FeatureCollection"}
@lonvia
Copy link
Collaborator

lonvia commented Nov 27, 2024

I fear we are running into the limitations of using a one-size-fits all tokenizer here. There is #563 for Japanese.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants