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

Google-POI: Decode Google's internal placeID encoding to query data using the placeID #10

Open
mattigrthr opened this issue May 18, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed pipeline/google-poi Issues related to the google-poi pipeline pipeline Issues related to pipelines

Comments

@mattigrthr
Copy link
Contributor

Google is using a special encoding in its pb query parameter to get the POI data in a structured matrix format.

We believe that the id that they use in the pb query parameter is the encoded placeID. It might be something else however.

If we can decode that, it would be possible to query the POI data directly with a placeID if that is already known. This would make the search string query obsolete.

Here are some examples that can easily be extended by simply getting the specially encoded id over the /search route and then getting the Google placeID over the /poi-information route:

Google placeID - pb-encoded placeID

ChIJn9YqwQUZ2jERQd1xVpCATwk - 0x31da1905c12ad69f:0x94f80905671dd41
ChIJT4lHCgMZ2jERloDE6WmkdMk - 0x31da19030a47894f:0xc974a469e9c48096
ChIJOeEf9S2vewIRM0B9a06CKwg - 0x27baf2df51fe139:0x82b824e6b7d4033
ChIJxeTGfdpRqEcRvFh20ctiCMM - 0x47a851da7dc6e4c5:0xc30862cbd17658bc
ChIJeXgR8v9RqEcR9aKuzYzqNts - 0x47a851fff2117879:0xdb36ea8ccdaea2f5
ChIJHSGzi_yAhYARjust_4pPIbc - 0x808580fc8bb3211d:0xb7214f8aff2deb8e
ChIJ54twBiJOqEcRFxu9brehHg0 - 0x47a84e2206708be7:0xd1ea1b76ebd1b17
ChIJmc9LEyJOqEcR95Ltsm4XQVU - 0x47a84e22134bcf99:0x5541176eb2ed92f7
ChIJmQJIxlVYwokRLgeuocVOGVU - 0x89c25855c6480299:0x55194ec5a1ae072e
ChIJvVRe4NMEdkgRw3WgQO_J9KM - 0x487604d3e05e54bd:0xa3f4c9ef40a075c3
@mattigrthr mattigrthr added enhancement New feature or request pipeline Issues related to pipelines pipeline/google-poi Issues related to the google-poi pipeline labels May 18, 2021
@mattigrthr mattigrthr moved this to Todo in Kuwala Roadmap Feb 6, 2022
@mattigrthr mattigrthr added the help wanted Extra attention is needed label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed pipeline/google-poi Issues related to the google-poi pipeline pipeline Issues related to pipelines
Projects
Status: Todo
Development

No branches or pull requests

1 participant