Skip to content

Commit be8822e

Browse files
committed
Precision and 3d
1 parent 6967a21 commit be8822e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+82
-70
lines changed

python/core/auto_generated/geometry/qgsabstractgeometry.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Returns a GeoJSON representation of the geometry.
259259
.. seealso:: :py:func:`asGml3`
260260
%End
261261

262-
virtual QJsonObject asJsonV2( ) const = 0;
262+
virtual QJsonObject asJsonObject( int precision = 17 ) const = 0;
263263
%Docstring
264264
Returns a GeoJSON object of the geometry.
265265

python/core/auto_generated/geometry/qgscircularstring.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ to ``p2`` will be used (i.e. winding the other way around the circle).
8181

8282
virtual QString asJson( int precision = 17 ) const;
8383

84-
virtual QJsonObject asJsonV2( ) const;
84+
virtual QJsonObject asJsonObject( int precision ) const;
8585

8686
virtual bool isEmpty() const;
8787

python/core/auto_generated/geometry/qgscompoundcurve.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Compound curve geometry type
5252

5353
virtual QString asJson( int precision = 17 ) const;
5454

55-
virtual QJsonObject asJsonV2( ) const;
55+
virtual QJsonObject asJsonObject( int precision ) const;
5656

5757

5858
virtual double length() const;

python/core/auto_generated/geometry/qgscurvepolygon.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Curve polygon geometry type
5656

5757
virtual QString asJson( int precision = 17 ) const;
5858

59-
virtual QJsonObject asJsonV2() const;
59+
virtual QJsonObject asJsonObject( int precision = 17 ) const;
6060

6161

6262
virtual double area() const;

python/core/auto_generated/geometry/qgsgeometry.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ Exports the geometry to WKT
14411441
Exports the geometry to a GeoJSON string.
14421442
%End
14431443

1444-
QJsonObject asJsonV2( ) const;
1444+
QJsonObject asJsonObject( int precision = 17 ) const;
14451445
%Docstring
14461446
Exports the geometry to a GeoJSON object.
14471447
%End

python/core/auto_generated/geometry/qgsgeometrycollection.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ An IndexError will be raised if no geometry with the specified index exists.
154154

155155
virtual QString asJson( int precision = 17 ) const;
156156

157-
virtual QJsonObject asJsonV2( ) const;
157+
virtual QJsonObject asJsonObject( int precision ) const;
158158

159159

160160
virtual QgsRectangle boundingBox() const;

python/core/auto_generated/geometry/qgslinestring.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ segment in the line.
414414

415415
virtual QString asJson( int precision = 17 ) const;
416416

417-
virtual QJsonObject asJsonV2( ) const;
417+
virtual QJsonObject asJsonObject( int precision ) const;
418418

419419

420420
virtual double length() const;

python/core/auto_generated/geometry/qgsmulticurve.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Multi curve geometry collection.
3737

3838
virtual QString asJson( int precision = 17 ) const;
3939

40-
virtual QJsonObject asJsonV2( ) const;
40+
virtual QJsonObject asJsonObject( int precision ) const;
4141

4242
virtual bool addGeometry( QgsAbstractGeometry *g /Transfer/ );
4343

python/core/auto_generated/geometry/qgsmultilinestring.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Multi line string geometry collection.
3636

3737
virtual QString asJson( int precision = 17 ) const;
3838

39-
virtual QJsonObject asJsonV2( ) const;
39+
virtual QJsonObject asJsonObject( int precision ) const;
4040

4141
virtual bool addGeometry( QgsAbstractGeometry *g /Transfer/ );
4242

python/core/auto_generated/geometry/qgsmultipoint.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Multi point geometry collection.
3838

3939
virtual QString asJson( int precision = 17 ) const;
4040

41-
virtual QJsonObject asJsonV2( ) const;
41+
virtual QJsonObject asJsonObject( int precision ) const;
4242

4343
virtual int nCoordinates() const;
4444

0 commit comments

Comments
 (0)