photo-cli address takes a single photo file, reads its GPS coordinates from EXIF data, sends them to your chosen reverse geocode provider, and prints the resulting address to the console. Use this command to verify that your provider configuration is correct and to discover which property names or admin levels to pass to --openstreetmap-properties, --bigdatacloud-levels, or --googlemaps-types before running photo-cli copy or photo-cli archive across your entire collection.
Synopsis
Arguments
Required
string
required
Path to the photo file whose GPS coordinates you want to resolve. Only a single file is accepted.
enum
required
Controls how much detail is returned from the provider.
Optional
enum
Third-party provider used to resolve GPS coordinates. See reverse geocoding overview for setup details.
string
Space-separated OpenStreetMap address property names to include in the output. Used when
--reverse-geocode is OpenStreetMapFoundation or LocationIq and --type is SelectedProperties.string
Space-separated BigDataCloud admin level numbers. Used when
--reverse-geocode is BigDataCloud and --type is SelectedProperties.string
API key for BigDataCloud. Also configurable via the
PHOTO_CLI_BIG_DATA_CLOUD_API_KEY environment variable.string
Space-separated Google Maps address component types. Used when
--reverse-geocode is GoogleMaps and --type is SelectedProperties.string
API key for Google Maps. Also configurable via the
PHOTO_CLI_GOOGLE_MAPS_API_KEY environment variable.string
API key for LocationIq. Also configurable via the
PHOTO_CLI_LOCATIONIQ_API_KEY environment variable.boolean
Bypass the free-tier rate limit when using LocationIq with a paid license.