mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Code cleanup
This commit is contained in:
parent
f7a81cafd5
commit
e0ff4529b6
@ -12,13 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QtEndian>
|
#include <QtEndian>
|
||||||
#include <QtMath>
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <private/qzipreader_p.h>
|
#include <private/qzipreader_p.h>
|
||||||
#include "common/rectc.h"
|
#include "rectc.h"
|
||||||
#include "dem.h"
|
#include "dem.h"
|
||||||
|
|
||||||
#define SRTM3_SAMPLES 1201
|
#define SRTM3_SAMPLES 1201
|
||||||
@ -131,7 +130,7 @@ double DEM::elevation(const Coordinates &c)
|
|||||||
if (_dir.isEmpty())
|
if (_dir.isEmpty())
|
||||||
return NAN;
|
return NAN;
|
||||||
|
|
||||||
Tile tile(qFloor(c.lon()), qFloor(c.lat()));
|
Tile tile(floor(c.lon()), floor(c.lat()));
|
||||||
QByteArray *ba = _data.object(tile);
|
QByteArray *ba = _data.object(tile);
|
||||||
double ele;
|
double ele;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user