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

Boost usefulness of created OSM notes: Let users attach a photo #14167

Open
westnordost opened this issue May 29, 2021 · 2 comments
Open

Boost usefulness of created OSM notes: Let users attach a photo #14167

westnordost opened this issue May 29, 2021 · 2 comments

Comments

@westnordost
Copy link

westnordost commented May 29, 2021

The idea

The usefulnuss of notes created by Maps.Me is limited, because it often/usually requires an independent survey to confirm it, especially in cases of "place does not exist anymore or never existed". So, notes created by Maps.Me often linger for years and years without ever being actually resolved.

If the user attached a photo to it, such a note would be immediately actionable by an "armchair mapper". Whoever processes the note could maybe then even add more detail, for example add what (POI) is there instead.

Implementation

OSM does not allow to attach photos to a note, but you could do what StreetComplete does: Upload the photo somewhere else and link to it! Note review tools like NotesReview even show the linked to picture directly in their UI as if it has really been attached to the note.

image

But where to upload the photo to?

Using a third party (imgur etc) for that is always problematic, because such usage may be a breach of their terms and conditions. Also, there is no good control over the lifetime of the photo - ideally it could be removed when the note is closed, but it shouldn't be removed before (or much after).

Self-hosting a simple image-upload on the other hand comes with some problems like the necessity to possibly remove it due to copyright claims or otherwise.

Again, you could do what StreetComplete does. The backend for the photo-upload service is here and anyone even with just a shitty webspace that runs PHP+MySQL could set it up in 5 minutes: https://github.com/streetcomplete/sc-photo-service
In a nutshell, how it works in StreetComplete:

  • photos are uploaded into private folder and are activated (=moved to public folder) by referring to the photo in an OSM note. When the note is closed, the photo is also deleted (by a cron job)
  • StreetComplete only allows uploading photos (so, not any image from the photo gallery), this is a soft measure to prevent abuse or copyrighted material to be uploaded
@westnordost
Copy link
Author

Some stats from my photos hosting for StreetComplete:

  • hosting images for 2.5 years now
  • 43000 photos were uploaded in that time
  • 77% have been deleted again (because their associated notes have been solved)
  • webspace used by photos currently: 2.4 GB (photos are scaled down to WXGA by the app)

@matkoniecz
Copy link

See #14157 - it appears that this repository is defunct and no longer used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants