wiki:Shx/ShSortByDistance

Return to command index

Sort traces by distance to epicenter

command: SORT_BY_DISTANCE <lat> <lon>

Sorts all traces (with metadata) by distance to a given epicenter.

parameters

  • <lat> parameter type: float
    Epicenter latitude.
  • <lon> parameter type: float
    Epicenter longitude.

qualifiers

None

example

sort_by_distance -9.6 -71.3
Sort all traces by distance to an epicenter in South America.