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

Quality/type tags in results by reverse geocoding #456

Open
anurupsatyarth opened this issue Oct 21, 2022 · 0 comments
Open

Quality/type tags in results by reverse geocoding #456

anurupsatyarth opened this issue Oct 21, 2022 · 0 comments

Comments

@anurupsatyarth
Copy link

Hi,

I am working on a project to identify the location type using reverse geocoding and I am using the below code to do that:

g = geocoder.osm([x.lat,x.lng], method='reverse').json

And i am getting the result, which is mentioned below, I am trying to find more information regarding the "quality" and "type" tags, also, i want to know what does "yes" means in this context. Any help is much appreciated.

{
  "encoding": "utf-8",
  "status_code": 200,
  "place_id": "169621055",
  "county": "Suffolk County",
  "street": "Wall Street",
  "osm_id": "470231498",
  "lng": -73.42776365,
  "quality": "yes",
  "confidence": 10,
  "type": "yes",
  "state": "New York",
  "location": "11 Wall Street, New York",
  "provider": "osm",
  "housenumber": "11",
  "accuracy": 0.511,
  "status": "OK",
  "importance": 0.511,
  "bbox": {
    "northeast": [
      40.8716548,
      -73.4275981
    ],
    "southwest": [
      40.8715761,
      -73.4279292
    ]
  },
  "address": "11, Wall Street, Halesite, Suffolk County, New York, 11743, United States of America",
  "lat": 40.87161545,
  "postal": "11743",
  "ok": true,
  "country": "United States of America",
  "region": "New York",
  "osm_type": "way",
  "place_rank": "30"
}
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

1 participant