File tree 1 file changed +6
-6
lines changed
python/analysis/openstreetmap
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ struct QgsOSMElementID
8
8
enum Type { Invalid, Node, Way, Relation };
9
9
10
10
Type type;
11
- qint64 id;
11
+ QgsOSMId id;
12
12
};
13
13
14
14
@@ -27,13 +27,13 @@ class QgsOSMElement
27
27
28
28
public:
29
29
QgsOSMElement();
30
- QgsOSMElement( QgsOSMElementID::Type t, qint64 id );
30
+ QgsOSMElement( QgsOSMElementID::Type t, QgsOSMId id );
31
31
32
32
bool isValid() const;
33
33
34
34
// fetched automatically from DB
35
35
QgsOSMElementID elemID() const;
36
- qint64 id() const;
36
+ QgsOSMId id() const;
37
37
//QString username() const;
38
38
//QDateTime timestamp() const;
39
39
//int version() const;
@@ -55,7 +55,7 @@ class QgsOSMNode : QgsOSMElement
55
55
%End
56
56
public:
57
57
QgsOSMNode();
58
- QgsOSMNode( qint64 id, const QgsPoint& point );
58
+ QgsOSMNode( QgsOSMId id, const QgsPoint& point );
59
59
60
60
QgsPoint point() const;
61
61
@@ -76,9 +76,9 @@ class QgsOSMWay : QgsOSMElement
76
76
%End
77
77
public:
78
78
QgsOSMWay();
79
- QgsOSMWay( qint64 id, const QList<qint64 >& nodes );
79
+ QgsOSMWay( QgsOSMId id, const QList<QgsOSMId >& nodes );
80
80
81
- QList<qint64 > nodes() const;
81
+ QList<QgsOSMId > nodes() const;
82
82
83
83
// fetched on-demand
84
84
//QList<OSMElementID> relations() const;
You can’t perform that action at this time.
0 commit comments