51643 Commits

Author SHA1 Message Date
signedav
d3ccd6ee5f use "gpkg_fid" as default FID column 2018-10-22 12:00:01 +02:00
signedav
b4da995710 remove fid type check because its done before 2018-10-22 11:51:27 +02:00
signedav
d1172d4106 care for types of fid 2018-10-22 11:46:46 +02:00
signedav
d9fdf13dcf add dummy column in case the original layer does not contain an fid-field 2018-10-22 11:06:51 +02:00
Richard Duivenvoorde
4fa62e9b3b Fix #19703, make filter translatable and add NetCDF (#8245)
* Add NetCDF into MDAL dialog's file filter
2018-10-22 08:15:52 +02:00
signedav
cdcb5a2c4c running autopep8 on file to format correctly 2018-10-22 07:42:35 +02:00
Nyall Dawson
1bf63f1331 QStringLiteral 2018-10-22 09:30:32 +10:00
Blottiere Paul
444a2795f4 Add a translated window title 2018-10-22 00:29:59 +02:00
Blottiere Paul
86f13852fc Add an error message on auxiliary field deletion 2018-10-22 00:28:10 +02:00
Blottiere Paul
ef4bf1a806 Add link to corresponding issue in comment 2018-10-21 23:35:43 +02:00
Blottiere Paul
514db35cf8 Fixes freeze of server during rendering 2018-10-21 23:33:45 +02:00
Borys Jurgiel
006b130e8a Don't append raster layer to an existing GPKG, if a vector layer with the same name already exists. 2018-10-21 23:19:24 +02:00
Blottiere Paul
16e0db4033 Removes unused reset parameter 2018-10-21 23:02:23 +02:00
Blottiere Paul
f087f4a0a0 Data defined button is not red after deleting auxiliary field 2018-10-21 22:54:09 +02:00
Alessandro Pasotti
b379d75e1f
Merge pull request #8249 from tudorbarascu/fix_addpart
fix addpart tool warning
2018-10-21 21:27:20 +02:00
Juergen E. Fischer
f963ba32ea fix fcf85a199a94aac 2018-10-21 11:41:52 +02:00
Alessandro Pasotti
a83d9c94e1 Change tooltip for bad layers
because the click action is still a TODO
2018-10-21 10:49:53 +02:00
Alessandro Pasotti
843bee2822 Fix removable flag check and call base class (dis)connect 2018-10-21 10:47:12 +02:00
Alessandro Pasotti
5dfa992463 Port remaining indicator methods to the new interface 2018-10-21 09:54:30 +02:00
Alessandro Pasotti
dffd3b7311 Remove virtual 2018-10-21 08:57:34 +02:00
Alessandro Pasotti
7cbba8135a Some more indicator refactoring
Pass QgsMapLayer instance to tooltip and icon,
in case they needs updates
2018-10-21 08:57:08 +02:00
Alessandro Pasotti
a9a5039789 QgsLayerTreeViewIndicatorProvider refactoring 2018-10-21 08:56:04 +02:00
Alessandro Pasotti
fc53e64ef5 Bad layers indicator 2018-10-21 08:54:54 +02:00
Alessandro Pasotti
f2c262bc99 Small refactoring to silence clang warnings plus changed name to GPKG source select dialog provider
... to make it different than the other OGR s.s. dialog
2018-10-21 08:51:05 +02:00
Denis Rouzaud
7e3b5f40b8
Merge pull request #8247 from 3nids/maptoolzoom
fixes to the map tool zoom
2018-10-20 18:44:58 -08:00
Denis Rouzaud
f17b1a5219 restore zoom out rect 2018-10-20 19:55:22 -04:00
Tudor Bărăscu
5168d7d98b fix addpart tool warning
The isGeometryEmpty variable was true when geometry was present and viceversa.
Thus the warning for multiple parts for single geometry was giving false positives and
negatives.
2018-10-20 23:31:37 +03:00
Juergen E. Fischer
fcf85a199a fix build on Qt <5.6 2018-10-20 20:35:39 +02:00
Alessandro Pasotti
dcd33186bb [in-place] Fix alg runner when context is none 2018-10-20 10:05:48 +02:00
Alessandro Pasotti
99f3419446 Extend documentation of QgsFeatureRequest::setSubsetOfAttributes
Like suggested by Nyall
2018-10-19 22:44:31 +02:00
Alessandro Pasotti
71e85cc0b8
Merge pull request #8231 from elpaso/bugfix-20147-in-place-difference
[in-place][needs-docs] add buffer for polygons and fix #20147 in place difference
2018-10-19 22:40:57 +02:00
Denis Rouzaud
5fd6f68701 Zoom tool: do not draw rect when zooming out, update cursor when pressing alt 2018-10-19 16:33:48 -04:00
Denis Rouzaud
773167411c add isActive to QgsMapTool and update cursor when it is active 2018-10-19 16:33:48 -04:00
Denis Rouzaud
b3e526338b [fix #18892] avoid high jumps by setting a minimum pixel size for rect in map tool zoom 2018-10-19 16:33:48 -04:00
Nyall Dawson
f00e43d3c2 [layouts] Hack around inconsistent subclassing of layout items by sip
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.

This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
Nyall Dawson
0a662576a7 [layouts] Show more precision in map scale for map item properties
Previously we would often round the scale displayed to the nearest
integer. Now ensure that the map scale widget shows more decimals
to allow verification that the actual map scale exactly matches
the desired scale.

Fixes #20133
2018-10-20 06:18:51 +10:00
Denis Rouzaud
fb2883c79c
Merge pull request #8242 from 3nids/final_dpi
[fix #17773] fix HiDPI in map canvas on mac
2018-10-19 10:56:27 -08:00
Denis Rouzaud
345d25f779
remove useless variable 2018-10-19 14:56:09 -04:00
Denis Rouzaud
ff1face71d more dox 2018-10-19 13:46:10 -04:00
Denis Rouzaud
c1ce03cd3b test that window handle actually exists (avoid crash in tests) 2018-10-19 13:46:01 -04:00
Denis Rouzaud
dff0496961
use floating point precision and use proper setFlags method (#8244) 2018-10-19 08:18:42 -08:00
Alessandro Pasotti
21e685b46f [in-place] Limit buffer to (multi)polygons 2018-10-19 16:37:54 +02:00
Denis Rouzaud
35ec465847 update DPR on screen or resolution change 2018-10-19 10:30:04 -04:00
Alessandro Pasotti
adb930b204 Speed up getFeatures query by using a proper QgsFeatureRequest 2018-10-19 16:27:18 +02:00
Denis Rouzaud
b4e87d873e use float precision 2018-10-19 10:07:05 -04:00
Denis Rouzaud
09d2260b86 rename physicalSize to deviceOutputSize 2018-10-19 09:53:42 -04:00
Denis Rouzaud
924e375f48 fix wrong assert 2018-10-19 09:33:30 -04:00
Denis Rouzaud
556210bb6d avoid scaling in painting when possible
not sure how it works internally in Qt, but no need to call epxlicitely on scaling since the image device pixel ratio is set
2018-10-19 08:50:17 -04:00
Denis Rouzaud
ea982fe3d2 [fix #17773] fix HiDPI in map canvas on mac
For system introducing pixel device ratio, the image rendered by the canvas is actually scaled up to match the physical size of the canvas"
2018-10-19 08:50:12 -04:00
Juergen E. Fischer
7ad0dcfa71 Fix windows build 2018-10-19 12:21:14 +02:00