nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
504 stars 89 forks source link

Remove photos from map after adding them as folder #346

Open call-me-matt opened 4 years ago

call-me-matt commented 4 years ago

To try out the app, I placed photos randomly on the map. Then couldn't figure out how to remove them from there again (tried clicking everywhere, renaming the photo directory and even reinstalling the app).

When executing ./occ maps:scan-photos, all pictures disappeared from the map. I think that is because at the first startup I selected a photo directory (which I renamed in my above described attempts to remove the pictures). Is there a way to verify and change?

tacruc commented 4 years ago

I guess the photos will come back. You have to remove the geo information form the picture. With some exif editor.

call-me-matt commented 4 years ago

That was what I searched for in the beginning, but could not find any EXIF/location data added to the pictures.

How to reproduce:

wronny commented 4 years ago

you can remove a single photo as follows:

  1. zoom to a zoom level that you have a single photo on the map (and not a batch of photos with a count number at the upper right corner of the batch of photos)
  2. use right-click menu and choose "remove geo data". 2020-03-29 16_02_48-Maps - Nextcloud Please note that this right-click menu is currently only available if you're able to reach single photos via zoom level but not if you still have a batch of photos at maximum zoom level.
call-me-matt commented 4 years ago

ah, thank you for clarification. I will change the title of this issue, then

wronny commented 4 years ago

I also stumbled about this. I'm already thinking about implement this. What would you personally prefer? a) to remove all photos of that batch (all the photos you added at once using add photos using a folder)? Or b) only to remove single photo(s) of that batch (you added at once using add photos using a folder)? c) to have a right-click menu that will open a menu tree per photo to allow to "move" or "remove geo data" per photo?

call-me-matt commented 4 years ago

Originally, I expected an entry below photos to appear on the left menu, just like contact groups or tracks. There, I would have thought to remove the added folder again. If this is too complicated, I would opt for a), as folders might be big and removing each picture individually may be painful.

wronny commented 4 years ago

I added a PR #365 to add "Move all" as well as "Remove all geo data" in context menu of photo cluster (more than one photo) at max zoom level : 2020-04-20 23_06_43-Maps - Nextcloud @tacruc maybe you like to review?