Nyall Dawson
3641670b01
Add optional tile padding boundary to QgsRasterIterator
...
Allows returned blocks to overlap by the specified number of pixels.
Useful for algorithms which need to consider neighbouring pixels in
a tiled approach, without tile boundary artefacts.
2023-07-12 19:04:59 +10:00
Nyall Dawson
8838f894ef
Fix accidental api break
2023-06-15 08:28:44 +10:00
Nyall Dawson
0601164102
Add missing documentation to QgsRasterFileWriter
2023-06-15 08:28:44 +10:00
Nyall Dawson
26493802dc
Move some QgsRasterFileWriter enums to qgis
2023-06-15 08:28:44 +10:00
Julien Cabieces
cdd3a3a5bb
Fixes #53412 : transfer back rasterblock back to python caller
2023-06-13 04:56:13 +10:00
Nyall Dawson
4c6018de92
Add option to limit the extent of "fill above" and "fill below"
...
elevation ranges for a layer in elevation profile plots
Fixes #51010
2023-05-22 14:48:57 +10:00
Nyall Dawson
55226f56ad
Use some heuristics to guess when a raster layer looks like a DEM
...
and auto-set the "represents elevation" flag for these
We do this when:
- the layer contains only one band
- the data type is int or float (not complex, rgb or byte)
- the layer doesn't have an attribute table
- there's something "dem-like" in the layer's name (ie 'elevation',
'dem', 'height', 'srtm')
This should help make the elevation profile tool more user-friendly,
as these layers will be included in the profiles by default
2023-05-19 23:06:21 +10:00
Nyall Dawson
e036570c77
Setup framework for data provider's to provide information about
...
elevation related properties to their layers
And use this to ensure that wms tiles with maptiler terrain
or terrarium terrain interpretation are always included by
default in elevation profile plots.
Most specifically, this ensures that projects containing the
out-of-the-box "Mapzen Global Terrain" layer will be automatically
included in elevation plots.
2023-05-19 23:06:21 +10:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings
2023-03-31 10:46:24 +10:00
Mathieu Pellerin
5813b65638
[api] Add non-geo image tag writing support in QgsExifTools
2023-02-06 07:11:53 +07:00
Nyall Dawson
32a84b1003
Update docs
2023-02-01 13:08:42 +10:00
Even Rouault
133a4f4cdc
Merge pull request #51587 from rouault/add_qgs_int8
...
[Raster] Add a Qgis::DataType::Int8 signed data type
2023-01-29 19:34:36 +01:00
Even Rouault
47182b5c0f
[Raster] Add a Qgis::DataType::Int8 signed data type
2023-01-27 13:09:48 +01:00
Denis Rouzaud
b3e4295ca4
[settings] migrate raster settings ( #51600 )
2023-01-27 08:35:33 +01:00
Denis Rouzaud
236ccce7e9
[doxygen] remove \returns for returning void methods
2023-01-12 15:00:51 +01:00
Alessandro Pasotti
8b5e9c4b29
Merge pull request #51218 from elpaso/bugfix-gh51200-rat-editing
...
Raster Attribute Table GUI enhancements/fixes
2022-12-16 13:45:35 +01:00
Nyall Dawson
c43b558901
Upgrade raster enums to enum class, and remove some completely unused
...
enums
2022-12-16 12:01:44 +10:00
Nyall Dawson
9a8b8b160d
Fix thread safety in raster layer rendering
...
We were cloning the data provider correctly, but doing this on the
main thread means that the provider has thread affinity with the
main thread -- so we need to ensure it is moved over to the
actual rendering thread prior to the rendering.
2022-12-15 14:50:08 +10:00
Nyall Dawson
515ce71df2
Remove unused enum
2022-12-15 12:26:49 +10:00
Alessandro Pasotti
f09aabc96c
Raster Attribute Table GUI enhancements/fixes
...
Fixes #51200 and more small GUI/UX related glitches:
- locale aware double input (consitent behavior with the vector attr
table and the widgets)
- locale aware double formatting (same logic of the vector fields of type double.
- right-alignment of double fields
- wrong tooltip for last column
2022-12-14 16:07:55 +01:00
Alessandro Pasotti
f040c260bd
Raster maptips
2022-11-09 09:48:02 +01:00
Alessandro Pasotti
25e94fa52d
More raster maptips work
...
It should actually be moved to a generic maplayer implementation.
2022-11-09 09:48:02 +01:00
Alessandro Pasotti
92feff04ac
Doxy
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
8e0a5e1cbe
Address PR comments
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
31a5d632c4
Layout
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
0bcb75ff1b
Missing sip includes
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
bbb045e2bb
Getting closer... almost relase-ready
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
70c93d4aea
Gui enhancements
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
3479a66e4e
Handle other rat types
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
62dff87ccf
RAT GUI
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
fc8cb922a7
Create RAT from raster and fix sip enum
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
41983fa99d
Skip value and color fields on RAT identify
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
be9b8647ff
Identify
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
5a88611b38
Paletted RAT auto-loading
2022-11-09 09:46:13 +10:00
Alessandro Pasotti
df4f7fe84e
RAT model
2022-11-09 09:46:13 +10:00
Nyall Dawson
bd895d526b
Add missing sip cast for raster contour renderer
2022-11-08 15:34:57 +10:00
Mathieu Pellerin
69ee3bc0d3
[symbology] Fix group layer not rendering properly when magnifier != 100% or when effect is on
2022-10-25 14:16:17 +07:00
Alessandro Pasotti
9642121cb3
Layout
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
f45cd59539
Layout and core export on structs
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
e4b09ba468
RAT editing API and tests
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
99f39f66c3
Remove loading flags (to be readded later)
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
d51d1365eb
Move enums
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
cd6c8e9a5c
Address PR comments
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
1954b76293
Code layout
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
7592f38620
More tests for import/export
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
b3bc13450c
Remove GUI leftover
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
06566c7a8c
DBF RAT
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
91f4e97365
Rename methods
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
52135d65c5
GDAL native RAT implementation
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
5e63b0422a
RAT implementation progress
2022-10-22 08:52:37 +10:00