Unifly Elevation Library
Overview
The Unifly Elevation Library provides a converter to convert AltitudeInfo containing any height to an AltitudeInfo object that takes elevation into account by reading elevation model from a specific data source.
For now only TIFF files are supported as data source but other formats can be added in the future.
Dependency
In order to use this library, you need to add the following dependency in your service:
implementation project(":unifly-lib-elevation")
// or
implementation "aero.unifly:unifly-lib-elevation"
Setup Properties
You need to add the following properties to your application.yml file:
Property |
Type |
Description |
elevation.models.tiff.classpath |
Boolean |
If true, the elevation model will be read from the classpath. If false, the elevation model will be read from the file system. |
elevation.models.tiff.file |
String |
The path to the tiff file containing the elevation model |
elevation.models.tiff.type |
|
Can be either |
elevation.models.tiff.reference |
String |
The reference of the elevation model. |
elevation.models:
tiff:
- file: mzytiff.tiff
classpath: true
type: ORTHOMETRIC
reference: EPSG:4326
- file: anotherone.tiff
type: GEOID
reference: CRS:1111
Further Reading
For more information on elevation and references can be found here: https://unifly.atlassian.net/wiki/spaces/PDOC/pages/6652062/Altitude+height+Measurement