The Distance() function returns the geographical distance (in kilometers) between two points of (latitude,longitude).

Syntax

Distance(latitude1, longitude1, latitude2, longitude2)

Returns

The geographical distance (in kilometers) between two points of (latitude,longitude).

Parameters

  • latitude1, latitude2 – a geographic coordinate that specifies the north–south position of a point on the Earth’s surface.
  • longitude1, longitude2 – a geographic coordinate that specifies the east-west position of a point on the Earth’s surface.

Examples

Distance(52.349979, 4.894523, 48.858876, 2.293388)

/* Returns 429,3167582358 (the distance between WEM HQ and the Eifel Tower) */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company