Option to write Earth-Centered Earth-Fixed glTF

This commit is contained in:
Thomas Krijnen
2023-10-03 21:26:00 +02:00
parent d8c8ac6c15
commit 2eecfd6422
5 changed files with 348 additions and 10 deletions
+6
View File
@@ -69,6 +69,12 @@ inline namespace settings {
static constexpr bool defaultvalue = false;
};
struct WriteGltfEcef : public SettingBase<WriteGltfEcef, bool> {
static constexpr const char* const name = "ecef";
static constexpr const char* const description = "Write glTF in Earth-Centered Earth-Fixed coordinates. Requires PROJ.";
static constexpr bool defaultvalue = false;
};
struct FloatingPointDigits : public SettingBase<FloatingPointDigits, int> {
static constexpr const char* const name = "digits";
static constexpr const char* const description = "Sets the precision to be used to format floating-point values, 15 by default. "