91550 Commits

Author SHA1 Message Date
Andrea Giudiceandrea
9fceb53aa5
Fix debug message in qgsattributetablemodel.cpp 2025-04-30 09:50:07 +02:00
qgis-bot
1030b0385e auto sipify 🍺 2025-04-30 03:59:08 +00:00
Nyall Dawson
9df6ea74fe Remove outdated files 2025-04-30 13:56:09 +10:00
Nyall Dawson
6bd91f8381 [processing][api] Add API for an algorithm to auto-set parameter values
Adds an API which an algorithm can implement to support auto-setting
parameter values. This is designed to handle the case
of eg an algorithm which does a file format translation, where
it's desirable to default the output parameter value to an input
parameter value with a different extension.

This can now be done by implementing autogenerateParameterValues
in the algorithm, eg:

    def autogenerateParameterValues(self, existingParameters, changedParameter, mode):
        if changedParameter == self.INPUT:
            input_file = existingParameters.get(self.INPUT)
            if input_file:
                input_path = Path(input_file)
                if input_path.exists():
                    # auto set output parameter to same as input but with 'qgs' extension
                    return {self.OUTPUT: input_path.with_suffix('.qgs').as_posix()}

        return {}

Works for both toolbox and batch modes for algorithms
2025-04-30 13:56:09 +10:00
Nyall Dawson
4220d9f227 Add flag to skip validation of processing parameters 2025-04-30 13:56:09 +10:00
Nyall Dawson
31ac029d0a Move processing dialog mode enum to Qgis and rename 2025-04-30 13:56:09 +10:00
qgis-bot
51f7bed95c auto sipify 🍺 2025-04-30 02:11:40 +00:00
Jean Felder
3ee6a9483c qgsmaptoolidentify: Display index for mesh data
This is achieved by using `QgsMeshLayer::closestElement()` instead of
`QgsMeshLayer::snapOnElement()`.
2025-04-30 12:08:39 +10:00
Jean Felder
e318460718 qgsmeshlayer: Introduce closestElement
This is a generalization of `snapOnElement`, since it allows to also
get the element (face, vertex or edge) index.
2025-04-30 12:08:39 +10:00
Jean Felder
182806ddae qgsmeshlayer: Ensure to have an empty closesPoint if search fails
With this change, `projectedPoint` is reset to an empty QgsPointXY
before the search begins. This ensures that an empty point is returned
is the search fails.
2025-04-30 12:08:39 +10:00
Jean Felder
b6e532ac1f qgsmeshlayer: Move closestEdge function closer to snap functions
This commit does not do any functional change. It moves the existing
`closestEdge()` method closer to `snapOnVertex` and
`snapOnFace`. Indeed, the following commits will introduce functional
changes to these functions by introducing `closestFace` and
`closestVertex`.
2025-04-30 12:08:39 +10:00
qgis-bot
568c0998ac auto sipify 🍺 2025-04-29 23:50:47 +00:00
Valentin Buira
f56f85dc7c
Add basic drag and drop support in the model designer (#60664) 2025-04-30 09:47:48 +10:00
qgis-bot
2fd3c07909 auto sipify 🍺 2025-04-29 23:11:09 +00:00
Valentin Buira
2b51d04014
Add unified panel for input or algorithm in the modeler (#61187) 2025-04-30 09:08:02 +10:00
Nyall Dawson
2abc324d36 [afs] Fix compatibility with 3rd party (non-esri) servers
Don't add empty inSR/outSR arguments to the query, as these
cause errors with third-party servers which implement the
FeatureServer API (e.g. Earthsoft EQuIS)

Funded by North Road, thanks to SLYR
2025-04-30 07:32:14 +10:00
Alexander Bruy
f3a0016f8e update expected file 2025-04-30 06:57:21 +10:00
Alexander Bruy
2a39d7e0ed address review comments 2025-04-30 06:57:21 +10:00
Alexander Bruy
ed6f09b871 remove old implementation 2025-04-30 06:57:21 +10:00
Alexander Bruy
a0bde0b7a8 port Climb algorithm to C++ 2025-04-30 06:57:21 +10:00
Nathan
b8224733ae Fix path to Qca plugins 2025-04-29 22:46:54 +10:00
Nathan
97bb01182f Quote qgis.env write out paths in cmake 2025-04-29 22:13:03 +10:00
Denis Rouzaud
d4cf00f65e expan 2025-04-29 08:06:30 +02:00
Denis Rouzaud
66b2c017be debug 2025-04-29 08:02:59 +02:00
Denis Rouzaud
38db83cddd use array 2025-04-29 08:00:29 +02:00
Denis Rouzaud
2a730906a9 use akw 2025-04-29 07:35:28 +02:00
Denis Rouzaud
5752432f70 depth 0 2025-04-29 07:31:56 +02:00
Denis Rouzaud
9703f25bdf fix --files call 2025-04-29 07:27:29 +02:00
Denis Rouzaud
58029bba30 fix --files call 2025-04-29 07:24:12 +02:00
Denis Rouzaud
0261591045 fix typo 2025-04-29 07:17:30 +02:00
Denis Rouzaud
647ef5152d fix call 2025-04-29 07:15:21 +02:00
Denis Rouzaud
54d31efcb6 switching again to git diff (pull_request_target event does not provide access to the pull request's files via the GitHub API) 2025-04-29 07:11:37 +02:00
Denis Rouzaud
77b8823409 revert 2025-04-29 07:09:18 +02:00
Denis Rouzaud
deb93925fb use action 2025-04-29 07:06:06 +02:00
Denis Rouzaud
0f8d53e9bc use script to determine files 2025-04-29 06:55:32 +02:00
Denis Rouzaud
6045668937 fix head in pr 2025-04-29 06:29:01 +02:00
Denis Rouzaud
4c2770c660 fix base in pr 2025-04-29 06:21:43 +02:00
Denis Rouzaud
5bab2b7ea3 fix pre-commit call to use from/to-ref 2025-04-29 06:14:36 +02:00
Denis Rouzaud
dfbadf7f66 fix var 2025-04-28 20:52:05 +02:00
Denis Rouzaud
b03bc715b2 fetch head 2025-04-28 20:49:39 +02:00
Denis Rouzaud
882516ac56 fetch 2025-04-28 20:44:41 +02:00
Denis Rouzaud
544f7c3eb3 merge base2 2025-04-28 20:36:38 +02:00
Denis Rouzaud
b805056827 fetch Pr branch 2025-04-28 20:32:28 +02:00
Denis Rouzaud
67ea78624f fix vars 2025-04-28 20:26:43 +02:00
Denis Rouzaud
86ac1d973a fix vars 2025-04-28 20:24:36 +02:00
Denis Rouzaud
6458087d51 fix workflow 2025-04-28 20:15:39 +02:00
Denis Rouzaud
e92243ba4d small improvements and fixes 2025-04-28 20:08:07 +02:00
Denis Rouzaud
fb7de2067d fix event name 2025-04-28 19:56:40 +02:00
Denis Rouzaud
4cfdf33cc3 fix vars 2025-04-28 19:49:32 +02:00
Denis Rouzaud
bf65eb89b9 use pull_request_target 2025-04-28 19:42:03 +02:00