Forum

Author Topic: Remove Marker Groups has no effect  (Read 2747 times)

Paulo

  • Hero Member
  • *****
  • Posts: 1320
    • View Profile
Remove Marker Groups has no effect
« on: July 05, 2019, 10:54:11 AM »
Hi all,

in latest version, I select a markers group and with right mouse button select Remove Marker Groups command and it has no effect.....

The markers group Linderos remains and is not removed....

See attachment
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Remove Marker Groups has no effect
« Reply #1 on: July 05, 2019, 11:21:38 AM »
Hello Paul,

Thanks for reporting.
Best regards,
Alexey Pasumansky,
Agisoft LLC

enricoaq

  • Newbie
  • *
  • Posts: 5
  • Save The Planet
    • View Profile
    • GSSI
Re: Remove Marker Groups has no effect
« Reply #2 on: July 25, 2019, 05:32:59 PM »
Hi all,

in latest version, I select a markers group and with right mouse button select Remove Marker Groups command and it has no effect.....

The markers group Linderos remains and is not removed....

See attachment

I find the same problem; in addition, each time I add markers and merge a new chunk, new empty groups are created (it seems to me arbitrarily). Currently I have 29305 (!!!) folders, with the name Group 1, with nothing inside that slows down the work enormously. This is a serious bug that needs to be fixed!!
 :o
« Last Edit: July 25, 2019, 05:43:21 PM by enricoaq »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Remove Marker Groups has no effect
« Reply #3 on: July 25, 2019, 05:52:55 PM »
Hello enricoaq,

The issue will be fixed in the version 1.5.4 update.

Currently to remove the empty marker groups you can use the following Python code:
Code: [Select]
import Metashape
chunk = Metashape.app.document.chunk
mgroups  = list(chunk.marker_groups)
for m in chunk.markers:
    if m.group in mgroups:
        mgroups.remove(m.group)
chunk.remove(mgroups)
Best regards,
Alexey Pasumansky,
Agisoft LLC

enricoaq

  • Newbie
  • *
  • Posts: 5
  • Save The Planet
    • View Profile
    • GSSI
Re: Remove Marker Groups has no effect
« Reply #4 on: July 25, 2019, 06:05:32 PM »
Thank you Alexey!
All the groups have been removed and now the workstation is very fast!!
:)
« Last Edit: July 25, 2019, 06:08:45 PM by enricoaq »