-
Notifications
You must be signed in to change notification settings - Fork 285
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
Different results in Browsers than with Postman or Server Requests #608
Comments
This is the result set I get with the browser: {
"features": [
{
"geometry": {
"coordinates": [
-118.34891216073086,
34.0626321
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 426360490,
"extent": [
-118.3490134,
34.062935,
-118.3488108,
34.0624571
],
"country": "United States",
"city": "Los Angeles",
"countrycode": "US",
"postcode": "90036",
"type": "house",
"osm_type": "W",
"osm_key": "amenity",
"housenumber": "5515",
"street": "Wilshire Boulevard",
"district": "Mid-Wilshire",
"osm_value": "theatre",
"name": "El Rey Theatre",
"state": "California"
}
}
],
"type": "FeatureCollection"
} And this is the result set I get with Postman: {
"features": [
{
"geometry": {
"coordinates": [
-118.242766,
34.0536909
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 207359,
"osm_type": "R",
"extent": [
-118.6681779,
34.337306,
-118.1552947,
33.659541
],
"country": "United States",
"osm_key": "place",
"countrycode": "US",
"osm_value": "city",
"name": "Los Angeles",
"county": "Los Angeles County",
"state": "California",
"type": "city"
}
},
{
"geometry": {
"coordinates": [
-118.23963318437484,
34.0570731
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 429324587,
"extent": [
-118.2399654,
34.0573158,
-118.23924,
34.0568408
],
"country": "United States",
"city": "Los Angeles",
"countrycode": "US",
"postcode": "90012",
"locality": "El Pueblo",
"type": "house",
"osm_type": "W",
"osm_key": "amenity",
"street": "North Main Street",
"district": "Downtown",
"osm_value": "place_of_worship",
"name": "La Iglesia de Nuestra Señora la Reina de los Ángeles",
"state": "CA"
}
},
{
"geometry": {
"coordinates": [
-118.23963318437484,
34.0570731
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 429324587,
"extent": [
-118.2399654,
34.0573158,
-118.23924,
34.0568408
],
"country": "United States",
"city": "Los Angeles",
"countrycode": "US",
"postcode": "90012",
"locality": "El Pueblo",
"type": "house",
"osm_type": "W",
"osm_key": "historic",
"street": "North Main Street",
"district": "Downtown",
"osm_value": "building",
"name": "La Iglesia de Nuestra Señora la Reina de los Ángeles",
"state": "CA"
}
},
{
"geometry": {
"coordinates": [
-118.43808037530732,
33.9419393
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 265895184,
"osm_type": "W",
"extent": [
-118.4461764,
33.9527579,
-118.4294235,
33.9310097
],
"country": "United States",
"osm_key": "place",
"city": "Los Angeles",
"countrycode": "US",
"district": "Playa del Rey",
"osm_value": "locality",
"name": "LAX El Segundo Dunes Preserve",
"state": "California",
"type": "locality"
}
},
{
"geometry": {
"coordinates": [
-118.43808037530732,
33.9419393
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 265895184,
"extent": [
-118.4461764,
33.9527579,
-118.4294235,
33.9310097
],
"country": "United States",
"city": "Los Angeles",
"countrycode": "US",
"postcode": "90293",
"type": "house",
"osm_type": "W",
"osm_key": "leisure",
"street": "Whitlock Avenue",
"district": "Playa del Rey",
"osm_value": "nature_reserve",
"name": "LAX El Segundo Dunes Preserve",
"state": "California"
}
},
{
"geometry": {
"coordinates": [
-68.9304254,
-22.4577177
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 32495075,
"extent": [
-68.9305611,
-22.4568143,
-68.9301305,
-22.4585488
],
"country": "Chile",
"city": "Calama",
"countrycode": "CL",
"postcode": "90723456",
"county": "Provincia de El Loa",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"osm_value": "residential",
"name": "Los Ángeles",
"state": "Región de Antofagasta"
}
},
{
"geometry": {
"coordinates": [
-72.1676875,
-37.4439265
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 6466201835,
"osm_type": "N",
"country": "Chile",
"osm_key": "place",
"city": "Los Ángeles",
"countrycode": "CL",
"osm_value": "hamlet",
"name": "El Carmen",
"county": "Provincia de Bío-Bío",
"state": "Región del Biobío",
"type": "district"
}
},
{
"geometry": {
"coordinates": [
-71.9684497,
-36.4138652
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 415145893,
"extent": [
-71.9685206,
-36.4138652,
-71.9684497,
-36.4148408
],
"country": "Chile",
"city": "San Carlos",
"countrycode": "CL",
"locality": "Población Juan Hill",
"county": "Provincia de Punilla",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"district": "El Crucero",
"osm_value": "residential",
"name": "Los Ángeles",
"state": "Región de Ñuble"
}
},
{
"geometry": {
"coordinates": [
-16.8143178,
28.2812869
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 25729235,
"extent": [
-16.8148772,
28.2816273,
-16.8137897,
28.2811241
],
"country": "España",
"city": "Santiago del Teide",
"countrycode": "ES",
"postcode": "38690",
"county": "Santa Cruz de Tenerife",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"district": "El Retamar",
"osm_value": "residential",
"name": "Calle los Ángeles",
"state": "Canarias"
}
},
{
"geometry": {
"coordinates": [
-88.1607803,
13.4586466
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 321862346,
"extent": [
-88.1618931,
13.4587152,
-88.1605272,
13.4584225
],
"country": "El Salvador",
"city": "San Miguel",
"countrycode": "SV",
"postcode": "011503",
"locality": "Colonia Ciudad Real",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"osm_value": "residential",
"name": "Calle Los Angeles",
"state": "Departamento de San Miguel"
}
},
{
"geometry": {
"coordinates": [
-118.64249198630407,
34.17027435
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 380023701,
"extent": [
-118.6451968,
34.1728002,
-118.640813,
34.1685884
],
"country": "United States",
"city": "Los Angeles",
"countrycode": "US",
"postcode": "91307",
"type": "house",
"osm_type": "W",
"osm_key": "amenity",
"street": "Le Sage Avenue",
"osm_value": "school",
"name": "El Camino Real HS",
"state": "California"
}
},
{
"geometry": {
"coordinates": [
-6.7743099,
37.4043037
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 866587606,
"osm_type": "W",
"extent": [
-6.774868,
37.4048294,
-6.7725949,
37.4041327
],
"country": "España",
"osm_key": "highway",
"city": "Beas",
"countrycode": "ES",
"osm_value": "residential",
"name": "Calle Reine da los Angeles",
"county": "Huelva",
"state": "Andalucía",
"type": "street"
}
},
{
"geometry": {
"coordinates": [
-1.0260415,
38.0678206
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 246350562,
"extent": [
-1.0272432,
38.0678206,
-1.0260415,
38.0673392
],
"country": "España",
"city": "Santomera",
"countrycode": "ES",
"postcode": "30140",
"county": "Región de Murcia",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"district": "El Siscar",
"osm_value": "residential",
"name": "Calle Los Ángeles",
"state": "Región de Murcia"
}
},
{
"geometry": {
"coordinates": [
-70.6680826,
-33.5750563
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 182694363,
"extent": [
-70.6684327,
-33.5750563,
-70.6680826,
-33.576375
],
"country": "Chile",
"city": "El Bosque",
"countrycode": "CL",
"postcode": "8010000",
"locality": "Condominio Bicentenario del Bosque",
"county": "Provincia de Santiago",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"osm_value": "residential",
"name": "Calle Los Ángeles",
"state": "Región Metropolitana de Santiago"
}
},
{
"geometry": {
"coordinates": [
-71.0776233,
-34.4431668
],
"type": "Point"
},
"type": "Feature",
"properties": {
"osm_id": 92134580,
"extent": [
-71.0782776,
-34.4431668,
-71.0776233,
-34.4431896
],
"country": "Chile",
"city": "San Vicente de Tagua Tagua",
"countrycode": "CL",
"postcode": "2970000",
"locality": "Villas del Sur",
"county": "Provincia de Cachapoal",
"type": "street",
"osm_type": "W",
"osm_key": "highway",
"district": "El Cardal",
"osm_value": "living_street",
"name": "Los Angeles",
"state": "Región del Libertador General Bernardo O'Higgins"
}
}
],
"type": "FeatureCollection"
} |
This is likely because your client isn't setting the You can use this 'echo server' to see what your client is sending: https://httpbin.org/anything |
Same issue as #640. The local language setting doesn't yield the best results. Closing this on e as duplicate. |
If I do this request in a browser (Chrome, Safari, Firefox):
https://photon.komoot.io/api/?q=El%20Rey%20Theatre%20Los%20Angeles,%20CA
I am getting one single result (the El Rey Theatre in Los Angeles), as expected.
However, if I use Postman or axios with the very same URL, I am getting a whole collection of results, but none of them relate to the theatre. This seems to be a new behavior, since it worked before.
The text was updated successfully, but these errors were encountered: