35186 Commits

Author SHA1 Message Date
Sandro Santilli
799510f73a Revert "postgres provider: quote compound key columns in uri"
This reverts commit daa6510970e9afbc4d41d28e0c94b4f238eb372d.

I've tested that reverting this does not re-introduce bug
http://hub.qgis.org/issues/13710
2016-10-14 10:43:47 +02:00
Sandro Santilli
ada9348e2b Fix PostgreSQL import of layers with multi-column or quoted-column keys
Fixes #15226 (drag & drop of postgresql views)
Includes test
2016-10-14 10:43:41 +02:00
Juergen E. Fischer
8207167b6a debian packaging: add support for yakkety 2016-10-14 09:46:24 +02:00
Nyall Dawson
c0e3295c4c Fix build 2016-10-14 17:06:52 +10:00
Nyall Dawson
a0bfc10c56 Fix bad fills when using marker line with render effects (fix #15696) 2016-10-14 17:06:52 +10:00
Nyall Dawson
47c1f6e635 Merge pull request #3602 from nirvn/composer_table_custom_grid
[FEATURE] control over drawing of composer table grid horizontal & vertical lines
2016-10-14 16:42:25 +10:00
Nyall Dawson
721d3c5bfb Fix color widget opens in wrong panel (fix #15705) 2016-10-14 16:30:55 +10:00
nirvn
ec2d7fea0c [FEATURE] control over drawing of composer table grid horizontal & vertical lines 2016-10-14 13:20:59 +07:00
Nyall Dawson
ea2fbd1c64 Merge pull request #3584 from nirvn/db_manager_fixes
[db manager] non-spatial import & spatialite error reporting fixes
2016-10-14 15:56:53 +10:00
Nyall Dawson
b7321ecde6 Fix incorrect selection rect drawn for composer items on windows 2016-10-14 11:02:29 +10:00
Nyall Dawson
11043c41ee Add default shortcut to open attribute table (F6) 2016-10-14 11:02:29 +10:00
Larry Shaffer
de360f29d9 Merge pull request #3577 from dakcarto/master-ows-fixes 2016-10-13 18:35:03 -06:00
Sandro Santilli
d30a8c1fc2 Add hint about running specific test methods in python unit tests 2016-10-13 20:32:53 +02:00
Larry Shaffer
a629deef30 [auth] Reinstate auth system reply expansions for OWS providers
- Apparently this was lost during a git squash of commits for 2.12 PR
2016-10-13 12:13:30 -06:00
Larry Shaffer
37b00eb602 [WFS provider] Fix auth config extra expansion and auth prioritization 2016-10-13 12:13:30 -06:00
volaya
35f17496c1 Merge pull request #3581 from alexbruy/processing-terrain-analysis
[processing] add raster terrain analysis tools
2016-10-13 13:53:55 +02:00
Even Rouault
34894c6f5a [FEATURE] Vector layer save as: offer file/layer overwriting, new layer creation, feature and field appending
When saving a vector layer into an existing file, depending on the capabilities
of the output driver, the user can now decide whether:
- to overwrite the whole file
- to overwrite only the target layer (layer name is now configurable)
- to append features to the existing target layer
- to append features, add new fields if there are any.

All above is available for drivers like GPKG, SpatiaLite, FileGDB, ...
For drivers like Shapefile, MapInfo .tab, feature append is also available.
2016-10-13 11:38:41 +02:00
Sandro Santilli
0f4cba5c2d Fix bogus precision/scale in PostgreSQL for double values
This reverts commit 92f71b696ca93c792ae5602ed82863fcef0e5006,
which broke import of legit shapefiles by assuming wrong
semantic for the non-constraining QgsField length/precision
attributes.

Closes #15188

Includes test
2016-10-12 20:48:35 +02:00
rldhont
726bac5291 Last Redo [BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache
Add an accessor to QgsVectorLayer join buffer, to not duplicate QgsVectorLayerJoinBuffer::readXml code
2016-10-12 17:03:38 +02:00
Alexander Bruy
898addfa33 [processing] avoid division by zero (fix #15521) 2016-10-12 16:04:31 +03:00
Nyall Dawson
6605a2274f [processing] Optimise uniqueValues method
Now it uses the standard QgsVectorLayer.uniqueValues() method
where possible so that provider side optimisations are used

Also add test, and optimise request when using selected
features only
2016-10-12 17:05:15 +10:00
Nyall Dawson
05ea4be7c3 [processing] Fix inefficient values() method
Method was iterating over ever feature in a layer, including
geometries and all attributes for EVERY attribute requested

Add test and refactor so only one optimised iteration (eg no
geometry, only required attributes) is used
2016-10-12 16:56:29 +10:00
Nyall Dawson
2665eb50a6 Correctly handle edit buffer when using request with limit (fix #15505) 2016-10-12 16:31:49 +10:00
Nyall Dawson
53c3ed2dc0 Fix HTML annotation does not display HTML (fix #8609)
Annotation was only rendering html when it was associated with a
map layer. Now if it isn't associated with a map layer it will
always render the html.
2016-10-12 14:20:09 +10:00
Even Rouault
a5ffc6a856 Merge pull request #3589 from gacarrillor/patch-1
Adding contribution details.
2016-10-11 19:03:15 +02:00
rldhont
75405293e0 [QGIS Server] Loss qobject_cast when it's usefull 2016-10-11 11:35:07 +02:00
Alexander Bruy
85962653a2 [processing] restore Points in Polygons algorithm menu entry (follow up d4323addf0) 2016-10-11 12:01:14 +03:00
Alexander Bruy
a356bac1a5 [procesing] add tests for raster terrain analysis algorithms 2016-10-11 11:57:04 +03:00
Alexander Bruy
fabc0970c5 [processing] add icons for raster terrain analysis algorithms 2016-10-11 11:55:34 +03:00
Alexander Bruy
e2f36e40d1 [processing] remove unused imports 2016-10-11 11:55:34 +03:00
Alexander Bruy
7b74774322 [processing] expose Relief from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
15902aa2fa [processing] expose Hillshade from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
2c2ff64f7d [processing] expose Ruggedness from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
48c7c49c73 [processing] expose Slope from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
e76a4678ba [processing] expose Aspect from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Nyall Dawson
60cc853747 Add perceptually uniform colormaps to default styles
Adds the Viridis, Magma, Plasma and Inferno uniform color ramps
created by Stéfan van der Walt and Nathaniel Smith

See https://bids.github.io/colormap/ for more details

Note that I've thinned out the stops here, and only kept
every 5th stop from the original ramps
2016-10-11 16:46:43 +10:00
Nyall Dawson
9263abe4a1 [composer] Move all grid settings into seperate panel
Now grid settings are accessed by clicking "Modify grid"
from the composer map properties panel. This opens a new
stacked panel with all the grid settings.

This helps make the composer map widget less confusing.
Before it was absolutely jammed with controls, including
lots of nested groups.
2016-10-11 15:57:08 +10:00
Nyall Dawson
0dc5e83692 Fix unused variable warning 2016-10-11 13:41:49 +10:00
Nyall Dawson
44546e8ebb [composer] Port remaining symbol pickers to inline panels 2016-10-11 12:08:32 +10:00
Nyall Dawson
c36c242e8e [labeling] When in line orientation placement mode, rename above/
below options to left of line/right of line

Makes their meaning clearer
2016-10-11 11:33:50 +10:00
Nyall Dawson
01a402ca11 [labeling] Fix line orientation option gets checked randomly 2016-10-11 10:44:26 +10:00
Nyall Dawson
d4323addf0 [processing] Fix missing points in polygons menu item (fix #15670)
Also add a unit test
2016-10-11 09:30:46 +10:00
Nyall Dawson
90aebd117d [processing] Add geometry info should add z/m values (fix #14659) 2016-10-11 09:30:41 +10:00
rldhont
49459c8d70 [QGIS Server] Use qobject_cast when it's usefull 2016-10-10 17:18:59 +02:00
Germán
c96d8b200e Adding contribution details.
Grabbed from former OSGeo trac: https://trac.osgeo.org/qgis/
2016-10-10 09:32:49 -05:00
rldhont
e34116d7b9 Redo [BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache
With the commit f6aad8b, the QgsMapLayerRegistry signal `layersWillBeRemoved` is always emit. This imply that the vector layer join buffer is empty and not reloaded if the layer is in cache.

To fix it, the QgsServerProjectParser has to have the same method as QgsVectorLayerJoinBuffer::readXml.

This commit fixed #15522 Qgis Server doesnt' respect the styling from Desktop
2016-10-10 15:27:54 +02:00
rldhont
801d4cd9cd Revert "[BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache"
This reverts commit 1df9d7e1a60b3e6c913fae1414a6b397a1dc6aae.
2016-10-10 15:27:54 +02:00
rldhont
f4cae3334a Revert "fix typo 1df9d7e1a60b3e6c913fae1414a6b397a1dc6aae"
This reverts commit db1b52a249e7f5187e5ec2462bdf88ca91c5c988.
2016-10-10 15:27:54 +02:00
rldhont
be58cd781b Revert "Fix QGIS server for PyQgsServerAccessControl"
This reverts commit 8648bd12f39e17e3e656101e5b12a13b170e59c5.
2016-10-10 15:27:54 +02:00
rldhont
3b65a91b95 Revert "fix 1df9d7e"
This reverts commit 3b9316dae919a3debd31440eab18b51116cf478d.
2016-10-10 15:27:54 +02:00