Zayne Tomlins
dc2bad87c2
[feature] Added new ellipse marker shapes
...
Added Pentagon, Hexagon, Octagon, Third Circle, Quarter Circle & Star to ellipse marker shapes.
2022-07-25 18:51:13 +10:00
Nyall Dawson
4c5be9cb85
Dox++
2022-07-23 06:04:02 +10:00
Nyall Dawson
60bb4b321b
Add method to launder layer names to get them into a format
...
suitable for typical database layer naming
2022-07-23 06:04:02 +10:00
signedav
4b1d8b7fc3
update docstring
2022-07-21 06:46:57 +10:00
signedav
716f9b80fd
improve tests and remove unused debug log
2022-07-21 06:46:57 +10:00
Nyall Dawson
65f700e700
Use enum classes for ArcGIS REST service types for clarity
2022-07-21 06:46:31 +10:00
Nyall Dawson
a49f487b7f
Don't try to load missing cpt ramps, part 2
2022-07-20 13:59:13 +10:00
Jean Felder
11bb812f7d
qgsphongmaterialsettings: Fix setOpacity documentation
2022-07-19 08:04:39 -07:00
Andrea Giudiceandrea
8914ff52ba
Fix MetaSearch core plugin metadata
...
Update the issue tracker URL. Remove the outdated changelog and useless "experimental" and "deprecated" parameters.
2022-07-19 05:36:29 +10:00
Nyall Dawson
bd37677f6a
Add missing file
2022-07-18 21:21:12 +10:00
Nyall Dawson
aa9c6f60c6
Add method to convert field to JSON definition
2022-07-18 21:21:12 +10:00
Nyall Dawson
fe7407b29c
Add more fine-grained control of what to include when converting
...
features to JSON
2022-07-18 21:21:12 +10:00
Nyall Dawson
6da633d998
Allow skipping of geometry in json
2022-07-18 21:21:12 +10:00
Nyall Dawson
7da574fe36
Add QgsAbstractDatabaseProviderConnection interface for renaming fields
...
And implement for OGR connections. Also expose the ability to rename
existing fields for supported database connections via browser.
2022-07-18 17:26:13 +10:00
Nyall Dawson
f821fefdf2
Add method to select a QgsDataItem directly in QgsBrowserTreeView
2022-07-18 12:50:18 +10:00
Nyall Dawson
f57f9485d1
Add browser tree view to QgsDataItemGuiContext
...
This allows the item gui providers to access the view associated
with an action, e.g. to automatically select something in that
view
2022-07-18 12:50:18 +10:00
Nyall Dawson
6fd8f424a2
Handle time zones
2022-07-16 16:46:44 +10:00
Nyall Dawson
300e2b2d89
Add method to convert QgsFeatures to ArcGIS REST representation
2022-07-16 16:46:44 +10:00
Nyall Dawson
9548e767c4
Add method to convert crs to ArcGIS REST JSON
2022-07-16 16:46:44 +10:00
Nyall Dawson
484bea7c34
Add API methods to convert QgsGeometry to an ArcGIS REST representation
2022-07-16 16:46:44 +10:00
Nyall Dawson
2321ba41ce
Add interface for QgsProviderMetadata::createDatabase
...
Can be used on a supported provider to create a new empty database
at a specified URI.
2022-07-14 11:54:21 +10:00
Julien Cabieces
d5505e329d
Add missing Q_OBJECT macros and enable clazy check missing-qobject-macro
2022-07-13 08:24:23 +10:00
Nyall Dawson
8dc9635dbc
Only offer to create supported domain types
2022-07-13 06:44:58 +10:00
Nyall Dawson
8b15f59639
Force use of raster masking in layout designer preview
...
The vector masking (while great for output quality) is much slower,
so for the layout designer preview renders we just use the faster
raster approach.
2022-07-12 14:59:43 +10:00
Nyall Dawson
5a6b76abaf
Fix difference algorithm when differencing a point results in
...
a null geometry
Fixes #49291
2022-07-12 11:42:10 +10:00
Nyall Dawson
9b09445c08
Change project style disabling from being a project load flag
...
to a new project "capability"
This avoids the unwanted cost of initialising a blank style database
whenever QgsProject::clear is called and project styles are not
required (eg. for server)
2022-07-11 15:22:11 +10:00
Nyall Dawson
8d25fe973f
Indentation
2022-07-09 07:12:08 +10:00
Nyall Dawson
44708b9c0c
Create QgsColorUtils class
...
Contains methods to serialize/deserialize colors from xml and strings,
where the colors are losslessly stored/restored.
The previous methods for storing colors (Eg QgsSymbolLayerUtils::encode/decodeColor)
are lossy, and only store QColors as 8 bit RGB representations. In
contrast, the new methods store the full lossless representation of
a QColor, including support for 16 bit color components, extended
RGB color components, and storage of HSL/HSV/CMYK color specifications
using their original color components instead of RGB components.
When these new methods are used in place of the existing lossy methods,
they open the possibility of 16 bit color support for QGIS symbols/projects,
(and potentially future CMYK color support).
2022-07-09 07:12:08 +10:00
Nyall Dawson
356974e401
When loading a new vector tile source into a project, if the associated
...
MapBox GL style includes any raster sublayers, then also load those
into the project with converted styles.
Fixes #46593
2022-07-08 16:06:19 +10:00
Nyall Dawson
6bb01c80f3
Convert raster sublayers in mapbox gl style layers, including
...
data defined layer opacity
2022-07-08 16:06:19 +10:00
Nyall Dawson
31fc7405d1
Add method to convert raster source to QgsRasterLayer
2022-07-08 16:06:19 +10:00
Nyall Dawson
dd3058eb42
Add support for parsing raster sources to QgsMapBoxGlStyleConverter
2022-07-08 16:06:19 +10:00
Mathieu Pellerin
52a34cc7b7
[positioning] Add missing equal-to operator to the QgsSatelliteInfo class
2022-07-08 10:05:10 +10:00
Nyall Dawson
56912b1602
Don't select invisible features
2022-07-08 09:12:46 +10:00
Nyall Dawson
542015a3df
Implement toggling support for selecting single features
2022-07-08 09:12:46 +10:00
Nyall Dawson
12321df49a
Allow actions which work on selection to also work with vector tile selections
2022-07-08 09:12:46 +10:00
Nyall Dawson
1f48f16b2f
Render selected features on top of vector tile layer
2022-07-08 09:12:46 +10:00
Nyall Dawson
721bcaab66
Implement API for selecting features in a vector tile layer
2022-07-08 09:12:46 +10:00
Mathieu Pellerin
a351a3e301
Fix QgsGeometry documentation inaccuracy
2022-07-08 08:05:07 +10:00
Harrissou Sant-anna
8761480128
Add missing class reference
2022-07-02 09:58:37 +10:00
Harrissou Sant-anna
7717f39d48
Update and cleanup of geometry_checker dox
2022-07-02 09:58:37 +10:00
Thomas Stocker
a3a34e0de0
Enable Journal Wal, increase Timeout use only sqlite transaction ( #49090 )
...
Fixes Multithreading issues with Mbtile Creation on slow disks and or Machines with a lot of threads.
Fixes #47738
2022-06-22 09:50:56 +10:00
Nyall Dawson
54a979c600
Handle stops in text-field when converting mapbox styles
2022-06-21 11:10:55 +10:00
Nyall Dawson
864fee0172
Try to take stored font filename from response headers
2022-06-20 13:01:55 +10:00
Nyall Dawson
75355386c2
Add helper methods to get filename from content disposition headers
2022-06-20 13:01:55 +10:00
Nyall Dawson
dae637a67c
Defer font download handling until QgsApplication is fully initialized
...
and make opt-in for non-app clients
There's a tricky initialization balancing act happening here -- but
if we try to load the default style on a system missing the fonts
referenced in that style, then we risk trying to download those
fonts before the QgsNetworkAccessManager is ready.
So play it safe and defer all font download handling until the
QGIS app is fully launched.
2022-06-20 13:01:55 +10:00
Nyall Dawson
b9ff03473b
Download missing fonts when parsing vector tile styles wherever possible
...
This is an alternative approach to solving #46588 , where we avoid the
issues which arise from trying to render vector tile PBF fonts.
Refs #46588
2022-06-20 13:01:55 +10:00
Nyall Dawson
3214235580
Add method to remove a user font
2022-06-20 13:01:55 +10:00
Nyall Dawson
e1dba0dbe0
Allow for multiple user font directories, and add method to return
...
all installed user fonts
2022-06-20 13:01:55 +10:00
Nyall Dawson
852480c7bc
Wrap up font download in a nice method which just requires a family name
...
And populate hardcoded list with a bunch of known fonts available
from Google Fonts
2022-06-20 13:01:55 +10:00