Skip to main content

Elevation Server

KlvInjector can be configured to obtain elevation values from an external elevation server.

note

The elevation server is not part of KlvInjector and may not always be available.

Configuration​

Elevation server configuration

Figure: Elevation server configuration.

Supported Query Patterns​

You can use your own elevation server if it supports the following request patterns.

Version Request​

GET http://{{host}}/version

Single Point Request​

GET http://{{host}}/lookup?locations=31.625905886872008,35.43022155761719

Single Point Request Example​

GET http://{{host}}/lookup?locations=42.05501945599,12.62637364469

Many Points In The Query String​

GET http://{{host}}/lookup?locations=31.625905886872008,35.43022155761719|32.155244,34.834754|32.154018926947,34.83357770058|32.1540189160346,34.8335777219525

POST Request With Many Points​

Send this payload to POST http://{{host}}/lookup with content-type: application/json:

[
[31.625905886872008, 35.43022155761719],
[32.155244, 34.834754],
[32.154018926947, 34.83357770058],
[32.1540189160346, 34.8335777219525],
[32.154018905525, 34.8335777440815],
[32.1540189100741, 34.8335777484719],
[32.1540189730176, 34.8335776906102],
[32.1540189812594, 34.8335776876744],
[32.1540189890701, 34.8335776882259],
[32.1540189943187, 34.8335777355525],
[32.1540189997726, 34.8335777871872],
[32.1540190454968, 34.8335778031258],
[32.1540190479047, 34.8335778210466],
[32.1540189957762, 34.8335778235333],
[32.154018944646, 34.8335778253181],
[32.1540188522314, 34.8335777475624],
[32.1540188345725, 34.8335777450099],
[32.1540188323428, 34.8335777425662],
[32.1540188303447, 34.8335777405968],
[33.47727218776036, 34.749755859375]
]