1 #ifndef COORDINATESYSTEMTRANSFORMER_H
2 #define COORDINATESYSTEMTRANSFORMER_H
5 #include <QGeoCoordinate>
8 * A utility class for transforming coordinates from one coordinate system to another.
10 class CoordinateSystemTransformer
14 * Makes a coordinate transformation from WGS84 coordinate system to KKJ rectangular
16 * @param fromCoordinate the WGS84 coordinate that will be transformed.
17 * @return the transformed coordinate in KKJ coordinate system.
19 static KKJ transformToKKJ(const QTM_NAMESPACE::QGeoCoordinate &fromCoordinate);
22 * Makes a coordinate transformation from KKJ rectangular grid coordinate system
23 * to WGS84 coordinate system.
24 * @param fromCoordinate the KKJ coordinate that will be transformed.
25 * @return the transformed coordinate in WGS84 coordinate system.
27 static QTM_NAMESPACE::QGeoCoordinate transformToWGS84(const KKJ &fromCoordinate);
30 #endif // COORDINATESYSTEMTRANSFORMER_H