geocode
Calculate distance of two geo points in km c#
Your formula is almost correct, but you have to swap parameters for longitude an latitude Console.WriteLine(DistanceAlgorithm.DistanceBetweenPlaces(-118.291994, 36.578581, -116.83171, 36.23998)); // = 136 km I’m using simplified formula: // cos(d) = sin(φА)·sin(φB) + cos(φА)·cos(φB)·cos(λА − λB), // where φА, φB are latitudes and λА, λB are longitudes // Distance = d * R public static double … Read more
Android Geocoder quota limits
There is no hard limit for the Android Geocode API I contacted the Developer Support Asking: With the new app we are writing, we have a map of 10 houses and we have to look up the Lat Long from the Postcode for each. We use: http://developer.android.com/reference/android/location/Geocoder.html#getFromLocationName(java.lang.String, int) However, the customer is now asking about … Read more
Getting OVER QUERY LIMIT after one request with geocode
I had a similar problem using ggmap::geocode() for a batch of locations where roughly 20% of locations gave the OVER QUERY LIMIT error even though geocodeQueryCheck() would show more than enough geocoding queries remaining, and the errors were sporadically spread throughout the locations, not just the last 20%. If I reran the subset of locations … Read more