Description Usage Arguments Value
nearest facility + distance to a user
1 | nearest_facility_dist(facility, user)
|
facility |
a matrix with longitude and latitude in the first two columns |
user |
a matrix with longitude and latitude in the first two columns |
matrix with 3 columns: user_id, facility_id, distance, where the user_id is the identifier for the user, the facility_id is the identifier for the facility that is closest to that user, and the distance is the distance in metres from that user to that facility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.