Martin Dobias
8d24e1744b
Added zmin/zmax parameters to limit usable zoom levels
2020-03-27 14:07:24 +01:00
Martin Dobias
5ec1890643
Moved to proper QgsMapLayer subclass + icon + optional tile borders
2020-03-27 12:08:40 +01:00
Martin Dobias
976c0e0ddb
Do not mix class and struct
2020-03-26 21:26:06 +01:00
Martin Dobias
617db5919a
Doxygen, spelling, sip fixes
2020-03-26 21:08:01 +01:00
Martin Dobias
bbc6af5ded
Fixes to python bindings + some bits from code review
2020-03-26 19:31:00 +01:00
Martin Dobias
8105ad1fe5
Initial work on vector tile layer support
2020-03-25 13:27:11 +01:00
Nyall Dawson
d10267f3aa
Spelling
2020-03-23 03:08:50 +10:00
Nyall Dawson
b63018520e
Cleanup scalebar widget enabling code by adding flags to QgsScaleBarRenderer
...
subclasses, so that the subclass itself can indicate what settings
it respects and we can avoid all the hardcoded logic in the configuration
widget
2020-03-23 03:08:50 +10:00
Nyall Dawson
4079878dfb
Rename API methods as requested
2020-03-23 03:08:50 +10:00
Nyall Dawson
1887846a5c
[FEATURE][layouts] Add "hollow" scalebar style
...
This matches the "hollow" scalebar style from ArcMap, and is a style
used in South African mapping standards
Fixes #20390
Sponsored by SLYR
2020-03-23 03:08:50 +10:00
Nyall Dawson
e7cc8307e4
[FEATURE][layouts] Add "Stepped Line" scalebar style
...
Designed to match the appearance and behavior of the ArcMap equivalent,
this was a scalebar format which was previously impossible to replicate
in QGIS.
Also fixes #26589
Sponsored by SLYR
2020-03-23 03:08:50 +10:00
Nyall Dawson
2c01373d1a
Fix build
2020-03-22 16:41:31 +10:00
Nyall Dawson
1e3e205a98
Fix deprecation warning
2020-03-22 16:41:31 +10:00
Nyall Dawson
e82a2e4df1
[FEATURE][layouts] Also allow full fill symbols to be used for single box
...
and double box fill styles
Sponsored by SLYR
2020-03-22 16:41:31 +10:00
Nyall Dawson
9378dcd73f
[FEATURE][layouts] Allow scalebar line style to be set using
...
standard QGIS line symbols
Instead of the previous settings of scalebar line color/width/cap styles,
we now expose the option as a full line symbol for more advanced styling
Also some code cleanups
Sponsored by SLYR
2020-03-22 16:41:31 +10:00
Mathieu Pellerin
f3e2ef1fe7
[FEATURE][symbology] Add data-defined property to font family/style for font markers ( #35224 )
2020-03-22 12:24:09 +07:00
Mathieu Pellerin
07570562fc
[FEATURE][symbology] Add a font style setting for font markers ( #35197 )
2020-03-21 12:11:16 +07:00
Nyall Dawson
7994490336
Sipify
2020-03-21 08:32:39 +10:00
Nyall Dawson
b45203a6c4
Make a proper registry for scalebar renderers
2020-03-21 03:45:24 +10:00
lbartoletti
364dc3fd4f
Fix multi split for multilinestring ( #34510 )
...
* Fix multi split for multilinestring
2020-03-20 13:23:11 +01:00
Alexander Bruy
4284cc19d9
fix mesh layer SIP bindings
2020-03-19 11:49:31 +02:00
Alexander Bruy
16b4ef8e32
[processing] port expression parameter definition widget to C++
2020-03-19 11:49:13 +02:00
Alexander Bruy
972223b55e
[processing] port point parameter definition widget to C++
2020-03-19 11:49:13 +02:00
Alexander Bruy
f4e4adbef8
[processing] port CRS parameter defintion widget to C++
2020-03-19 11:49:13 +02:00
Nyall Dawson
08e850db38
[processing] In batch mode, don't try to run rows with invalid parameter values
...
Previously we would show a warning about these, but then go ahead and try
to run the row anyway (using an empty set of parameters), resulting in
the log being filled with confusing error messages.
Instead, keep the existing warning advising about which values are
invalid, but skip the affected row and don't try to run it at all.
2020-03-19 15:42:13 +10:00
Nyall Dawson
880874bfb6
[layouts][FEATURE] Rework picture item UI and behavior
...
Adds an explicit choice between SVG or raster image sources,
which allows us to clean up the configuration panel for layout pictures
by hiding options which don't apply to a certain picture source. Also permits
us to:
- Reuse the standard svg selector tree widget, which loads images
in a background thread and fixes #17061
- Uses the standard SVG and image selector line edit, which permit
drag and drop of images and expose options to embed images
and link to online sources
Ultimately this is motivated by a desire to allow users to embed
images in layouts and layout templates
Sponsored by SLYR
2020-03-19 13:18:47 +10:00
Matthias Kuhn
01c7cb1814
Merge pull request #34928 from gacarrillor/adjust_run_button_status_in_alg_dialog
...
[processing][needs-docs] Adjust status of controls executing an algorithm dialog
2020-03-18 14:42:52 +01:00
Matthias Kuhn
342f1e3396
Merge pull request #31387 from gacarrillor/colour_refactor_fields
...
Show 'template layer' constraints info in the Refactor fields algorithm's UI
2020-03-18 07:10:06 +01:00
Nyall Dawson
7614de451e
[processing] Constrain model item resizing to prevent items being resized
...
to a too small size
2020-03-18 15:00:30 +10:00
David Signer
81317996be
reading of all the custom properties to e.g. copy them to the offline project
2020-03-18 10:48:25 +10:00
Denis Rouzaud
ac40ed4fe6
fix sip
2020-03-18 10:04:52 +10:00
Sandro Santilli
b2af13bdcc
[DBManager] Use ST_EstimatedExtent with newer PostGIS
...
Avoids errors with PostGIS 3.0+ ("st_estimated_extent" does not exist
anymore with that version).
2020-03-17 20:36:13 +01:00
Julien Cabieces
1c9e032beb
Fixes crash when displaying relation editor
2020-03-17 18:03:23 +01:00
Ivan Ivanov
9dc1ade0b5
Reorder the code; Add more context to the algorithm locator; Add more tests
2020-03-18 03:02:28 +10:00
Ivan Ivanov
7684062632
Fix processing locator filter
2020-03-18 03:02:28 +10:00
Ivan Ivanov
9e75e3b542
Add fuzzy search to all possible locator filters; Move to StringUtils::fuzzySearch; Add some tests (that helped!)
2020-03-18 03:02:28 +10:00
Ivan Ivanov
5241d64dcb
code formatting
2020-03-18 03:02:28 +10:00
Nyall Dawson
dee6f3f30d
Add flag to allow a child algorithm's results to prune back the remaining model branches
...
When an algorithm returns this flag, and after executing it in a model it doesn't set a
certain output which remaining model algorithms depend on, then these branches are
pruned back and don't get executed for the model run.
Allows for creation of algorithms which impact the overall model flow.
2020-03-18 02:52:37 +10:00
Nyall Dawson
a7f33be401
[FEATURE][processing] Add new algorithm "Filter by geometry type"
...
This algorithm filters features by their geometry type. Incoming
features will be directed to different outputs based on whether
they have a point, line or polygon geometry.
Allows for model creation which responds to different input
layer geometry types by applying different logic depending on the
input geometry type.
2020-03-18 02:52:37 +10:00
Matthias Kuhn
2770e2c327
Merge pull request #35035 from m-kuhn/value_relation_description
...
Add description to value relation widget
2020-03-17 15:32:46 +01:00
Nyall Dawson
06e663eccd
Pixel perfect model rendering
2020-03-17 19:40:01 +10:00
Alessandro Pasotti
d83da3cf8d
Merge pull request #34997 from suricactus/expression_edit
...
Add ability to edit, import and export user expressions
2020-03-17 10:31:09 +01:00
Nyall Dawson
8b54d2f06c
[processing] Fix conversion of ESRI CRS when running GDAL algorithms under proj 6
...
Fixes #35123
2020-03-17 16:58:09 +10:00
Nyall Dawson
4edc7d11d9
Drop postgis GeoDB class from Processing
...
This class is unused and is a near 1:1 copy of the core connections API
+ db manager classes
2020-03-17 15:10:53 +10:00
Nyall Dawson
184bb0ebb2
Port last postgis alg to connections API
2020-03-17 15:10:53 +10:00
Nyall Dawson
cb883b0610
Add capability for determining whether a spatial index exists (implemented
...
for GPKG, spatialite) and deleting a spatial index (implemented for GPKG)
to database connection
2020-03-17 15:10:53 +10:00
Nyall Dawson
cd2caf84f7
Raise an exception when connection is not specified
2020-03-17 15:10:53 +10:00
Nyall Dawson
3c3efe5f7a
Remove unused spatialite python connection class
2020-03-17 15:10:53 +10:00
Nyall Dawson
ba010f8803
[processing] Use core connections API for Spatialite algorithms instead
...
of Python reimplementation
2020-03-17 15:10:53 +10:00
Nyall Dawson
97e47fa7b8
[processing] Use core connections API instead of Python GeoDB class
...
for postgres connection handling
2020-03-17 15:10:53 +10:00