Skip to content
New issue

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

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

Already on GitHub? # to your account

Geotagged photographs #1587

Open
2 tasks
mahalakshme opened this issue Feb 11, 2025 · 0 comments
Open
2 tasks

Geotagged photographs #1587

mahalakshme opened this issue Feb 11, 2025 · 0 comments
Labels

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Feb 11, 2025

Need:

  • RWB wants to track the progress of waterbody over time across locations and have other remote sensing tools for the same.
  • TrackLocation enabled for many users but not useful since photo location can be different from encounter location when users upload photos sitting in their homes
  • Export via CSV
  • Validations based on distance between 2 points

Analysis:

Geo-tagged photographs: with and without location information

Image

Location data for Geo-spatial analysis:

Image

How it Works:

  1. GPS (Global Positioning System): Most smartphones and GPS-enabled cameras can determine location using satellite signals without needing an internet connection.
  2. EXIF Metadata: When a photo is taken, the device embeds location data (latitude, longitude, and sometimes altitude) in the EXIF metadata of the image.
  3. Assisted GPS (A-GPS): If internet access is available, the device can use Wi-Fi, cellular towers, or other data sources to speed up and improve location accuracy. However, this is optional.

Approaches

  1. Geo-tagged photos - But user might not have given location permission outside app, so can embed and upload from within the app
  2. Store location info separately - location info not easily transferable to different system along with photos

To store geo-tag info in Avni:

  • Store in different concept

  • As part of approval - show location link and via ETL do the processing

  • Store the coordinates as part of image concept itself - internally storing as different concept but for user displaying as Image concept itself is a good approach

  • Image with Location - new concept:
    - App designer
    - Say that it is in beta message so that we can release sooner
    - Mobile app
    - update permission setting as needed, -> else show error when capturing/uploading image
    - show image
    - show location information also - showing open street map link
    - validations - if location info not there
    - exposing libraries - checking location information and given two points, client sync
    - single and multi-select - show for specific images
    - Sync
    - ETL - RQG table should also support this - columns in media table
    - In longitudinal export support
    - Data Entry App - input and show the google map link
    - Media Viewer - show google map link, download - location embedded images
    - Report in Metabase - Implementation team
    - Himesh - 17, Vivek -16, Joy - 18

Stories:

Technical analysis:

  • Since user might not have provided location permission to his camera, capture location information separately
  • Edit EXIF metadata of the image to add the location info
  • Upload it to S3 - Unlike whatsapp or Google drive, S3 retains the location information in the image.
  • By extracting EXIF data, show the geo info wherever needed.

Out of scope:

  • PDFs and videos need not be geo-tagged
  • Image
  • Data Entry App - org in focus not using DEA

Questions:

  • touching the image - bugs downstream
  • performance - if the image size bigger
  • soln: upload any image that doesn't have location data - then throw error -
  • both settings in tandem - onsite plus location validation since later when we show error they will not be able to anymore take photo later.
  • if org not fine, then not enforce
  • barrier ? blocked - discuss with Hiral
  • not switching off in between

Estimate:

5 days

@mahalakshme mahalakshme converted this from a draft issue Feb 11, 2025
@mahalakshme mahalakshme moved this from In Analysis to In Analysis Review in Avni Product Feb 11, 2025
@mahalakshme mahalakshme added Epic and removed Epic labels Feb 11, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
Status: In Analysis Review
Development

No branches or pull requests

1 participant