Nyall Dawson
be4909776b
Avoid warning
2016-02-13 20:59:54 +11:00
Nyall Dawson
c62a6e76d5
Optimise some loops over QMap/QHash objects
...
Avoid iterating over keys() and then later retrieving the matching
values, and instead use QMap/QHash iterators to retrieve both the
keys and values at the same time
2016-02-13 20:59:54 +11:00
Juergen E. Fischer
62f272e44d
processing: fix path setting for saga
2016-02-13 02:00:10 +01:00
Nyall Dawson
9f772bce29
Add API call for setting preferred distance unit for QgsExpression
...
(refs #13209 , #12939 , #4857 )
2016-02-13 11:36:51 +11:00
Nyall Dawson
99e52af4aa
Don't show 'unknown' suffix for when displaying measurements
2016-02-13 11:36:51 +11:00
Nyall Dawson
087e1489e3
Increase maximum size of diagram spinbox ( fix #14282 )
2016-02-13 11:36:50 +11:00
Juergen E. Fischer
7489af8695
debian packaging: fix removed diversion (take II; followup 8b054e6; reverts 5f310a7)
2016-02-12 22:58:56 +01:00
Nyall Dawson
9e2890dad4
Fix (harmless) Coverity warnings
2016-02-13 07:29:57 +11:00
Nyall Dawson
356719144c
Fix failing expression test on OSX
2016-02-13 07:13:47 +11:00
Nyall Dawson
c50033bbaa
Misc optimisations suggested by clazy
...
- avoid Q_FOREACH( ..., QMap.values() ) as it allocates an unnecessary
list
- use .endsWith( ... , Qt::CaseInsensitive) instead of
.lower().endsWith( ... ) as it avoids an extra QString allocation
2016-02-12 20:54:25 +11:00
Nyall Dawson
d0e595f85f
Indentation
2016-02-12 20:54:25 +11:00
Nyall Dawson
229ef29170
If no geomCalculator is set for QgsExpression, perform cartesian
...
calculations for $length, $area, $perimeter (refs #13209 )
ie, the default is now to use planimeteric calculations unless
a geomCalculator has been explicitly set
2016-02-12 20:54:25 +11:00
Hugo Mercier
6bbe3b93a2
Fix DependencySorter.sortedLayerIds. Fixes #14281
2016-02-12 09:16:46 +01:00
Martin Dobias
0c478d0148
Merge pull request #2729 from dgoedkoop/digitisecrs2
...
Fix floating point inaccuracies when digitizing (to fix bug #13745 )
2016-02-12 09:46:10 +08:00
Juergen E. Fischer
a111889973
postgres provider: don't log expected failure (followup 6b3651fa)
2016-02-12 01:36:28 +01:00
Juergen E. Fischer
c7a0543050
reduce wkb debugging noise (followup 2ea3d77)
2016-02-12 01:21:35 +01:00
Daan Goedkoop
384da5665e
Fix floating point inaccuracies when digitizing (to fix bug #13745 )
2016-02-11 21:05:34 +01:00
Juergen E. Fischer
bcc8e2a792
debian packaging: add yaml dependency python-qgis
2016-02-11 20:32:30 +01:00
Alexander Bruy
8ba6149d7c
[processing] make DTM2ASCII tool visible in toolbox
2016-02-11 19:45:45 +02:00
Radim Blazek
c8161aac88
[GRASS] fixed stds input
2016-02-11 16:15:05 +01:00
Radim Blazek
dfdb420f23
[GRASS] fixed module search on windows, fixes #14241
2016-02-11 15:23:58 +01:00
Alexander Bruy
0d652b2fe0
Merge pull request #2774 from medspx/processing_fix_parameternumber
...
[processing] fix ParameterNumber float detection
2016-02-11 13:47:48 +02:00
Alexander Bruy
169d35f319
[processing] fix example script
2016-02-10 16:37:14 +02:00
Juergen E. Fischer
294f033b81
adapt wfs capabilities test data to d11c689e
2016-02-10 09:54:40 +01:00
Alexander Bruy
5715ed3b39
Merge pull request #2775 from NaturalGIS/processing_fix_saga_default_extent
...
[processing] remove wrong/non mandatory default extent for raster analysis
2016-02-10 10:45:49 +02:00
Juergen E. Fischer
9e0043cd4b
include qgswkbptr.h in install
2016-02-10 08:59:55 +01:00
Juergen E. Fischer
7128a353a2
add 2to3 script to migrate (some) PyQt signal/slots to new style
2016-02-10 01:32:13 +01:00
Giovanni Manghi
e9e4954c58
Processing: remove wrong/non mandatory default extent for raster analysis
2016-02-09 19:37:00 +00:00
Médéric RIBREUX
5d19a3b21b
[Processing] Fix ParameterNumber float detection (with unit tests)
2016-02-09 20:07:32 +01:00
rldhont
d11c689eea
[BUGFIX][QGIS Server] WFS Service Capability OnlineResource
...
WFS Service Capability OnlineResource is not the same as in WMS.
2016-02-09 17:50:13 +01:00
rldhont
ec75f34597
[BUGFIX] Update (*.model *.MODEL) localization
...
This part of the string, (*.model *.MODEL), does not have to be localized.
Some localizers have added a comma between files format, which prevents files filtering.
2016-02-09 17:29:22 +01:00
Juergen E. Fischer
3745207d49
fix windows build (followup 58beed24)
2016-02-09 17:11:27 +01:00
Jürgen Fischer
b9726d7285
Merge pull request #2748 from jef-n/wkb-bounds-check
...
port more WKB parsing to Qgs(Const)WkbPtr including bounds checking
2016-02-09 16:21:23 +01:00
Juergen E. Fischer
d05c31ea19
fix gml wkb assembly
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
4a8b49b768
don't save invalid wkb
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
026a5c7121
avoid identifier verify (macro on mac)
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
e8a5c6658a
simplifier: fix skipping to last point (fixes 1a3f3d4)
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
731a3fe1cc
catch QgsWkbException in QgsGeometryFactory (passes test from PR#2751)
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
89b49a1a63
avoid double endian swapping
2016-02-09 14:20:07 +01:00
Sandro Santilli
e8be21ad61
Add test for premature WKB end in QgsGeometry::asWkt
...
See #14182
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
2ea3d7744d
port more WKB parsing to Qgs(Const)WkbPtr including bounds checking
2016-02-09 14:20:07 +01:00
Juergen E. Fischer
ded1ebb33b
indentation fixes
2016-02-09 14:19:13 +01:00
Alexander Bruy
475911f75f
Merge pull request #2768 from NaturalGIS/processing_fix_gdal_string
...
[processing] fix non-translatable string in GDAL/Aspect
2016-02-09 15:12:38 +02:00
Alexander Bruy
686ad242c1
Merge pull request #2769 from NaturalGIS/processing_fix_gdal_optional_parameters
...
[processing] fix a few GDAL/OGR optional parameters
2016-02-09 15:12:15 +02:00
Alexander Bruy
a5ddf92dfb
Merge pull request #2770 from NaturalGIS/processing_fix_ogr_convert_format
...
[processing] fix OGR/Convert format tool
2016-02-09 15:11:32 +02:00
Juergen E. Fischer
41ac88ad3e
debian packaging: fix templates ( fixes #14248 )
2016-02-09 11:37:43 +01:00
Hugo Mercier
fa78ccf74d
Deprecate old WkbType in QgsDataSourceUri
2016-02-09 10:44:41 +01:00
Hugo Mercier
e2123c79e5
Fix addFeature and addPart maptool for layers with a Z
2016-02-09 10:44:41 +01:00
Hugo Mercier
2ebd26a9ad
[postgres] Fix detection of 2.5D layer types
2016-02-09 10:44:41 +01:00
Juergen E. Fischer
5f310a724e
debian packaging: fix removed diversion (followup 8b054e6)
2016-02-09 10:40:40 +01:00