Nyall Dawson
2c59facf0f
Don't copy dox from base class methods
2020-11-13 02:59:05 +10:00
Nyall Dawson
0169347f5b
Hookup API for point cloud data providers to create default renderers for associated layers
2020-11-13 02:59:05 +10:00
Nyall Dawson
c2fe0d3749
Hook QgsPointCloudRenderer into QgsPointCloudLayerRenderer (non-functional for now)
2020-11-13 02:59:05 +10:00
Nyall Dawson
abbd634b44
API shell for QgsPointCloudRenderer 2d point cloud renderer
2020-11-13 02:59:05 +10:00
Nyall Dawson
8bb7edbbc6
Expose QgsPointCloudBlock to Python
2020-11-13 02:59:05 +10:00
Nyall Dawson
5924ff7cf5
Move guts of qgspointcloudrenderer.* to qgspointcloudlayerrenderer.*
2020-11-13 02:59:05 +10:00
Nyall Dawson
38e6b6b93e
Add proxy model for filtering QgsPointCloudAttributeModel by attribute type
2020-11-12 17:33:37 +10:00
Nyall Dawson
d8f6a2e152
Add attribute index role to point cloud attribute model
2020-11-12 17:33:37 +10:00
Nyall Dawson
b9a7a365c0
Add attributes() member to QgsPointCloudDataProvider, QgsPointCloudLayer
...
Gives direct access to point cloud attributes
2020-11-12 17:33:37 +10:00
Nyall Dawson
819fc50b0e
Don't use generic "QgsMapLayer" class name in map layer Python repr
...
strings
Rather use actual layer subclass type, e.g. QgsVectorLayer
2020-11-12 16:05:52 +10:00
Even Rouault
af9da65c23
Add QgsLayerItem::iconForWkbType() and QgsWkbTypes::translatedDisplayString()
...
and use them to avoid a lot of copy&paste in "New layer XXXX" dialogs and
providers.
2020-11-12 10:19:55 +10:00
signedav
f360838fbd
Merge pull request #39527 from signedav/offlineindicator
...
Indicator for offline layers
2020-11-11 16:16:21 +01:00
nirvn
55eaaa7484
[layer tree] Fix corrupted tree when filter (by extent) is on with legend widget(s) enabled
2020-11-11 13:41:47 +07:00
vcloarec
0a2af53c28
fix spelling doc ans SIP
2020-11-10 15:11:48 +01:00
Nyall Dawson
8d54dc8f9a
Fix sip build
2020-11-10 02:17:10 +10:00
Nyall Dawson
59601bf17d
Add QgsPointCloudAttributeComboBox widget
...
A reusable widget for selecting an attribute from a point cloud layer
2020-11-10 02:17:10 +10:00
Nyall Dawson
aa428a060e
Add QgsPointCloudAttributeModel model for display of attributes in
...
a point cloud layer
2020-11-10 02:17:10 +10:00
Nyall Dawson
d0d7aa6ca9
Expose QgsPointCloudAttribute/QgsPointCloudAttributeCollection to sip
2020-11-10 02:17:10 +10:00
nirvn
dcc53852c4
[temporal] Update the identify tool to take temporal range context into account
2020-11-09 13:10:55 +07:00
Nyall Dawson
9c55b8bd6f
Add Python repr for QgsProviderRegistry::ProviderCandidateDetails
2020-11-07 07:57:00 +10:00
Nyall Dawson
51762dd0ef
Add API to QgsProviderMetadata to determine valid layer types
...
which the provider can use to open a specified URI
2020-11-07 03:22:22 +10:00
Nyall Dawson
8254b7dd1f
Add capabilities flags for QgsProviderMetadata
...
So that callers can determine which functionality in the metadata
is implemented for a particular object
2020-11-07 03:22:22 +10:00
signedav
9e5a67f9e7
sipified qgsmaplayer
2020-11-06 17:35:04 +01:00
Alessandro Pasotti
3e398e2ab4
Merge pull request #39577 from elpaso/hidden-layers
...
Hidden layers
2020-11-05 16:13:10 +01:00
Alessandro Pasotti
26a9cdf5fd
Hidden layers -> Private layers
2020-11-05 12:59:27 +01:00
Nyall Dawson
9ee235cfbd
Spelling
2020-11-05 20:16:48 +10:00
Nyall Dawson
787230e460
Spelling
2020-11-05 20:16:48 +10:00
Nyall Dawson
d51e752e04
Add utility function to extract wildcards from a filter string
2020-11-05 20:16:48 +10:00
Nyall Dawson
04dc5f5e56
Add API for providers to test whether a particular URI should be
...
blocklisted and hidden from the QGIS interface, e.g. it is an internal
detail only (or sidecar file) and shouldn't be shown in things like the
browser panel
And adds blocklists for .aux.xml, .shp.xml and .tif.xml files for
the ogr/gdal providers
2020-11-05 20:16:48 +10:00
Nyall Dawson
7717a20af7
Mark some QgsProviderMetadata methods as const
2020-11-05 20:16:48 +10:00
Nyall Dawson
8abe4a1ec6
Refine API for QgsProviderRegistry tests for preferred provider
...
for a URI to better handle ties, add direct method to determine
whether a particular provider should defer handling of a certain
URI to another (better equipped) provider
2020-11-05 20:16:48 +10:00
Peter Petrik
3dec432cb6
[pointclouds] add basic structure for PDAL layer
2020-11-04 21:56:09 +01:00
Nyall Dawson
0ebe788877
Add API for providers to indicate their priority in opening a specified
...
URI
And add new method to QgsProviderRegistry to select the preferred
provider for opening a URI based on this
2020-11-04 18:49:11 +10:00
Nyall Dawson
4aa1c2f299
Add python repr for QgsProviderMetadata
2020-11-04 18:49:11 +10:00
Nyall Dawson
74722b350c
Add utility to determine whether a certain file name matches a given file filter string
2020-11-04 18:49:11 +10:00
Nyall Dawson
4e1df35d0f
Forward declare
2020-11-04 18:49:11 +10:00
Nyall Dawson
7771417a2d
Improve docs
2020-11-04 18:49:11 +10:00
Nyall Dawson
e59bab7f2e
Add QgsProviderRegistry::filePointCloudFilters() for retrieving filter string of all supported point cloud types
2020-11-04 18:49:11 +10:00
Nyall Dawson
6885a1604c
Methods in QgsProviderRegistry should not be virtual -- this class
...
is not designed to be subclassed
2020-11-04 18:49:11 +10:00
Nyall Dawson
f7b0a2d090
Add Point Clouds to QgsProviderMetadata::FilterType
2020-11-04 18:49:11 +10:00
Vincent Cloarec
d45790e05b
Other export mesh algorithms ( #39783 )
...
[processing] adds there new export mesh layer to vector layer algorithms :
- export faces
- export edges (1D mesh)
- export on grid
2020-11-04 06:57:30 +01:00
Vincent Cloarec
1fbba79a0f
Mesh export processes, first part : infrastructure and export vertices ( #39664 )
...
[processing] Infrastructure for QgsMeshLayer to add processing algorithms, dataset group paramater and dataset time parameter to allow the user to easily choose a dataset.
2020-11-03 06:05:28 +01:00
Nyall Dawson
1acfe1fbe6
Add group and description to QgsGeocoderResult, link in to locator,
...
and populate group in Google Maps geocoding results
2020-11-03 12:11:56 +10:00
Nyall Dawson
cbaeb99a72
Add optional viewport property for geocoder results
...
Allows specifying an optional recommended viewport bounds for
displaying the geocode result (e.g. the canvas extent to zoom
to for showing the results)
2020-11-03 12:11:56 +10:00
Nyall Dawson
e70caeb3e1
Add getter/setter for api key, region
2020-11-03 12:11:56 +10:00
Nyall Dawson
98d09715a4
[api] Add new class QgsGoogleMapsGeocoder
...
This geocoder utilises the Google Maps "geocoding" API in order to geocode
strings. The Google Maps service is not publicly available, and accordingly
an API key must be first obtained from Google and specified when constructing
this class.
(The user is responsible for managing their Google Maps API key, and ensuring
that the use of this geocoder does not exceed their usage limits! Excessive use
of the Google Maps geocoder API can result in charges being applied to the API key
holder.)
This is raw underlying API only. It is intended to be exposed to QGIS users only
via plugins, and does not result in any out-of-the-box Google Maps functionality.
In order for a plugin to use it, they must do something like this:
# create a google maps geocoder
api_key = 'my api key'
coder = QgsGoogleMapsGeocoder(api_key)
# add it to the locator bar
filter = QgsGeocoderLocatorFilter('Google', 'Google', 'addr', coder, iface.mapCanvas())
iface.registerLocatorFilter(filter)
Mini FAQ:
Q: Why is this being added to core, instead of a plugin?
A: While a plugin would be perfectly acceptable if we are only targetting QGIS desktop,
the intention here is to allow this underlying, low level class to be reused outside
of QGIS desktop (e.g. on QField) with a minimal amount of duplicate effort.
2020-11-03 12:11:56 +10:00
Alexander Bruy
ee241edb87
completely hide parameter type definition from SIP
2020-11-02 09:50:05 +02:00
Alexander Bruy
5a155f7c23
make QgsProcessingParameterDxfLayers public
2020-11-02 09:49:05 +02:00
Alexander Bruy
6f10e65120
accept layer list and individual layers as dxf inputs
2020-11-02 09:47:29 +02:00
Alexander Bruy
b7997e0fd8
[processing] new parameter for DXF export input layers
2020-11-02 09:47:29 +02:00