Geohash: the algorithm inside and out - Part 1

  Рет қаралды 9,896

Josiah Parry

Josiah Parry

Күн бұрын

Пікірлер: 34
@cicakmuhamed
@cicakmuhamed 3 ай бұрын
Thank you for doing humanity a big favor. Somebody who is uncomfortable with people just accepting things and explaining the concept under the hood. Appreciate it!
@Veezkox
@Veezkox Жыл бұрын
This video is well made. I've looked into others and they just confused me. This one and part 2 contain everything you need to understand and implement on your own. Key points make it easy to understand and how to apply it to the real world. One thing I would add is about corner cases - 2 points very close to each other could end up in a different grid ending with a different last character in hash (I don't think there are other cases?). Please keep it going and grow the channel! Thank you so much!
@cakcakcak
@cakcakcak Жыл бұрын
i just watched this video start to finish and when i went to subscribe i couldn’t BELIEVE how few subscribers you have. this was really well-made and i have a feeling your numbers are gonna start to take off pretty soon
@josiahparry
@josiahparry Жыл бұрын
Thank you, Christopher! If you have any requests for topics, please let me know here or in a github issue :) github.com/JosiahParry/youtube-tutorials/issues/1
@aayush9080
@aayush9080 3 ай бұрын
less subscribers, maybe because people dont deep dive into concepts
@HorrorInsides-dm8fc
@HorrorInsides-dm8fc 10 ай бұрын
Keep up the good work Josiah. This is fantastic. Hope to see you hit the 100K subscriber soon.
@dcnnvtr
@dcnnvtr Жыл бұрын
Elegant, well done! I had no idea what was going on under the covers!
@woshiyizhihouzi
@woshiyizhihouzi Ай бұрын
wow this was crazy interesting! thanks for explaining this super cool concept so clearly!
@amitkrthkr
@amitkrthkr Жыл бұрын
Liked the explanation of this subtle concept. At 11:46, the longitude decimal value used for example is not clear. It is not same as 19, as used in 10:46. Further, at 13:52, the sequence in the video is of 30 bits, in contrast to 32 bits in the audio. I guess we pad extra bits to make a combination of 5 bits for mapping.
@mukulbhave9376
@mukulbhave9376 7 ай бұрын
super clear ,easy and concise walkthrough. Amazing
@raist78231
@raist78231 11 ай бұрын
This was fantastic! It was an excellent explanation. I'm going to build a geohash function for full understanding. Thanks!
@nishanksoni7120
@nishanksoni7120 3 ай бұрын
You have explained really well..hats off to you. Great work.
@monishchhadwa777
@monishchhadwa777 Жыл бұрын
Great explanation! I am surely going to be a strong hire if they ask this to me in the interview :D
@haraldurkarlsson1147
@haraldurkarlsson1147 Жыл бұрын
Excellent! Very nice explanation of how geohash works.
@stefanstefanov00
@stefanstefanov00 Жыл бұрын
I'm about 6 mins into the video and I gotta say this is pretty neat.
@AutomateAaron
@AutomateAaron Жыл бұрын
This is a fantastic video!
@shobhitarya1637
@shobhitarya1637 9 ай бұрын
Very well explained.Thank you
@asmitarai845
@asmitarai845 Жыл бұрын
This question may sound dumb, but want to know so after interleaving the total number of bits are going to be 64, we are splitting that into combination of 5 bits to generate a number which we will then look into BASE32 to get the character, 12*5 =60 , what about the remaining 4 bits if we include that is going to be 13 character long geohash. Am i missing something?
@josiahparry
@josiahparry Жыл бұрын
Not dumb! You ignore the last 4.
@Survivor420
@Survivor420 2 ай бұрын
​@@josiahparrywhich 4 bits to ignore? The left most or the right most?
@josiahparry
@josiahparry 2 ай бұрын
@@Survivor420 right most
@HorrorInsides-dm8fc
@HorrorInsides-dm8fc 10 ай бұрын
Hi Josiah - do we know why interleaving is being done?
@josiahparry
@josiahparry 10 ай бұрын
The interleaving is done to create a z-coordinate in a z-order curve (en.wikipedia.org/wiki/Z-order_curve#Coordinate_values) which helps identify a 2 dimensional position with only one value
@lxn7404
@lxn7404 25 күн бұрын
That was wonderful 👍
@wyattstevens8574
@wyattstevens8574 11 ай бұрын
2:17 You forgot Plus codes!
@josiahparry
@josiahparry 11 ай бұрын
Never heard of them! They sound like an S2 derivative of placekeys! Thanks for sharing
@wyattstevens8574
@wyattstevens8574 11 ай бұрын
​@@josiahparryI don't think that's what it's from, but Google Maps uses it. It could be an S2 variant, but I don't know.
@elbarzwalid7344
@elbarzwalid7344 10 ай бұрын
amazing content
@crookeddream
@crookeddream Жыл бұрын
i may sound stupid. but i dont undrestand how you truncated it. i mean output is vastly different from input. and other algorithms say that we should interleave the actual binary values
@josiahparry
@josiahparry Жыл бұрын
You don't interleave the actual binary values. That tripped me up quite a bit at the beginning. There's a way to do the geohash algorithm using bit-shifting but that's not the way it was initially designed as i'm showing here. You need to create the binary values your self as described around 10:35. Then after you've encoded longitude and latitude, you interleave those results. Then you truncate the resultant interleaving.
@crookeddream
@crookeddream Жыл бұрын
@@josiahparry now i understand. tnx
@josiahparry
@josiahparry Жыл бұрын
@@crookeddream dope! lmk if you end up writing it from scratch your self :)
@crookeddream
@crookeddream Жыл бұрын
@@josiahparry definitely
@ElonTusk..
@ElonTusk.. 9 ай бұрын
subbed, keep up dwag
Hot Spot Analysis: the Fundamentals (Gi & Gi*)
10:57
Josiah Parry
Рет қаралды 2,8 М.
Geohash: coding from scratch - Part 2
6:42
Josiah Parry
Рет қаралды 2,3 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Geohash: Deep Intuitive Understanding in under 7 Minutes
6:56
Jim O'Flaherty
Рет қаралды 38 М.
Making R 300x times faster!
21:28
Josiah Parry
Рет қаралды 5 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 179 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,1 МЛН
Google SWE teaches systems design | EP29: Geospatial Indexes
15:16
Jordan has no life
Рет қаралды 9 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 135 М.
You Don’t Understand How Language Works
10:46
Fractal Philosophy
Рет қаралды 138 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН