6928 Commits

Author SHA1 Message Date
Juergen E. Fischer
3a4a3af1d6 osgeo4w:
* only use GRASS major version in executable names
* autodetect GRASS folder
2018-11-10 21:35:09 +01:00
Nyall Dawson
149726cfa5 [dbmanager] Fix exception when browsing project layers 2018-11-10 12:30:52 +10:00
Giovanni Manghi
3165382dcf run prepare-commit 2018-11-09 09:37:05 +00:00
Nyall Dawson
ba17b130f8 Move forceRHR to QgsGeometry, avoid duplicate code 2018-11-09 19:06:48 +10:00
Nyall Dawson
63c9bcb5d2 Update reference lines 2018-11-09 19:06:48 +10:00
Nyall Dawson
d1e09a2bc7 [FEATURE][processing] New algorithm to force right hand rule for polygons
This algorithm forces polygon geometries to respect the Right-Hand-Rule,
in which the area that is bounded by a polygon is to the right of the
boundary. In particular, the exterior ring is oriented in a clockwise
direction and the interior rings in a counter-clockwise direction.
2018-11-09 19:06:48 +10:00
Etienne Trimaille
6e16651d96 [FEATURE] explode hstore algorithm (#8212) 2018-11-09 13:00:29 +07:00
Giovanni Manghi
963e45020d add the -te and -te_srs and -multi parameters to the gdalwarp tool used to clip rasters by mask layers 2018-11-08 18:53:35 +00:00
Giovanni Manghi
d2865983a3 add missing file 2018-11-08 17:40:38 +00:00
Giovanni Manghi
a866d4917c add GRASS r.mapcalculator, remove r.mapcalc 2018-11-08 17:35:36 +00:00
Giovanni Manghi
b67ef4f7f6 fix the SAGA Points Distances tool 2018-11-08 17:22:06 +00:00
Håvard Tveite
669d650895
No output - no mention (gdalalg yaml) 2018-11-08 14:55:03 +01:00
H Tveite
b9355556c5 Added tests for gdal extractprojection 2018-11-06 10:23:22 +01:00
Nyall Dawson
dc72f06e53 Bump minimum Qt version to 5.9 2018-11-06 08:45:37 +10:00
Luigi Pirelli
993dc81812
Merge pull request #8241 from NaturalGIS/fix_grass7_r_stats_quantile
fix GRASS7 r_stats_quantile
2018-11-05 22:25:37 +01:00
Nyall Dawson
ea9d5bb363 Fix mangled fonts in script editors
Don't override default font letter spacing or stretch -- it's not
safe to do because the results are very dependent on the individual
font's appearance and rendering hints.

Fixes #20349
2018-11-05 10:35:18 +10:00
Håvard Tveite
566d5726d7
Update extractprojection.py
indentation again...
2018-11-02 13:04:12 +01:00
Håvard Tveite
9c51f0565c
added a tr() based on feedback from jef-n 2018-11-02 11:27:33 +01:00
Håvard Tveite
1fc2f7ab1b
Some more indentation issues 2018-11-01 23:41:38 +01:00
havatv
681f73ae4e fixed some PEP8 issues 2018-11-01 17:36:00 +01:00
havatv
8976f6822f Added file output to gdal extractprojection, added exception for non-gdal sources and fixed boolean parameter handling + some formatting 2018-11-01 16:03:43 +01:00
Nyall Dawson
4dd3e211e2 Unit tests for reomve duplicates by attribute 2018-11-01 21:47:28 +10:00
Nyall Dawson
f65c845f86 [processing][GRASS] Correctly handle input vector layers with |layername= param
Fixes #20277
2018-11-01 18:36:53 +10:00
Nyall Dawson
82ac04d6f7 [processing][GRASS] Give some more feedback when trying to use
v.external for reading inputs, and if we can't, advise why not
2018-11-01 18:36:53 +10:00
Nyall Dawson
676238b28f [processing][grass] Highlight GRASS error messages and warnings in log
And catch segmentation faults from GRASS commands and show a nice
helper text advising user that QGIS isn't at fault here ;)

Also add a tip to try disabling the v.external option if that setting
is enabled and a GRASS segfault occurs
2018-11-01 18:36:53 +10:00
Nyall Dawson
17447e4b5c [FEATURE][browser] Restore preview functionality from old 2.x standalone
browser into inbuilt browser dock panel layer properties widget
2018-11-01 15:55:57 +10:00
William Kyngesburye
3f72e0cd41 don't run GRASS commands in shell, that's not working 2018-10-31 20:55:56 -05:00
Nyall Dawson
41c31b44ba Fix build warning 2018-11-01 05:56:38 +10:00
Matthias Kuhn
2df0cae8e3
Regenerate fids for "join attributes by location", pt2 2018-10-31 10:27:56 +01:00
Matthias Kuhn
d0eeffbecb
Regenerate fids for "points along geometry"
Fix #19998
2018-10-31 10:27:55 +01:00
Matthias Kuhn
f8d873c7cb
Regenerate fids for "join attributes by location"
Fix #19708
2018-10-31 10:27:55 +01:00
Matthias Kuhn
2e1c5e6103
Skip path checking 2018-10-31 10:27:55 +01:00
Matthias Kuhn
99b246dd78
Add comment for semi-broken control file 2018-10-31 10:27:55 +01:00
Matthias Kuhn
2c4abdf70d
Fix test for merging layers to gpkg 2018-10-31 10:27:55 +01:00
Matthias Kuhn
3949cb70c4
Fix faulty alg name in test 2018-10-31 10:27:54 +01:00
Matthias Kuhn
19276e2b03
Add merge vector layer test for gpkg 2018-10-31 10:27:54 +01:00
Matthias Kuhn
2a973fc0b6
Allow using gpkg in processing tests 2018-10-31 10:27:54 +01:00
Nyall Dawson
f3e9aaf79a Fix some inefficient python dictionary iteration 2018-10-31 08:42:51 +10:00
Nyall Dawson
85efc77bb4 Fix inefficient calls to QgsFeature.attributes()[idx]
Replace with just f[idx]. Calling QgsFeature.attributes()
allocates a list of all attributes, which is inefficient
when only a single attribute value is needed.
2018-10-31 08:42:51 +10:00
fuzzysolutions
6c99cbc1ba Minor changes to speed up PointstoPaths algorithm
# 1: Replaced time-consuming call on all attributes by a more specific request - responsible for about 90% of running time in my tests.
# 2: Minor speedup by calling items() before the for loop (1s in a large layer).
2018-10-31 08:42:51 +10:00
havatv
79731715ed Update GDAL extractprojection.py to QGIS 3 2018-10-30 17:19:15 +01:00
Håvard Tveite
296df2e00c
Reintroduce GDAL extract projection
Fixes #20263 (when some other files are also fixed)
2018-10-30 17:01:06 +01:00
Nyall Dawson
0d5a8ddd8e [processing] Fix exceptions due to closed algorithm dialogs when
opened from toolbox and closed before task completes
2018-10-29 10:49:46 +10:00
Juergen E. Fischer
9ad01cf9ba replace three dots with ellipsises in translation strings 2018-10-27 19:06:37 +02:00
Denis Rouzaud
d34fe6b109
fix gdal_contour in test (#8351)
now gdal_contour does not create 3D by default
see upstream issue https://github.com/OSGeo/gdal/issues/336
and fix abae82ccf4
2018-10-26 13:50:49 -08:00
Nyall Dawson
1a2d0cc54f [processing][SAGA] Fix multilevel b spline description files
Resync with SAGA parameters
2018-10-26 13:15:43 +10:00
rldhont
3ff5c8299d
Merge pull request #8319 from rldhont/fix-dbmanager-sql-layer-set-unique-combo-3
[BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
2018-10-25 11:31:27 +02:00
rldhont
236edd2723
Merge pull request #8318 from rldhont/processing-convertformat-geopackage
[Processing] Add GeoPackage support in alg qgis:convertformat (forward)
2018-10-25 10:19:03 +02:00
Borys Jurgiel
d0813a8822 Introduce QgsGui::HigFlags and don't capitalize menu entries and dialog titles in languages other than English. Fixes #19724 2018-10-25 18:11:36 +10:00
rldhont
2eb22d93ff [BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
When opening Update SQL layer, the unique combobox is not well set specifically with oracle.

It's a forward porting of #7872

Funded by Ifremer
2018-10-25 09:30:59 +02:00