exiftool-vendored
    Preparing search index...

    Interface GeolocationTags

    These tags are only available if ExifToolOptions.geolocation is true and the file has valid GPS location data.

    interface GeolocationTags {
        GeolocationBearing?: number;
        GeolocationCity?: string;
        GeolocationCountry?: string;
        GeolocationCountryCode?: string;
        GeolocationDistance?: string;
        GeolocationFeatureCode?: string;
        GeolocationFeatureType?: string;
        GeolocationPopulation?: number;
        GeolocationPosition?: string;
        GeolocationRegion?: string;
        GeolocationSubregion?: string;
        GeolocationTimeZone?: string;
        GeolocationWarning?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    GeolocationBearing?: number

    ☆☆☆☆ ✔ Example: 99

    Compass bearing in degrees from the input GPS position to the returned city's coordinates. Only generated when GPS coordinates are provided as input.

    GeolocationCity?: string

    ☆☆☆☆ ✔ Example: "Zürich"

    The name of the nearest city or populated place found in the geonames database. Note: The term "City" here may more aptly be called "Feature Name" since the database may include features which are not cities.

    GeolocationCountry?: string

    ☆☆☆☆ ✔ Example: "United States"

    GeolocationCountryCode?: string

    ☆☆☆☆ ✔ Example: "US"

    Two-letter ISO country code for the location.

    GeolocationDistance?: string

    ☆☆☆☆ ✔ Example: "9.60 km"

    The distance in kilometers from the input GPS point to the GeolocationPosition of the returned city. Only generated when GPS coordinates are provided as input.

    GeolocationFeatureCode?: string

    ☆☆☆☆ ✔ Example: "PPLL"

    GeolocationFeatureType?: string

    ☆☆☆☆ ✔ Example: "Populated Place"

    Human-readable description of the GeolocationFeatureCode, such as "Populated Place" or "Seat Of A First-order Administrative Division".

    GeolocationPopulation?: number

    ☆☆☆☆ ✔ Example: 95000

    Population of the identified city or feature, rounded to 2 significant digits. Based on geonames database entries for reference purposes.

    GeolocationPosition?: string

    ☆☆☆☆ ✔ Example: "7.3397, 134.4733"

    Latitude and longitude coordinates of the identified city, formatted as "latitude, longitude" in decimal degrees.

    GeolocationRegion?: string

    ☆☆☆☆ ✔ Example: "Île-de-France"

    Administrative division corresponding to state or province in North America. Derived from the geonames database.

    GeolocationSubregion?: string

    ☆☆☆☆ ✔ Example: "Yokohama Shi"

    Secondary administrative division (typically county in North America). The meaning varies by country.

    GeolocationTimeZone?: string

    IANA timezone name associated with the matched city location from the geonames database.

    GeolocationWarning?: string

    Warning messages related to geolocation processing, if any issues occur during lookup or if the geolocation data may be unreliable.

    Note: This tag is not documented in the official ExifTool geolocation documentation and may not be consistently returned.