Why my geocode is not like yours

i know its not good to post here but i cant find else place to get help

my instance missing some keys like
“label”: “Kūbrī Khamsat ‘Ashar Māyū, Cairo, Egypt”,
“county”: “El-Azbakeyah”,

When i query your endpoint reverse gecoder

{
  "geocoding": {
    "version": "0.2",
    "attribution": "https://openrouteservice.org/terms-of-service/#attribution-geocode",
    "query": {
      "size": 10,
      "private": false,
      "point.lat": 30.0588,
      "point.lon": 31.2268,
      "boundary.circle.lat": 30.0588,
      "boundary.circle.lon": 31.2268,
      "lang": {
        "name": "English",
        "iso6391": "en",
        "iso6393": "eng",
        "via": "header",
        "defaulted": false
      },
      "querySize": 20
    },
    "engine": {
      "name": "Pelias",
      "author": "Mapzen",
      "version": "1.0"
    },
    "timestamp": 1723904773793
  },
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.22709,
          30.05787
        ]
      },
      "properties": {
        "id": "12070126",
        "gid": "geonames:venue:12070126",
        "layer": "venue",
        "source": "geonames",
        "source_id": "12070126",
        "name": "Pont de Boulaq",
        "confidence": 0.7,
        "distance": 0.107,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "Pont de Boulaq, Cairo, Egypt",
        "addendum": {
          "geonames": {
            "feature_code": "BDG"
          }
        }
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.22677,
          30.05775
        ]
      },
      "properties": {
        "id": "7924116",
        "gid": "geonames:venue:7924116",
        "layer": "venue",
        "source": "geonames",
        "source_id": "7924116",
        "name": "Kūbrī Khamsat ‘Ashar Māyū",
        "confidence": 0.7,
        "distance": 0.117,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "Kūbrī Khamsat ‘Ashar Māyū, Cairo, Egypt",
        "addendum": {
          "geonames": {
            "feature_code": "BDG"
          }
        }
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.22817,
          30.05876
        ]
      },
      "properties": {
        "id": "12032351",
        "gid": "geonames:venue:12032351",
        "layer": "venue",
        "source": "geonames",
        "source_id": "12032351",
        "name": "port de Boulac",
        "confidence": 0.7,
        "distance": 0.132,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "port de Boulac, Cairo, Egypt",
        "addendum": {
          "geonames": {
            "feature_code": "PRT"
          }
        }
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.227756,
          30.05984
        ]
      },
      "properties": {
        "id": "polyline:31495656",
        "gid": "openstreetmap:street:polyline:31495656",
        "layer": "street",
        "source": "openstreetmap",
        "source_id": "polyline:31495656",
        "name": "Kornish Al Nil Street",
        "street": "Kornish Al Nil Street",
        "confidence": 0.7,
        "distance": 0.148,
        "accuracy": "centroid",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "Kornish Al Nil Street, Cairo, Egypt"
      },
      "bbox": [
        31.226834,
        30.045629,
        31.231556,
        30.06708
      ]
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.225513,
          30.05807
        ]
      },
      "properties": {
        "id": "way/769092471",
        "gid": "openstreetmap:venue:way/769092471",
        "layer": "venue",
        "source": "openstreetmap",
        "source_id": "way/769092471",
        "name": "Harry's Pub",
        "confidence": 0.7,
        "distance": 0.148,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "Harry's Pub, Cairo, Egypt"
      },
      "bbox": [
        31.2254393,
        30.0580047,
        31.2256045,
        30.0581314
      ]
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.228438,
          30.058949
        ]
      },
      "properties": {
        "id": "node/6694891252",
        "gid": "openstreetmap:address:node/6694891252",
        "layer": "address",
        "source": "openstreetmap",
        "source_id": "node/6694891252",
        "name": "7 شارع الوكاله",
        "housenumber": "7",
        "street": "شارع الوكاله",
        "postalcode": "11611",
        "confidence": 0.7,
        "distance": 0.159,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "7 شارع الوكاله, Cairo, Egypt"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.22504,
          30.0589
        ]
      },
      "properties": {
        "id": "7924117",
        "gid": "geonames:venue:7924117",
        "layer": "venue",
        "source": "geonames",
        "source_id": "7924117",
        "name": "Al Mutḩaf al Islāmī",
        "confidence": 0.7,
        "distance": 0.17,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "Al Mutḩaf al Islāmī, Cairo, Egypt",
        "addendum": {
          "geonames": {
            "feature_code": "MUS"
          }
        }
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.228536,
          30.058499
        ]
      },
      "properties": {
        "id": "node/8429169382",
        "gid": "openstreetmap:address:node/8429169382",
        "layer": "address",
        "source": "openstreetmap",
        "source_id": "node/8429169382",
        "name": "1179 شارع كورنيش النيل",
        "housenumber": "1179",
        "street": "شارع كورنيش النيل",
        "postalcode": "11611",
        "confidence": 0.7,
        "distance": 0.171,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "1179 شارع كورنيش النيل, Cairo, Egypt"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.22854,
          30.059102
        ]
      },
      "properties": {
        "id": "node/8429169343",
        "gid": "openstreetmap:address:node/8429169343",
        "layer": "address",
        "source": "openstreetmap",
        "source_id": "node/8429169343",
        "name": "9A شارع المطبعه الاميريه",
        "housenumber": "9A",
        "street": "شارع المطبعه الاميريه",
        "postalcode": "11611",
        "confidence": 0.7,
        "distance": 0.171,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "9A شارع المطبعه الاميريه, Cairo, Egypt"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          31.225025,
          30.059019
        ]
      },
      "properties": {
        "id": "node/8449830255",
        "gid": "openstreetmap:address:node/8449830255",
        "layer": "address",
        "source": "openstreetmap",
        "source_id": "node/8449830255",
        "name": "1 شارع عزيز أباظة",
        "housenumber": "1",
        "street": "شارع عزيز أباظة",
        "postalcode": "11568",
        "confidence": 0.7,
        "distance": 0.173,
        "accuracy": "point",
        "country": "Egypt",
        "country_gid": "whosonfirst:country:85632581",
        "country_a": "EGY",
        "region": "Cairo",
        "region_gid": "whosonfirst:region:85670999",
        "region_a": "QH",
        "county": "El-Azbakeyah",
        "county_gid": "whosonfirst:county:1092016929",
        "county_a": "AZ",
        "locality": "Cairo",
        "locality_gid": "whosonfirst:locality:421174399",
        "continent": "Africa",
        "continent_gid": "whosonfirst:continent:102191573",
        "label": "1 شارع عزيز أباظة, Cairo, Egypt"
      }
    }
  ],
  "bbox": [
    31.225025,
    30.045629,
    31.231556,
    30.06708
  ]
}

and my instance of geocoder

{
    "geocoding": {
        "version": "0.2",
        "attribution": "http://autocomplete.ali.basha/attribution",
        "query": {
            "size": 10,
            "private": false,
            "point.lat": 30.0588,
            "point.lon": 31.2268,
            "boundary.circle.lat": 30.0588,
            "boundary.circle.lon": 31.2268,
            "lang": {
                "name": "English",
                "iso6391": "en",
                "iso6393": "eng",
                "via": "default",
                "defaulted": true
            },
            "querySize": 20
        },
        "engine": {
            "name": "Pelias",
            "author": "Mapzen",
            "version": "1.0"
        },
        "timestamp": 1723907111055
    },
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.225513,
                    30.05807
                ]
            },
            "properties": {
                "id": "way/769092471",
                "gid": "openstreetmap:venue:way/769092471",
                "layer": "venue",
                "source": "openstreetmap",
                "source_id": "way/769092471",
                "name": "Harry's Pub",
                "confidence": 0.7,
                "distance": 0.148,
                "accuracy": "point",
                "label": "Harry's Pub"
            },
            "bbox": [
                31.2254393,
                30.0580047,
                31.2256045,
                30.0581314
            ]
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.228438,
                    30.058949
                ]
            },
            "properties": {
                "id": "node/6694891252",
                "gid": "openstreetmap:address:node/6694891252",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "node/6694891252",
                "name": "7 شارع الوكاله",
                "housenumber": "7",
                "street": "شارع الوكاله",
                "postalcode": "11611",
                "confidence": 0.7,
                "distance": 0.159,
                "accuracy": "point",
                "label": "7 شارع الوكاله"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.228536,
                    30.058499
                ]
            },
            "properties": {
                "id": "node/8429169382",
                "gid": "openstreetmap:address:node/8429169382",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "node/8429169382",
                "name": "1179 شارع كورنيش النيل",
                "housenumber": "1179",
                "street": "شارع كورنيش النيل",
                "postalcode": "11611",
                "confidence": 0.7,
                "distance": 0.171,
                "accuracy": "point",
                "label": "1179 شارع كورنيش النيل"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.22854,
                    30.059102
                ]
            },
            "properties": {
                "id": "node/8429169343",
                "gid": "openstreetmap:address:node/8429169343",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "node/8429169343",
                "name": "9A شارع المطبعه الاميريه",
                "housenumber": "9A",
                "street": "شارع المطبعه الاميريه",
                "postalcode": "11611",
                "confidence": 0.7,
                "distance": 0.171,
                "accuracy": "point",
                "label": "9A شارع المطبعه الاميريه"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.22501,
                    30.058896
                ]
            },
            "properties": {
                "id": "way/1135775400",
                "gid": "openstreetmap:address:way/1135775400",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "way/1135775400",
                "name": "1 شارع عزيز أباظة",
                "housenumber": "1",
                "street": "شارع عزيز أباظة",
                "postalcode": "11568",
                "confidence": 0.7,
                "distance": 0.173,
                "accuracy": "point",
                "label": "1 شارع عزيز أباظة"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.228563,
                    30.058404
                ]
            },
            "properties": {
                "id": "node/8429169383",
                "gid": "openstreetmap:address:node/8429169383",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "node/8429169383",
                "name": "1177 شارع كورنيش النيل",
                "housenumber": "1177",
                "street": "شارع كورنيش النيل",
                "postalcode": "11611",
                "confidence": 0.7,
                "distance": 0.175,
                "accuracy": "point",
                "label": "1177 شارع كورنيش النيل"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.224979,
                    30.058986
                ]
            },
            "properties": {
                "id": "node/366457375",
                "gid": "openstreetmap:venue:node/366457375",
                "layer": "venue",
                "source": "openstreetmap",
                "source_id": "node/366457375",
                "name": "مجمع الفنون أخناتون",
                "confidence": 0.7,
                "distance": 0.177,
                "accuracy": "point",
                "label": "مجمع الفنون أخناتون"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.228571,
                    30.05925
                ]
            },
            "properties": {
                "id": "node/8429169388",
                "gid": "openstreetmap:address:node/8429169388",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "node/8429169388",
                "name": "9 شارع المطبعه الاميريه",
                "housenumber": "9",
                "street": "شارع المطبعه الاميريه",
                "postalcode": "11611",
                "confidence": 0.7,
                "distance": 0.178,
                "accuracy": "point",
                "label": "9 شارع المطبعه الاميريه"
            }
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.225128,
                    30.058094
                ]
            },
            "properties": {
                "id": "way/769092472",
                "gid": "openstreetmap:venue:way/769092472",
                "layer": "venue",
                "source": "openstreetmap",
                "source_id": "way/769092472",
                "name": "Empress Show Lounge",
                "confidence": 0.7,
                "distance": 0.179,
                "accuracy": "point",
                "label": "Empress Show Lounge"
            },
            "bbox": [
                31.2251082,
                30.0580631,
                31.2251483,
                30.0581247
            ]
        },
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    31.228576,
                    30.05829
                ]
            },
            "properties": {
                "id": "node/8429169384",
                "gid": "openstreetmap:address:node/8429169384",
                "layer": "address",
                "source": "openstreetmap",
                "source_id": "node/8429169384",
                "name": "1175 شارع كورنيش النيل",
                "housenumber": "1175",
                "street": "شارع كورنيش النيل",
                "postalcode": "11611",
                "confidence": 0.7,
                "distance": 0.18,
                "accuracy": "point",
                "label": "1175 شارع كورنيش النيل"
            }
        }
    ],
    "bbox": [
        31.224979,
        30.0580047,
        31.228576,
        30.05925
    ]
}
1 Like

Hey,

this is due to the fact that our instance of pelias includes a few more sources than yours seems to do.

Have a look at the source key.
For the values you mention, this is geonames, suggesting the information comes from the geonames database - one of the data importers pelias provides.

Your results only list openstreetmap as source, suggesting you’re only using OSM.

Best regards

1 Like

Hi there :wave:, Thanks for the clarification… As a new user, it’s helpful to understand how different data sources impact the results…

1 Like