17 Commits

Author SHA1 Message Date
Andrea Aime
1140437f55 Do not generate a ogc:Filter where a ogc:Expression is expected. Fixes #10076 and #11202 2016-08-12 12:44:02 +02:00
Nyall Dawson
4b78b1c208 Make all QgsGeometry methods return values, not pointers
Reduces likelihood of crashes and leaks
2016-08-01 22:41:55 +10:00
Nyall Dawson
c3a57434d9 Fix clazy 'pass small and trivially-copyable type by value' warnings 2016-02-02 19:47:21 +11:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Nyall Dawson
2863f20d67 Add a const geometry getter to QgsFeature 2015-05-11 19:46:32 +10:00
rldhont
75f596849c Bug #10974 QGIS WFS Server provides too much precision
In the GetFeature request QGIS WFS Server uses the static method: QgsDoubleToString. This method returns double with a precision fixed to 17.

We do not need that much precision for coordinates. Firstly because we are not able to measure a position on earth with a lower micron precision. Secondly because it unnecessarily overload response.

I propose to add the ability to specify the precision in the QgsDoubleToString method.
2014-08-22 13:45:31 +02:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
d4e369414b update sip bindings 2014-01-26 18:36:29 +01:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Martin Dobias
b513674fa8 Moved expression to OGC filter code to QgsOgcUtils 2013-03-15 00:44:32 +01:00
Martin Dobias
16ec226d97 Moved visitor-based expression -> OGC filter code to QgsOgcUtils 2013-03-15 00:44:31 +01:00
Martin Dobias
837ac4de5c Moved creation of expression from OGC filter to QgsOgcUtils 2013-03-15 00:44:31 +01:00
D'Hont René-Luc
93e0259843 Simplifying QgsOgcUtils
After commit 7d66529d7884b73070dbce80b1d4060d841a6933 Add GML3 to
QgsOgcUtils, I have to simplify this class to only have :
* geometryFromGML : read GML2 or GML3
* geometryToGML : create GML2 (as default) or GML3
2013-03-13 19:10:03 +01:00
D'Hont René-Luc
7d66529d78 Add GML3 to QgsOgcUtils
After the commit 969df016bcdbd1ead8a347b7a5d55c8b36db183a Moved GML import/export to a new class: QgsOgcUtils, I decided to add GML3.
I updated QgsOgcUtils, QGIS WFS Server, and the Python Iterface and I added unit test for GML3.
2013-03-13 10:19:35 +01:00
Martin Dobias
969df016bc Moved GML import/export to a new class: QgsOgcUtils 2013-03-08 00:31:46 +01:00