67601 Commits

Author SHA1 Message Date
Nyall Dawson
578813ac78 Geocoder algorithms can be run in in-place mode too 2020-12-14 16:49:48 +10:00
Nyall Dawson
6ae7a17bf0 [API] Add an adapter class QgsBatchGeocodeAlgorithm which creates
a batch geocoding algorithm from a QgsGeocoderInterface

Example usage:

  # create a class which implements the QgsGeocoderInterface interface:
  class MyGeocoder(QgsGeocoderInterface):

     def geocodeString(self, string, context, feedback):
        # calculate and return results...

  my_geocoder = MyGeocoder()

  # create an algorithm which allows for batch geocoding operations using the custom geocoder interface
  # and implement the few required pure virtual methods
  class MyGeocoderAlgorithm(QgsBatchGeocodeAlgorithm):

      def __init__(self):
          super().__init__(my_geocoder)

      def displayName(self):
          return "My Geocoder"

      def name(self):
          return "my_geocoder_alg"

      def createInstance(self):
          return MyGeocoderAlgorithm()

      # optionally, the group(), groupId(), tags(), shortHelpString() and other metadata style methods can be overridden and customized:
      def tags(self):
          return 'geocode,my service,batch'
2020-12-14 16:49:48 +10:00
Nyall Dawson
55f525901b Avoid clipped svg icons in svg selector widgets 2020-12-14 12:00:16 +10:00
Nyall Dawson
f83a157356 Minify svgs, remove excessive padding on qgis logo, and fix default param values 2020-12-14 12:00:16 +10:00
Tim Sutton
afa57a9649 incorporate tweaks from Andreas into logos 2020-12-14 09:03:10 +10:00
Tim Sutton
445b7ddc7f Parameterization fixes for log svgs 2020-12-14 09:03:10 +10:00
Tim Sutton
51346aa8c4 Added OSGEO logo, QGIS full logo and other variants of QGIS Q logo. Renamed logos folder from QGIS to logos. 2020-12-14 09:03:10 +10:00
Tim Sutton
48aea37e2a fix monochrome image so it looks good by default. 2020-12-14 09:03:10 +10:00
Tim Sutton
5e4decb1d2 Add QGIS logo and made with QGIS logos from Klas Karlson to QGIS install. It's a shame not to have these right there out of the box in a way that every user can find them easily. 2020-12-14 09:03:10 +10:00
Matthias Kuhn
bc391ea8aa Fix wfs test 2020-12-14 09:02:16 +10:00
Matthias Kuhn
0d55e61145 Add QgsRasterDataProvider::Capability::ReloadData for gdal, ams and wcs provider 2020-12-14 09:02:16 +10:00
Matthias Kuhn
14cdc672c0 Only show reload button in attribute table if it does something 2020-12-14 09:02:16 +10:00
Matthias Kuhn
a83319a075 Add QgsVectorDataProvider::Capability::ReloadData and return it for appropriate providers
This allows to only show reload actions for data providers that actually support it.
2020-12-14 09:02:16 +10:00
Matthias Kuhn
d94efac86b Add todo for QGIS 4 2020-12-14 09:02:16 +10:00
nirvn
d18cb5c7e6 [ui][layouts] Remember hidden panels when re-opening a layout designer 2020-12-14 08:55:20 +10:00
nirvn
3c777be207 [ui][processing] Add ctrl+tab action to toggle panels visibility 2020-12-14 08:55:20 +10:00
Nyall Dawson
932e70b247 Dox grammar 2020-12-14 08:51:51 +10:00
nirvn
c4b5710360 [ui][processing] Fix model designer dialog not remember panel state 2020-12-13 07:48:56 +07:00
Nyall Dawson
5deda1f456 Use QDiffuseSpecularMaterial instead of QDiffuseMapMaterial on qt 5.10+
QDiffuseMapMaterial is deprecated
2020-12-12 11:26:38 +10:00
Nyall Dawson
515d282078 Remove duplicate QgsQImageTextureImage class 2020-12-12 11:26:38 +10:00
Juergen E. Fischer
6e455977d0 osgeo4w: fix python-qgis-dev.bat 2020-12-11 14:31:46 +01:00
Alessandro Pasotti
efc4afc3fb
Merge pull request #40542 from elpaso/nanoptimize-domnode-length
Micro optimization of DOM loops
2020-12-11 12:03:15 +01:00
Alessandro Pasotti
301d83821a Fix annotations 2020-12-11 09:49:28 +01:00
Nyall Dawson
b4121891a5 Fix another leak 2020-12-11 15:36:10 +10:00
Nyall Dawson
eec7c535dd Fix leak of point cloud symbol 2020-12-11 15:36:10 +10:00
NEDJIMAbelgacem
1e086f2305 change the default terrain elevation offset 2020-12-11 11:07:07 +10:00
Juergen E. Fischer
5496cb3ac5 translation string fixes 2020-12-10 22:12:45 +01:00
vcloarec
9c26592074 fix 3D mesh terrain not displayed when opening project 2020-12-11 06:36:36 +10:00
vcloarec
5a6f95abe6 break cyclic connection 2020-12-10 21:32:47 +01:00
vcloarec
cf3a2accd2 simpler 2020-12-10 21:32:47 +01:00
vcloarec
e38d13e766 fix 3D animation trembling 2020-12-10 21:32:47 +01:00
Matthias Kuhn
3fa49314e7
Merge pull request #40544 from m-kuhn/attribute_table_wording
Simplify wording
2020-12-10 18:32:26 +01:00
Alessandro Pasotti
825cf3d9c7 Optimize annotation manager 2020-12-10 17:51:40 +01:00
Alessandro Pasotti
43a15265b8 Fix DOM elem retrieval for test 2020-12-10 15:55:26 +01:00
Matthias Kuhn
8377b7e71f Simplify wording
New:
  Open attribute table as docked window

Old:
  Open new attribute tables as docked windows
2020-12-10 15:46:50 +01:00
Alessandro Pasotti
de30d7ce08 Further DOM loop optimizations 2020-12-10 15:39:24 +01:00
Alessandro Pasotti
b485049fcb Fix id loop 2020-12-10 14:36:42 +01:00
Alessandro Pasotti
55869a065e Micro optimization of DOM loops 2020-12-10 12:34:48 +01:00
nirvn
e1933c85c0 [FEATURE][map overview] Support zooming in/out by scrolling mouse wheel over map overview panel 2020-12-10 16:47:36 +07:00
Alessandro Pasotti
4056de73f7 Use DOM elements instead of node lists 2020-12-10 10:32:58 +01:00
Nyall Dawson
d78665d2a3 Cleaner fix 2020-12-10 18:03:30 +10:00
Nyall Dawson
b85234f5fc [3d] Fix missing terrain tiles when zooming close to terrain
If a node CANNOT have any children, we must use it even if we'd ideally
prefer to use child nodes
2020-12-10 18:03:30 +10:00
Nyall Dawson
c966ba70c3 More efficient iteration 2020-12-10 13:24:38 +10:00
Nyall Dawson
7f9ac7c88c Match context menu feature selection action text with identify menu wording 2020-12-10 13:24:38 +10:00
Loïc Bartoletti
fc64cab90a
[BUGFIX] Fix snapping for middle of segment
Refs #36850
2020-12-10 08:54:06 +10:00
Denis Rouzaud
80ea0f88dc
correctly find Qt Linguist 2020-12-10 08:52:45 +10:00
nirvn
6e3d45e6aa Further optimization of originalXmlProperties 2020-12-10 08:27:04 +10:00
Nyall Dawson
0ab761c210 Add proper method to determine whether a symbol uses map unit sizes,
and use this to determine whether a legend item needs updating
as a result of a map change

This results in a HUGE speed up when loading large projects where
symbols don't use Millimeter based sizes, as the previous code
assumed only that any non-millimeter size was a map unit based size.
2020-12-10 04:04:17 +10:00
Nyall Dawson
1fc6062511 Defer resizing columns in snapping widget until the widget is actually visible
Otherwise this can cause a HUGE amount of unnecessary work when adding a large number
of layers (or layers with a large number of legend nodes) to a project
2020-12-10 04:03:59 +10:00
Nyall Dawson
e0643a7c3b Strengthen test 2020-12-10 04:03:40 +10:00