Sep. 25th, 2019

dennisgorelik: 2020-06-13 in my home office (Default)
We use 2 geocoding providers: Mapbox (primary) and Google Maps (as a backup when Mapbox produces weird results).

Using 2 geocoding providers, occasionally, causes weird data collisions.
For example:
Mapbox API geocodes "north beach, MD,20714" as "west beach, MD,20714", but Google Maps API geocodes "west beach, MD,20714" as "north beach, MD,20714".
That, effectively, forms geocoding loop:
~~~~~~~
west beach, MD,20714
north beach, MD,20714
west beach, MD,20714
north beach, MD,20714
west beach, MD,20714
...
~~~~~~~

This geocoding loop may cause infinite redirect between job list web pages:
-----
"West beach" jobs page redirects to "North beach" jobs page.
"North beach" jobs page redirects to "West beach" jobs page.
...
-----

Yesterday we launched Geocoding loop detection code, and found over 50 geocoding loops in our 901,016 records GeocodedLocation table.

Some other geocoding loops examples:
=======
san francisco,ca,94105 <-> south beach,ca,94105
northeast washington,dc,20018 <-> washington,dc,20018
miami,fl,33132 <-> downtown,fl,33132
far rockaway,ny,11691 <-> queens,ny,11691

kankan,guinea <-> kankan region,guinea
amhara,ethiopia <-> amhara region,ethiopia
jigawa,nigeria <-> jigawa state,nigeria
manzini district,swaziland <-> manzini,swaziland
=======

Profile

dennisgorelik: 2020-06-13 in my home office (Default)
Dennis Gorelik

June 2025

S M T W T F S
1234 567
891011 12 13 14
15161718192021
22232425262728
2930     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 07:46 pm
Powered by Dreamwidth Studios