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