Reverse Geolocate Clean up run
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"python.analysis.typeCheckingMode": "basic"
|
||||||
|
}
|
||||||
20
README.md
20
README.md
@@ -4,16 +4,28 @@ Reverse GeoLocate from XMP sidecar files with optional LightRoom DB read
|
|||||||
|
|
||||||
This script will update any of the Country Code, Country, State, City and Location data that is missing in sidecard files. If a Lightroom DB is set, it will read any data from the database and fill in the fields before it tries to get the location name from google with the Latitude and Longitude found in either the XMP sidecar file or the LR database.
|
This script will update any of the Country Code, Country, State, City and Location data that is missing in sidecard files. If a Lightroom DB is set, it will read any data from the database and fill in the fields before it tries to get the location name from google with the Latitude and Longitude found in either the XMP sidecar file or the LR database.
|
||||||
|
|
||||||
#### Installing and setting up
|
## Development Setup
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python3 -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
.venv/bin/python -m pip install -U pip setuptools wheel
|
||||||
|
```
|
||||||
|
|
||||||
|
Then install the requests and python-xmp-toolkit modules from below
|
||||||
|
|
||||||
|
## Installing and setting up
|
||||||
|
|
||||||
The script uses the following external non defauly python libraries
|
The script uses the following external non defauly python libraries
|
||||||
|
|
||||||
* xmp toolkit
|
* xmp toolkit
|
||||||
* requests
|
* requests
|
||||||
|
|
||||||
install both with the pip3 command
|
install both with the pip3 command
|
||||||
```
|
|
||||||
pip3 install requests
|
```sh
|
||||||
pip3 install python-xmp-toolkit
|
pip install requests
|
||||||
|
pip install python-xmp-toolkit
|
||||||
```
|
```
|
||||||
|
|
||||||
XMP Toolkit also needs the [Exempi Library](http://libopenraw.freedesktop.org/wiki/Exempi). This one can be install via brew or macports directly.
|
XMP Toolkit also needs the [Exempi Library](http://libopenraw.freedesktop.org/wiki/Exempi). This one can be install via brew or macports directly.
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
8
requirement.txt
Normal file
8
requirement.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
certifi==2022.9.24
|
||||||
|
charset-normalizer==2.1.1
|
||||||
|
idna==3.4
|
||||||
|
install==1.3.5
|
||||||
|
python-xmp-toolkit==2.0.1
|
||||||
|
pytz==2022.6
|
||||||
|
requests==2.28.1
|
||||||
|
urllib3==1.26.12
|
||||||
Reference in New Issue
Block a user