Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export selected Objects generated line layer not selectable in graphical modeller #29521

Closed
qgib opened this issue Mar 29, 2019 · 6 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Mar 29, 2019

Author Name: Wolfgang Meinolf (Wolfgang Meinolf)
Original Redmine Issue: 21705
Affected QGIS version: 3.6.1
Redmine category:processing/modeller
Assignee: Victor Olaya


Background:
(1) Script selects point objects, which then shall be exported to new layer for further use in v.net.
(2) Script also selects line objects in 2 stages. Selected objects shall also be exported to new layer for further use in v.net.

Both generated layers are presented in v.net as point layers, so ist's not possible to insert v.net in script.

Manual Test in QGIS w/o script works fine, generated line and point layers be selected in v.net without problem.

Screenshots of selection pull down menus attached


@qgib
Copy link
Contributor Author

qgib commented Mar 29, 2019

Author Name: Giovanni Manghi (@gioman)


Could you please attach the script/model and sample data to allow us replicate? thanks!


  • status_id was changed from Open to Feedback
  • category_id was changed from Unknown to Processing/Modeller

@qgib
Copy link
Contributor Author

qgib commented Mar 29, 2019

Author Name: Wolfgang Meinolf (Wolfgang Meinolf)


find requested data in attached ZIP.

To replicate just open gqz, open toolbox and import script/model, in case it's not in file. Start edit model and add v.net. you find "selected line export" under point layer pull down. I'd expected this unser arc layer pull down.

Let me know, if you need anything else.


  • 14701 was configured as Debug.zip

@qgib
Copy link
Contributor Author

qgib commented Mar 29, 2019

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented May 21, 2019

Author Name: Victor Olaya (@volaya)


  • assigned_to_id was configured as Victor Olaya

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@alexbruy
Copy link
Contributor

Selection exists only in the loaded layers. if you need to use subset of features as input in another tool it is necessary to export them instead of selecting.

@gioman gioman added the Feedback Waiting on the submitter for answers label Jun 22, 2019
@alexbruy
Copy link
Contributor

I think we can close this, as for models "Extract..." algorithms should be used instead of "Select..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

3 participants