Different results when querying with diferent language preferences
See original GitHub issueI’ve submitted following request via the browser: https://photon.komoot.io/api/?q=muscat&osm_tag=aeroway:aerodrome
This yields following result:
{
"features": [
{
"geometry": {
"coordinates": [
58.29247709617641,
23.5987194
],
"type": "Point"
},
"properties": {
"city": "Al Mawalih ash Shamaliyah",
"country": "Oman",
"countrycode": "OM",
"extent": [
58.2477853,
23.6155156,
58.329042,
23.5833579
],
"name": "Muscat International Airport",
"osm_id": 20440333,
"osm_key": "aeroway",
"osm_type": "W",
"osm_value": "aerodrome",
"postcode": "1122",
"state": "Muscat",
"street": "Way 808",
"type": "house"
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
-91.14591628475205,
41.3660709
],
"type": "Point"
},
"properties": {
"city": "Muscatine",
"country": "United States of America",
"countrycode": "US",
"county": "Muscatine County",
"extent": [
-91.1606258,
41.3753627,
-91.1283817,
41.3590896
],
"name": "Muscatine Municipal Airport",
"osm_id": 104449438,
"osm_key": "aeroway",
"osm_type": "W",
"osm_value": "aerodrome",
"postcode": "52749",
"state": "Iowa",
"type": "house"
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
-91.2198191,
41.586144
],
"type": "Point"
},
"properties": {
"country": "United States of America",
"countrycode": "US",
"county": "Muscatine County",
"name": "Walker Field",
"osm_id": 1042011245,
"osm_key": "aeroway",
"osm_type": "N",
"osm_value": "aerodrome",
"postcode": "52776",
"state": "Iowa",
"street": "Hayes Avenue",
"type": "house"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}
When I run the same request via Postman (or cURL), I get a different result set:
curl --location --request GET 'https://photon.komoot.io/api/?q=muscat&osm_tag=aeroway:aerodrome'
{
"features": [
{
"geometry": {
"coordinates": [
-91.14591628475205,
41.3660709
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 104449438,
"extent": [
-91.1606258,
41.3753627,
-91.1283817,
41.3590896
],
"country": "United States of America",
"city": "Muscatine",
"countrycode": "US",
"postcode": "52749",
"county": "Muscatine County",
"type": "house",
"osm_type": "W",
"osm_key": "aeroway",
"osm_value": "aerodrome",
"name": "Muscatine Municipal Airport",
"state": "IA"
}
},
{
"geometry": {
"coordinates": [
-91.2198191,
41.586144
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 1042011245,
"osm_type": "N",
"country": "United States of America",
"osm_key": "aeroway",
"street": "Hayes Avenue",
"countrycode": "US",
"osm_value": "aerodrome",
"postcode": "52776",
"name": "Walker Field",
"county": "Muscatine County",
"state": "Iowa",
"type": "house"
}
}
],
"type": "FeatureCollection"
}
I’ve tried changing the user-agent, but to no avail. What am I missing? Thanks for your support.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Search doesn't provide results from another language
This article describes an issue where Search doesn't provide results from another language in SharePoint Online or OneDrive for Business, ...
Read more >Here's How Google Decides the Language of Your Results
If a user's settings declare their preferences to be English, and US, Google will first assume that the likely language of any query...
Read more >Why Language Preferences are the #1 SEO Variable You Forgot
When a multilingual user enters a query in one language on Google, it defaults the language the user has set as default in...
Read more >How to get Google Search results in a different language
Your options Google itself offers one solution only: change the default language to the desired language to get results in that language ......
Read more >My search results are displayed in a different language. What ...
Initiate a search query and click Settings in the bar below the search term. 2. From menu under Language, check the box beside...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We don’t seem to be searching in the localised versions at all when default language is requested. That might be worth reconsidering.
Fixed by #538.