54935 Commits

Author SHA1 Message Date
Alessandro Pasotti
bbd836f4d3 Update tests for geometry classes 2019-05-02 13:52:46 +02:00
Alessandro Pasotti
ba816459e1 Update tests 2019-05-02 10:16:00 +02:00
Alessandro Pasotti
8378eae0e5 Layout 2019-04-24 10:08:08 +02:00
Alessandro Pasotti
63711510b6 Dear Qt, I love you but ...
... you are too slow and QJson API is so ugly.

Now using this wonderful json lib:
https://github.com/nlohmann/json

Results in release mode (QJson tests are not shown but
QJson was even slower than string concat).

PASS   : TestQgsJsonUtils::testExportAttributesJson(Use json)
RESULT : TestQgsJsonUtils::testExportAttributesJson():"Use json":
     0.0022 msecs per iteration (total: 75, iterations: 32768)
PASS   : TestQgsJsonUtils::testExportAttributesJson(Use old string concat)
RESULT : TestQgsJsonUtils::testExportAttributesJson():"Use old string concat":
     0.0032 msecs per iteration (total: 54, iterations: 16384)
PASS   : TestQgsJsonUtils::testExportFeatureJson(Use json)
RESULT : TestQgsJsonUtils::testExportFeatureJson():"Use json":
     0.011 msecs per iteration (total: 96, iterations: 8192)
PASS   : TestQgsJsonUtils::testExportFeatureJson(Use old string concat)
RESULT : TestQgsJsonUtils::testExportFeatureJson():"Use old string concat":
     0.015 msecs per iteration (total: 64, iterations: 4096)
PASS   : TestQgsJsonUtils::testExportGeomToJson(Use json)
RESULT : TestQgsJsonUtils::testExportGeomToJson():"Use json":
     0.76 msecs per iteration (total: 98, iterations: 128)
PASS   : TestQgsJsonUtils::testExportGeomToJson(Use old string concat)
RESULT : TestQgsJsonUtils::testExportGeomToJson():"Use old string concat":
     0.85 msecs per iteration (total: 55, iterations: 64)
PASS   : TestQgsJsonUtils::cleanupTestCase()
2019-04-18 17:04:30 +02:00
Alessandro Pasotti
103981deb5 Fix QCOMPARE in the test 2019-04-18 11:29:36 +02:00
Alessandro Pasotti
a809625be9 Add default precision value 2019-04-16 19:26:10 +02:00
Alessandro Pasotti
29f6822437 Use precision 2019-04-16 17:06:57 +02:00
Alessandro Pasotti
64fdbe3d76 Added tests and doxy 2019-04-16 15:17:25 +02:00
Alessandro Pasotti
75537a4365 More 3d and use jsonobject attrs in exporter 2019-04-16 14:00:59 +02:00
Alessandro Pasotti
be8822ed8b Precision and 3d 2019-04-16 14:00:59 +02:00
Alessandro Pasotti
6967a21882 toJsonV2 2019-04-16 14:00:59 +02:00
Alessandro Pasotti
722282828e Use QJson for JSON encoding of features 2019-04-16 14:00:59 +02:00
Juergen E. Fischer
891ea18bab debian packaging: add ubuntu disco 2019-04-15 23:38:20 +02:00
Alessandro Pasotti
0e9428b652
Merge pull request #9787 from elpaso/request-21787-identify-links
Clickable links in identify results from GetFeatureInfo
2019-04-15 16:46:36 +02:00
Alessandro Pasotti
2895a64036 Const storage on list of formats 2019-04-15 14:46:59 +02:00
Alessandro Pasotti
0acc0565e4 Open identify links in external browser
Fixes #21787
2019-04-15 14:46:59 +02:00
Alessandro Pasotti
d24e6fd53b Use logical DPI instead of physical 2019-04-15 14:43:00 +02:00
Matthias Kuhn
04409ac725
Merge pull request #9786 from m-kuhn/app_no_qforeach
No more Q_FOREACH in app
2019-04-15 10:24:51 +02:00
Matthias Kuhn
2f3646a142
Remaining Q_FOREACH to for changes 2019-04-15 09:27:17 +02:00
vcloarec
f86d8de4e8 fix the QgsMeshLayerProperties constructor
In constructor, if HAVE_3D is defined, the "mVector3DWidget is constructed with the mapCanvas instance of the QgisApp instance instead with the QgsMapCanvas instance which is an argument of the constructor.
2019-04-15 09:02:28 +02:00
Matthias Kuhn
6cd293f83d
No more Q_FOREACH in app 2019-04-15 07:15:22 +02:00
Nyall Dawson
e2f7b911ee Spelling 2019-04-15 13:59:24 +10:00
Nyall Dawson
ae302fff99 More unit type handling 2019-04-15 13:59:24 +10:00
Nyall Dawson
5f41e54042 Fix build with proj4 2019-04-15 13:59:24 +10:00
Nyall Dawson
75993afcee Another test 2019-04-15 13:59:24 +10:00
Nyall Dawson
927b05339e Remove OGRSpatialReferenceH member from proj 6 builds 2019-04-15 13:59:24 +10:00
Nyall Dawson
10850bc689 More OGR->Proj conversion for proj 6 2019-04-15 13:59:24 +10:00
Nyall Dawson
dcb4553dc6 Port toProj4 to proj 6 2019-04-15 13:59:24 +10:00
Nyall Dawson
b42b295669 Port CRS map unit handling to proj 6 2019-04-15 13:59:24 +10:00
Nyall Dawson
d831f4e15f Use proj6 api for geographicCrsAuthId(), add tests 2019-04-15 13:59:24 +10:00
Nyall Dawson
3bab21dc1b Fix crs export to wkt on proj 6 2019-04-15 13:59:24 +10:00
Nyall Dawson
aa21d55fab Port more QgsCoordinateReferenceSystem internals to proj v6 2019-04-15 13:59:24 +10:00
Nyall Dawson
018f3bc19b Remove more proj4 api usage 2019-04-15 13:59:24 +10:00
Alessandro Pasotti
d3f6a5f9be
Merge pull request #9780 from elpaso/bugfix-plugins-dependencies-missing-metadata
Handle broken plugins when searching for dependencies
2019-04-12 15:57:33 +02:00
Alessandro Pasotti
507e327c0c Handle broken plugins when searching for dependencies 2019-04-12 14:38:52 +02:00
rldhont
aa297b5185
Merge pull request #9763 from rldhont/sld-point-symbolizer-on-polygon-centroid-not-all-parts
Apply SLD PointSymbolizer on single centroid for polygon
2019-04-12 13:57:57 +02:00
rldhont
052b222196 Test apply SLD PointSymbolizer on single centroid for polygon 2019-04-12 12:32:56 +02:00
Marco Bernasocchi
a0a8e49e8f
Merge pull request #9777 from mbernasocchi/fix_maxwmswidth
[server] fix wmsMaxHeightEnv leftover code
2019-04-12 09:45:44 +02:00
Alessandro Pasotti
6092d56991
Merge pull request #9776 from pblottiere/server_params
[server] Fallback to unmanaged parameters
2019-04-12 09:31:35 +02:00
Marco Bernasocchi
c1546d9dcb fix wmsMaxHeightEnv leftover code
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
2019-04-12 09:05:36 +02:00
Blottiere Paul
f6970faa84
Merge pull request #9772 from pblottiere/wms_fix
[server] Fixes WMS 1.3.0 certification
2019-04-11 13:57:13 +02:00
Blottiere Paul
a8a729b24d Add test for an unkown parameter 2019-04-11 13:23:39 +02:00
Blottiere Paul
518e208088 Add unit test 2019-04-11 13:14:23 +02:00
Blottiere Paul
74943df90b Add a fallback to unmanaged parameters 2019-04-11 13:14:04 +02:00
Blottiere Paul
1333be1e1c Update unit tests 2019-04-11 11:36:42 +02:00
Blottiere Paul
8e67b26e58 Update enum 2019-04-11 11:36:30 +02:00
Blottiere Paul
3ec23ca2ec Add unit tests 2019-04-11 09:25:00 +02:00
Blottiere Paul
b2b33aff30 Update exception code string for CRS/SRS issues 2019-04-11 09:25:00 +02:00
rldhont
09b8a57706
Merge pull request #9769 from dmarteau/Fix-OperationNotSupported-http-code
Return 501 on 'OperationNotSupported' error
2019-04-11 09:22:45 +02:00
David Marteau
69728d4c1d Return 501 on 'OperationNotSupported' error 2019-04-11 08:42:04 +02:00