RY4N
RY4N

Reputation: 1112

calculating proximity/distance of multiple locations.?

//windows phone 7 c#//

Scenario: User is within 20-30 foot if one of many locations(which gt updated).

any help or advice is welcome thanks.

(*note i will be receiving updates(via azure service) on the locations as they will change. i include this information as it may relate to ideas about efficiency)

Upvotes: 1

Views: 507

Answers (1)

bradenb
bradenb

Reputation: 793

The answer is highly subjective because you haven't really defined what you've already attempted, how efficient it really needs to be, or what kind of data you're working with.

I assume you're using Latitude/Longitude. If that is the case, is there a problem using a simple Lat/Long distance calculation? See here: http://www.movable-type.co.uk/scripts/latlong.html

I can't imagine that would be very inefficient unless you were doing it on the server constantly for many, many users.

Upvotes: 1

Related Questions