Great Circle Based Spatial Model
A great circle spatial model represents the distance between two coordinates on the earth based on latitude and longitude. It provides an approximate distance of travelling along the great circle between the coordinates. The model implemented within the KSL allows for the adjustment of the distance based on circuity factor. The circuity factor will adjust the distance based on the mode of transport road or rail.
Types
Represents a location within this spatial model.
Properties
Can be set to adjust computed great circle distance to account for the circuity of the road/rail network, by default 1.0
The default initial location.
Holds the radius of the earth for calculating great circle distance
Functions
Returns true if firstLocation is the same as secondLocation within the underlying spatial model. This is not object reference equality, but rather whether the locations within the underlying spatial model can be considered spatially (equivalent) according to the model. This may or may not imply that the distance between the locations is zero. No assumptions about distance are implied by true.
Computes the distance between fromLocation and toLocation based on the spatial model's distance metric