Skip to content

Stefal/images_in_polygon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

images_in_polygon

usage: images_in_poly.py [-h] [-v] -j JSON_FILE -s SOURCE [-d DESTINATION]

Script to find in which polygon a geolocalized image belongs to

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -j JSON_FILE, --json_file JSON_FILE
                        Path to the geojson file
  -p PROPERTIES, --properties PROPERTIES
                        Geojson properties key used to name the subfolders
  -s SOURCE, --source SOURCE
                        Path to the images folder. Sub folder are scanned too
  -d DESTINATION, --destination DESTINATION
                        Path to the destination folder in which the images
                        will be copied
  -w, --write_tag       write area name inside image exif metadata
                        (GpsAreaInformation)
  -q, --quiet           Don't display images results
                        

installation:

  • Create a virtual environnement: python3 -m venv image_in_polygon
  • Move to this environnement: cd image_in_polygon
  • Activate this environnement: source bin/activate
  • Clone this repository: git clone https://github.com/Stefal/images_in_polygon.git
  • Install the requirements: pip install -r images_in_polygon/requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages