With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I need some code (in C# preferably) that contains a function that takes a place identifier and a latitude/longitude and returns true or false if the lat/long are within the spatial bounds of the place identified by the ID. If you want to use a string or something else instead of a place ID, thats fine as well. I need most major places (businesses, parks would be nice, government buildings, etc)
bool IsWithinPlaceBounds(ulong place_id, double, latitude, double longitude)
// your code here ...
I also need a function to get some ID or string or object for particular place. I need to be able to give the function some string that will contain the name of some place (eg: McDonalds, Walmart) and find the closest places with that name to the given gps coordinates.
object GetClosestMatchingPlace(string place_name, double latitude, double longitude)
// your code here ..
I'd prefer an open source solution because tools like only allow a small number of queries per day.
Sign in or Register to see more