5132 Commits

Author SHA1 Message Date
Nyall Dawson
dd759370bd [FEATURE][composer] Option to restrict image/SVG outputs to content
If selected, then the images output by composer will include only
the area of the composition with content. There's also an option
for margins to add around the item bounds if required.

If the composition includes a single page, then the output will
be sized to include EVERYTHING on the composition. If it's a
multi-page composition, then each page will be cropped to only
include the area of that page with items.

A new image export options dialog has been added to facilitate
this, which also includes handy shortcuts for overriding the
print resolution or exported image dimensions.

Sponsored by NIWA
2015-09-25 18:55:35 +10:00
Nyall Dawson
2f343008c1 [FEATURE][composer] Add fit page to contents option
New option in the composition panel, with optional extra margins
to add

Sponsored by NIWA
2015-09-25 18:55:35 +10:00
Nyall Dawson
2215d48712 [FEATURE][composer] Add option to hide pages from view/export
Sponsored by NIWA
2015-09-25 18:55:35 +10:00
Nyall Dawson
e9a060c62d Merge pull request #2336 from slarosa/sortfilter_fieldvalues
[FEATURE] allow filtering for field values in expression widget
2015-09-25 18:49:07 +10:00
Salvatore Larosa
d493a69069 [FEATURE] allow filtering for field values in expression widget 2015-09-25 07:45:26 +02:00
mhugent
8cec2c935f Merge pull request #2302 from manisandro/geometry_plugins
Geometry Checker and Geometry Snapper plugins
2015-09-25 02:39:50 +02:00
volaya
216e461246 [processing] correctly build multiple input value string
It was wrongly using comma instead of semicolon to separate values

Fixes #13114
2015-09-24 13:10:43 +02:00
volaya
1340f4d4f1 [processing] added 'run as batch' button in algorithm dialog 2015-09-24 13:10:41 +02:00
volaya
4d4ce9495c [processing] some methods to add Processing algorithms in menus and buttons 2015-09-24 13:10:40 +02:00
Giuseppe Sucameli
a17dac0561 [DBManager] fix loading Rasterlite layer from DBManager to QGIS by drag'n'drop 2015-09-21 23:07:04 +02:00
Giuseppe Sucameli
6a6e366c04 [DBManager] in import/export dialog, replace "Drop existing one" text to a more meaningful one (fix #13384) 2015-09-21 22:18:39 +02:00
Giuseppe Sucameli
99211262f3 [DBManager] allow to export table data to supported ogr file formats other than shapefile (fix #12111) 2015-09-21 22:18:39 +02:00
Juergen E. Fischer
2a1cacd5f4 defer legend invalidation to avoid reprocessing when multiple layers are involved 2015-09-21 21:25:19 +02:00
Martin Dobias
50d4e720a7 [FEATURE] Mutually exclusive layer tree groups (only one child may be checked at a time)
The feature can be toggled individually for groups - in layer tree view context menu.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
2015-09-21 19:30:15 +08:00
Sandro Mani
7573afc2ef Documentation and warning fixes 2015-09-21 10:03:25 +02:00
Sandro Mani
e9e638f6f4 Geometry Checker and Geometry Snapper plugins 2015-09-21 10:03:24 +02:00
volaya
72af56d8a2 [processing] quote return string when returning uri in ogrConnectionString
Fixes #13174
2015-09-21 07:45:18 +02:00
volaya
8ed71fbd38 [processing] corrected some issues with i18n names 2015-09-21 07:45:17 +02:00
Martin Dobias
a36567a47a Fix compilation error 2015-09-21 12:57:10 +08:00
Martin Dobias
d0fcc9557f More labeling engine refactoring
- QgsPalLabeling now internally uses new engine
- label/diagram providers can hook into rendering loop to avoid extra feature loops
- map rendering uses the new engine instead of QgsPalLabeling

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
2015-09-21 12:57:09 +08:00
Martin Dobias
8100495df6 Integrate new labeling engine into the map rendering
Now used instead of QgsPalLabeling for labels/diagrams

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.
2015-09-21 12:57:09 +08:00
Juergen E. Fischer
82b34afe03 move remaining function_help to json and update it's translation handling 2015-09-20 18:35:27 +02:00
Juergen E. Fischer
25437c10c6 indentation update 2015-09-19 11:17:42 +02:00
Nyall Dawson
73d838fd81 [FEATURE] Add concentric ring placement mode for displacement renderer 2015-09-18 13:20:53 +10:00
Nyall Dawson
586d59a432 [FEATURE] Add option to map unit scaling for limiting size in mm
Previously only the option to limit the scale range of the scaling
was available. Now you can also choose to limit the corresponding
rendered size in mm.
2015-09-17 20:35:27 +10:00
Nyall Dawson
f0a2fc1925 QgsMapUnitScale fixes:
- add docs
- add missing SIP bindings
- remove unnecessary cast from double->float->double
- add unit tests
2015-09-17 20:35:00 +10:00
Nyall Dawson
a77935f491 Use actual map canvas variables & values for symbology widgets 2015-09-17 20:34:51 +10:00
Nyall Dawson
a62c6a917a Give symbol widgets optional access to a map canvas
This allows symbol widgets to fetch properties from the main map
canvas, for instance fetching the current scale from the map.
2015-09-16 21:57:27 +10:00
Nyall Dawson
5a9d932d9c [FEATURE] Allow tolerance in mm/pixels for displacement renderer 2015-09-16 17:11:32 +10:00
radosuav
2a260edba8 [processing] [fixes #13034] Fix exception when editing model 2015-09-14 21:11:24 +02:00
radosuav
9d87c65614 [processing] Don't remove algorithm dependencies when editing algorithm parameters in the modeler 2015-09-14 21:11:24 +02:00
Juergen E. Fischer
23ea045d49 indentation update 2015-09-12 15:25:56 +02:00
Salvatore Larosa
d28325c3e6 [processing] fix log message when execution of algorithm from console failed 2015-09-12 13:27:31 +02:00
Salvatore Larosa
99e7925981 [processing] fixed translation strings for the new algorithm ombb and done one more small fixes 2015-09-12 09:37:25 +02:00
lbartoletti
442bdfc05c Oriented Minimum Bounding Box - processing version as requested #2116
Inverse field order for PERIMETER and ANGLE
2015-09-12 09:36:43 +02:00
mhugent
8640c13002 Merge pull request #2298 from nyalldawson/fix_13099
Fix #13099 - removal of geometries using node tool
2015-09-11 16:57:23 +02:00
Matthias Kuhn
3831668f2e Sip bindings for editing and cad map tools 2015-09-11 12:02:25 +02:00
Matthias Kuhn
efcbbfdaeb Move maptools from app->gui 2015-09-11 12:02:25 +02:00
Salvatore Larosa
62c0ef9ec8 [processing] followup 0548793: remove unused import 2015-09-11 10:04:25 +02:00
Salvatore Larosa
05487935ef [processing] save geometry for the algorithm dialog 2015-09-11 10:01:39 +02:00
Nyall Dawson
390ea4e9ba Sort variables in variable editor 2015-09-11 17:11:48 +10:00
Bernhard Ströbl
116089e6ec [PROCESSING] Speed up dissolve (esp. when using dissolve field)
Change parameters to have a more consistent UI
2015-09-11 07:47:04 +02:00
Salvatore Larosa
f3c7d853fd [processing] save modeler dialog/splitter geometry to settings 2015-09-10 18:08:00 +02:00
Larry Shaffer
1c0b6077f8 Followup to 2a5f262; fix typo and run through autopep8 2015-09-09 14:37:20 -06:00
Augustin
2a5f262beb Add "import only selected features" option to db manager 2015-09-09 19:00:40 +02:00
Matthias Kuhn
5f19dff783 Merge pull request #2175 from anitagraser/patch-8
Change resolution parameter defaults to floats
2015-09-09 18:30:58 +02:00
Nyall Dawson
910cb01698 Fix broken QgsFeatureStore::setFields method
Was setting fields only on temporary copies of the features, not
the stored features themselves
2015-09-09 19:17:40 +10:00
Nyall Dawson
285c1d3ee1 Fix doxygen warning 2015-09-09 17:46:36 +10:00
Nyall Dawson
806da2d385 Fix QgsGeometry::insertVertex and deleteVertex compatibility with
<2.10 API and multipoint geometries

Also fix a crash in QgsGeometryCollection::removeGeometry
2015-09-09 16:11:09 +10:00
Matthias Kuhn
93e9204b43 Add test for rulebased renderer else rule 2015-09-08 17:03:21 +02:00