Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PreCourlis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
opentelemac
PreCourlis
Commits
b374203b
Commit
b374203b
authored
9 months ago
by
Arnaud MORVAN
Browse files
Options
Downloads
Patches
Plain Diff
Fix import_tracks to tmp layer
parent
131dc69b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!79
Gsedfqgis 115 fix import trace to tmp
Pipeline
#22467
passed
9 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PreCourlis/processing/import_tracks_algorithm.py
+5
-1
5 additions, 1 deletion
PreCourlis/processing/import_tracks_algorithm.py
with
5 additions
and
1 deletion
PreCourlis/processing/import_tracks_algorithm.py
+
5
−
1
View file @
b374203b
...
...
@@ -2,6 +2,7 @@ from qgis.core import (
QgsApplication
,
QgsProcessing
,
QgsProcessingMultiStepFeedback
,
QgsProcessingOutputLayerDefinition
,
QgsProcessingParameterBoolean
,
QgsProcessingParameterFeatureSource
,
QgsProcessingParameterNumber
,
...
...
@@ -334,6 +335,9 @@ class ImportTracksAlgorithm(PreCourlisAlgorithm):
if
feedback
.
isCanceled
():
return
{}
output
=
QgsProcessingOutputLayerDefinition
(
parameters
[
self
.
OUTPUT
])
output
.
destinationName
=
self
.
tr
(
"
Sections
"
)
# orderbyexpression (dump layer with changes from edit buffer)
layer
.
selectAll
()
alg_params
=
{
...
...
@@ -341,7 +345,7 @@ class ImportTracksAlgorithm(PreCourlisAlgorithm):
"
EXPRESSION
"
:
'"
sec_id
"'
,
"
ASCENDING
"
:
True
,
"
NULLS_FIRST
"
:
False
,
"
OUTPUT
"
:
self
.
parameterAsOutputLayer
(
parameters
,
self
.
OUTPUT
,
context
)
,
"
OUTPUT
"
:
output
,
}
outputs
[
"
OrderByExpression
"
]
=
processing
.
run
(
"
native:orderbyexpression
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment