Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

units-distance

Distance units


Description

Wherever distances need to be specified, such as the distance parameter in the Geo Distance Filter), the default unit if none is specified is the meter. Distances can be specified in other units, such as "1km" or "2mi" (2 miles).

Details

mi or miles Mile
yd or yards Yard
ft or feet Feet
in or inch Inch
km or kilometers Kilometer
m or meters Meter
cm or centimeters Centimeter
mm or millimeters Millimeter
NM, nmi or nauticalmiles Nautical mile

The precision parameter in the Geohash Cell Filter accepts distances with the above units, but if no unit is specified, then the precision is interpreted as the length of the geohash.

See Also


elastic

General Purpose Interface to 'Elasticsearch'

v1.2.0
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.