73019 Commits

Author SHA1 Message Date
Antoine Facchini
9e38e43876
Add affine transform expression (#44771) 2021-09-02 10:57:50 +10:00
Denis Rouzaud
2c24e8841c remove scrollbar from external resource widget congig 2021-09-02 10:45:35 +10:00
Nyall Dawson
21699794bd [api] Allow annotation layers to be included in filtered map layer proxy models 2021-09-01 17:27:25 +10:00
Nyall Dawson
26b536b068 Add QgsRubberBand::copyPointsFrom to quickly copy all points from
one rubber band to another
2021-09-01 17:25:45 +10:00
Nyall Dawson
08d0e9846b Fix QgsRubberBand adds two points for first point added to a point
geometry rubber band
2021-09-01 17:25:45 +10:00
Vincent Cloarec
f19f554f8d
Mesh editing fixes (#44881)
[mesh]
* fix Delaunay triangulation
* fix free vertices updating
2021-09-01 09:17:30 +02:00
nirvn
5cf1b7aa58 [processing] Fix file downloader algorithm crash when download errors out 2021-09-01 14:12:37 +07:00
Vincent Cloarec
c2e607cbd7
add function $z for expression (#44776)
[feature] [expression] add function $z for expression
2021-09-01 09:08:36 +02:00
nirvn
553bb27bc9 [geometry snapper] Use std::as_const when appropriate 2021-09-01 14:56:28 +10:00
Even Rouault
e7ff071c56
Merge pull request #44901 from troopa81/add_to_contributors
Add myself @troopa81 to the contributors list
2021-09-01 00:54:27 +02:00
Julien Cabieces
9c64400819 Add myself @troopa81 to the contributors list 2021-08-31 18:19:03 +02:00
Harrissou Sant-anna
a625fed0a2
Merge pull request #44897 from DelazJ/resourceConfig
UI fixes for external resource widget
2021-08-31 14:43:12 +02:00
Mathieu Pellerin
ae7db9979e
Merge pull request #44766 from nirvn/snapper_more_speed
More optimization to the geometry snapper
2021-08-31 17:49:07 +07:00
nirvn
75c8eb7798 Add T test 2021-08-31 14:31:12 +07:00
nirvn
c8179c36c5 Address commit 2021-08-31 09:11:19 +07:00
nirvn
47936c2447 [geometry snapper] Fix missing vertices of snapped segment when snapping layer geometries against iself 2021-08-31 09:05:53 +07:00
nirvn
aac088b1b7 [geometry snapper] Optimize and fix app freeze when using very small tolerance values 2021-08-31 09:05:53 +07:00
Nyall Dawson
e445fd4b47 Code shuffle 2021-08-31 11:04:29 +10:00
Nyall Dawson
660433d9a9 [api] Add framework for collecting rendered item details during map
renderer operations

This follow a similar pattern as how labeling results could be collected
after a map render job, but generalises the API so that it can be
used for storing details of rendered items of any type.

It's currently used for storing details of rendered annotation items,
so that map tools can retrieve details of annotation items visible
in the canvas in an optimised way.
2021-08-31 11:04:29 +10:00
Nyall Dawson
b09994abcc Add a minimal data provider for annotation layers
Required for some nice things, like avoiding rendering slower
annotation layers in canvas preview jobs
2021-08-31 11:04:29 +10:00
Nyall Dawson
47bcf09af6 Rework annotation layer index handling
Because some annotation items have scale dependent bounding boxes,
we can only index items which have a fixed bounding box. Other
item bounds need to be dynamically determined based on a specific
render context. So rework the annotation layer index handling
to only index appropriate items and store other items in a non-indexed
item set.

This isn't ideal, because it means we need to clone ALL non-indexed
items upfront whenever we render an annotation layer (it's too expensive
to calculate their actual bounding box and selectively clone them,
as it's a process which blocks the main thread).

Hopefully we can think of an alternative approach to this down
the line so that we DO have some form of spatial index for scale
dependent items, unlocking better performance for annotation layers
with 10,000s of items. But we'll ignore that situation for now ;)
2021-08-31 11:04:29 +10:00
Nyall Dawson
b4acffbb31 Add flag for scale dependent bounding boes 2021-08-31 11:04:29 +10:00
Nyall Dawson
83a441589a Fix offset tool does not apply offsets which are only directly
entered into the offset distance widget (without mouse moves)

Refs #44866
2021-08-30 16:59:16 +10:00
Nyall Dawson
fd7601d154 Use GDAL 3.4+ API to flag sublayers as system tables 2021-08-30 16:59:01 +10:00
nirvn
d42dab9ddb Address review, deduplicate code 2021-08-30 13:55:54 +07:00
nirvn
a3db48a824 [statistics] In the stats panel, fix hard-coded expression return value as numerical 2021-08-30 13:55:54 +07:00
Julien Cabieces
5c35b1cb82 Add external storage file widget drag'n drop support 2021-08-30 13:50:21 +10:00
Harrissou Sant-anna
be7926e57d Display mesh information only when initialization is enabled 2021-08-30 13:49:39 +10:00
Even Rouault
1906e19899
Merge pull request #44730 from lbartoletti/ellipseM
[Fix][MapTool] Ellipse with M value
2021-08-28 14:31:05 +02:00
Loïc Bartoletti
cab7e8cc0f
[API][M] Fix capture M (#44782)
Fixes:
-  QgsMapSettings ignore m, so it wasn't returned.
- QgsMapToolCapture::mapPoint add also M as for the Z value
- QgsMapToolDigitizeFeature::cadCanvasReleaseEvent add M and simplify the logic of the method
- fix tests: isGeosEqual was used but it doesn't compare Z and M
2021-08-28 14:28:43 +02:00
Matthias Kuhn
dab4e203d7
Merge pull request #44864 from Gustry/gh-workflows
Remove empty workflow
2021-08-28 07:43:21 +02:00
Harrissou Sant-anna
65fcdab74a Fix typos 2021-08-28 07:08:52 +10:00
Harrissou Sant-anna
337c44ee9a Fix typo 2021-08-28 07:08:52 +10:00
Etienne Trimaille
660eb75569
GH Actions - Remove empty workflow 2021-08-27 18:16:46 +02:00
Francesco Bursi
989821290a
Virtual raster provider update library name (#44849) 2021-08-27 13:48:47 +02:00
Nyall Dawson
442e16cc6c Show helpful warning message when labels cannot be moved because
they are set to store in a column which no longer exists on the layer
2021-08-27 15:52:12 +10:00
Nyall Dawson
204af6f02f Fix a crash when destroying an extent widget while the "draw on canvas"
option is still active
2021-08-26 18:01:57 +10:00
Matthias Kuhn
b2287f54e9
Merge pull request #44439 from Gustry/tickets
Github template - Add some notes for new profile and plugins
2021-08-26 08:41:53 +02:00
Nyall Dawson
2d5a580dfc Update test result 2021-08-26 14:07:38 +10:00
Nyall Dawson
3722b16ebd Vector vrt files should be marked as potential containers
Matches behaviour on GDAL <3.4 builds with GDAL >= 3.4 builds
2021-08-26 14:07:38 +10:00
Nyall Dawson
ff302ca075 Fix api 2021-08-26 12:56:45 +10:00
Nyall Dawson
136faab91f Fix system tables disappear from dialog after task runs 2021-08-26 12:56:45 +10:00
Nyall Dawson
37dc64fdf8 [feature] Add a check box in the sublayer selection dialog to control
whether system and internal tables should be shown

Off by default, but useful when users have a particular need to
load a system table into qgis for view/manipulation
2021-08-26 12:56:45 +10:00
Nyall Dawson
10287f02a6 [ogr] Add support for retrieving system tables when querying sublayers
Fairly rudimentary for now, requires GDAL API update for more format
support
2021-08-26 12:56:45 +10:00
Nyall Dawson
44d3ac88d7 Remove unused method 2021-08-26 12:56:45 +10:00
Nyall Dawson
f2f40096ab Add support for filtering system tables in QgsProviderSublayerProxyModel 2021-08-26 12:56:45 +10:00
Nyall Dawson
7f090f64d1 [api] Add flags to QgsProviderSublayerDetails, to indicate that
a sublayer is a system or internal table
2021-08-26 12:56:45 +10:00
Denis Rouzaud
3208b51102
Merge pull request #44709 from troopa81/feat_dms_connexion_webdav
[ExternalStorage] add WebDAV external storage implementation
2021-08-25 11:01:33 +02:00
nirvn
7e52c7ecab Fix behavior change in addRasterLayer() which leads to georeferencer failing to loaded rasters 2021-08-25 15:13:56 +07:00
nicogodet
4444402214
Correctly set SVG/Raster mode when clicking an existing (#44745) 2021-08-25 07:13:26 +02:00