Page 2 of 2

Re: Damn, we hit our free google API request limit last night

Posted: Mon Jan 16, 2017 5:49 am
by boofhead
Well as long as everyone does not decide to drive to new locations all on the same day you should be ok for a while.

Re: Damn, we hit our free google API request limit last night

Posted: Mon Jan 16, 2017 6:32 am
by Ausjacko
The dbase check first is pretty cool thinking as is the 20m radius bit, nice work you two.

Re: Damn, we hit our free google API request limit last night

Posted: Mon Jan 16, 2017 7:42 am
by hybrid
boofhead wrote:Well as long as everyone does not decide to drive to new locations all on the same day you should be ok for a while.
Worst case, I switch back to openstreetmap and don't have any house numbers.

Re: Damn, we hit our free google API request limit last night

Posted: Tue Jan 17, 2017 12:42 am
by hybrid
Hmmm.. could be an even easier way to improve this.
If I reduce the decimal places down to 4, that will give me 36ft (10.9M) of leeway.
3 decimal places would be 360ft - I won't go that drastic yet, but that is also an option.

Re: Damn, we hit our free google API request limit last night

Posted: Wed Jan 18, 2017 8:26 am
by hybrid
Progress... more cache hits than lookups today!

# grep -i -c bypass meitrack_php.log
853
# grep -i -c REQUEST meitrack_php.log
701

I guess we're either not moving, or going to the same places.