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

Unable to embed layer groups from other project. But able to import specific layer from a group #26270

Closed
qgib opened this issue Mar 7, 2018 · 12 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Mar 7, 2018

Author Name: Etiënne Thomassen (Etiënne Thomassen)
Original Redmine Issue: 18380
Affected QGIS version: 3.1(master)
Redmine category:project_loading/saving
Assignee: Matthias Kuhn


On previous versions of QGIS I was able to import entire layer groups and their layers and symbology from other project files. Now when I do the same I get the layer names in the layer tree, but nothing appears.

It does work when I select a specific layer from the parent project file, but it does not when I want embed an entire layer group.


@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2018

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from Symbology to Project Loading/Saving
  • priority_id was changed from Low to High
  • regression was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2018

Author Name: Richard Duivenvoorde (@rduivenvoorde)


Hi, can you please add some minimal projects, so it is easier for people here to reproduce?

You could either add some tiny datasets, or else work with online services?

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2018

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 19, 2018

Author Name: Etiënne Thomassen (Etiënne Thomassen)


I have enclosed a project file and a geopackage with 3 tables which are referenced from the project file.

Thanks to making these files, I now have additional feedback. I added screenshots of the steps I take.

Remarks:

  • embedding layers from another project does not preserve the order of the layer(groups)
  • layer groups embedded from another project are inactive after importing
  • activating them does not make them visible
  • moving a layer group seems to activate them and enables me to either make them visible. Or they appear after moving them when I already activated the layer

HTH!


  • 12490 was configured as step5_result_ext_3.PNG
  • 12491 was configured as step6_result_ext_3.PNG
  • 12486 was configured as step4_result_ext_2.PNG
  • 12480 was configured as step3_result_ext_1.PNG
  • 12481 was configured as step2_new_project_select_embed.PNG
  • 12479 was configured as step1_source_project_ext.PNG
  • 12478 was configured as embed.gpkg
  • 12477 was configured as source_project_ext.qgs

@qgib
Copy link
Contributor Author

qgib commented Mar 26, 2018

Author Name: Etiënne Thomassen (Etiënne Thomassen)


Added feedback a few days ago, but I think I also need to set the status to 'open'?


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Mar 27, 2018

Author Name: Jan Lippmann (@j-lippmann)


i can confirm. embedded layer and groups from other projects appears in the project (layertree) in which the groups/layer loaded in, BUT no layer data and no symbology appear. no embedded layer appear in the snap options.

affected version is 3.0.1

this problem do not accure with actual master.

OS:Win 7 64bit

@
QGIS-Version
3.0.1-Girona
QGIS-Codeversion
a86bec2
Kompiliert gegen Qt
5.9.2
Laufendes Qt
5.9.2
Kompiliert mit GDAL/OGR
2.2.4
Läuft mit GDAL/OGR
2.2.4
Kompiliert mit GEOS
3.5.0-CAPI-1.9.0
Läuft mit GEOS
3.5.0-CAPI-1.9.0 r4084
PostgreSQL-Client-Version
9.2.4
SpatiaLite-Version
4.3.0
QWT-Version
6.1.3
QScintilla2-Version
2.10.1
PROJ.4-Version
493
@

@qgib
Copy link
Contributor Author

qgib commented Mar 30, 2018

Author Name: Jan Lippmann (@j-lippmann)


can someone else confirm that issue? i think it's a regression and should be fixed in the next point release 3.0.2

thanks! :-)

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2018

Author Name: Marco Bernasocchi (@mbernasocchi)


Still present in 3.0.3

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2018

Author Name: Marco Bernasocchi (@mbernasocchi)


Still present in master 2e5e20eb54

the workaround of moving the group is also still working

@qgib
Copy link
Contributor Author

qgib commented Jun 8, 2018

Author Name: Matthias Kuhn (@m-kuhn)


  • assigned_to_id was configured as Matthias Kuhn

@qgib
Copy link
Contributor Author

qgib commented Jun 8, 2018

Author Name: Matthias Kuhn (@m-kuhn)


  • version was changed from 3.0.0 to 3.1(master)
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2018

Author Name: Anónimo (Anónimo)


Applied in changeset 96f7426.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Jun 11, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project Regression Something which used to work, but doesn't anymore labels May 25, 2019
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! High Priority Project Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant