| 114 | |
| 115 | template<> |
| 116 | std::string toString(const SrsOrderSpec& srsOrder) |
| 117 | { |
| 118 | using namespace las; |
| 119 | |
| 120 | static const std::array<std::string, 4> srsTypeNames { "wkt1", "geotiff", "projjson", "wkt2" }; |
| 121 | |
| 122 | std::string out; |
| 123 | for (SrsType type : srsOrder.types) |
| 124 | out += srsTypeNames[Utils::toNative(type)] + ","; |
| 125 | if (out.size()) |
| 126 | out.erase(out.size() - 1); |
| 127 | return out; |
| 128 | } |
| 129 | |
| 130 | } // namespace Utils |
| 131 |