<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Metadata of a document</title><link>https://community.appian.com/discussions/f/plug-ins/28093/metadata-of-a-document</link><description>Hi, 
 
 I want to know how to get metadata of an image (like geolocation containing latitude and longitude). Is there a way to get it at all?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/151825?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 06:00:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:959b3c63-6587-4734-8689-f52126e4c575</guid><dc:creator>Unnati Sharma</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;,&lt;br /&gt;I have also get the location metadata in different image because the image which I have used previously not having the GPS coordinated and it will vary from image to image&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/151823?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 20:50:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90305745-e11c-4692-9f66-c79ca732ff40</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="294087" url="~/discussions/f/plug-ins/28093/metadata-of-a-document/151808"]I&amp;#39;m not getting the GPS location[/quote]
&lt;p&gt;It would be one of the metadata properties when run on a picture file that&amp;#39;s in the correct format + had geolocation turned on.&amp;nbsp; If yours isn&amp;#39;t showing that, I would assume one of those two things is not true in your case.&amp;nbsp; I don&amp;#39;t remember where I put the test file that I used originally to show the above output, since it&amp;#39;s been a few years now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: to confirm, I just ran a new photo through the same thing, and here it is from the root of the returned image metadata:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1759265400868v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/151820?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 17:22:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:183c9048-0e86-4bb1-8d30-0054c93de1ae</guid><dc:creator>Unnati Sharma</dc:creator><description>&lt;p&gt;Thank You David,&lt;br /&gt;For the suggestion but I want to fetch the GPS location from the image in which this plugin will not used&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/151815?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 14:48:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9847c31c-aa04-4cd1-9428-b7e7097cf573</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;YOu can get that information in two ways.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Via Appian mobile when sending the task.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Via plugin&amp;nbsp;&amp;nbsp;&lt;a href="https://community.appian.com/b/appmarket/posts/location-display-field"&gt;Location Display Field&lt;/a&gt;&amp;nbsp;(this one does not require appian mobile)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/151808?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 07:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9c70621-fe1f-46a9-8a6b-a7dacf740c16</guid><dc:creator>Unnati Sharma</dc:creator><description>&lt;p&gt;Hi ,&amp;nbsp;&lt;br /&gt;but I&amp;#39;m not getting the GPS location from this&amp;nbsp;&lt;span&gt;&amp;nbsp;plug-in called &amp;quot;&lt;/span&gt;&lt;a href="/b/appmarket/posts/get-file-metadata"&gt;Get File Metadata&lt;/a&gt;&lt;span&gt;&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Instead of location , i &amp;#39;m getting this whole image metadata&lt;br /&gt;How Can I fetch the image &lt;span&gt;GPS location&lt;/span&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1759215564534v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/113125?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 20:55:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8613f84-9f81-42dd-afd4-23aa9d543532</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Somehow I only just found out today that there&amp;#39;s a plug-in called &amp;quot;&lt;a href="/b/appmarket/posts/get-file-metadata"&gt;Get File Metadata&lt;/a&gt;&amp;quot; (which, for the record, is ONLY for image files, despite its name).&amp;nbsp; I &lt;em&gt;thought&lt;/em&gt; I&amp;#39;d searched on the string &amp;quot;metadata&amp;quot; previously when looking for a plug-in that could read image dimensional information, but somehow I still missed it.&lt;/p&gt;
&lt;p&gt;I can confirm that this plug-in returns GPS values in (text) latitude and longitude, in a JSON-wrapped dictionary.&amp;nbsp; I&amp;#39;ve confirmed this by providing a GPS-tagged picture I took with my own phone.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19/pastedimage1684788826337v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/113114?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 14:37:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c97aa8cd-80e7-464f-bece-c04805531746</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="21457" url="~/discussions/f/plug-ins/28093/metadata-of-a-document/109521#109521"]a plugin can be developed[/quote]
&lt;p&gt;Turns out there is such a plug-in now.&amp;nbsp; It eluded my various search attempts until just now, weirdly.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/get-file-metadata"&gt;community.appian.com/.../get-file-metadata&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109591?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 20:24:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fcce064-732c-4769-a873-11b3a17bb39c</guid><dc:creator>Pramod Kumar Reddy Uppula</dc:creator><description>&lt;p&gt;exactly. I was asking about the geolocation of the image where it was taken.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109521?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 20:21:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6faa674f-e68e-4ba5-9544-2b70d5a442cd</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;Using metadata-extractor libraries, a plugin can be developed in java which returns the metadata information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109498?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 17:34:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d1e48df-a489-475d-916b-b73a464481c9</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Captured geolocation of a task submission doesn&amp;#39;t seem to be what the original poster was asking about.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109497?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 17:32:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8725c021-fb55-4dd3-8b49-a10a830695c7</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;From a first glance it looks like it may have just generated you a placeholder...&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19/pastedimage1678901624718v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109496?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 17:27:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90cfe2e3-7a49-4470-8c1f-633e159a5e49</guid><dc:creator>aditya007</dc:creator><description>&lt;h3 id="capturing-task-submission-location"&gt;You can get these details while working with task (Mobile)&lt;/h3&gt;
&lt;p&gt;When the option&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Capture location on submission (only supported in Appian Mobile)&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is enabled,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;Submission Location&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/23.1/Process_Node_and_Smart_Service_Properties.html#results"&gt;result data&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is available in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Outputs&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;section of the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Data&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;tab.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;Submission Location&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;has the following fields:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;location:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The geographical location from where the task is submitted. This is only available when the task is submitted from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/23.1/Appian_for_Mobile_Devices.html"&gt;Appian Mobile&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;application. It has the following fields:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;latitude:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The latitude, measured in degrees.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;longitude:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The longitude, measured in degrees.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;altitude:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The altitude, measured in meters.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;horizontalAccuracy:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The radius of uncertainty for the location, expressed in meters.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;verticalAccuracy:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The uncertainty in the altitude value of the location, expressed in meters.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;isAvailable:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Indicates whether location is captured for the submitted task. Returns&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;true&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;if location is captured,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;false&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;otherwise.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;errorStatus:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Indicates the reason for missing location. This field is only populated if the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;isAvailable&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;false&lt;/code&gt;. It can have one of the following values:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;NOT_AUTHORIZED:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Indicates that access to location services was denied by the user from the mobile application.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NOT_AVAILABLE:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Indicates that the location could not be obtained.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NOT_SUPPORTED:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Indicates that the task was submitted from web or from an older version of the mobile application.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DISABLED_BY_ADMINISTRATOR:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Indicates that the system administrator has disabled the &amp;#39;Enable Location Capture&amp;#39; option from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/23.1/Appian_Administration_Console.html#mobile"&gt;Appian Administrator Console&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.1/Configuring_the_User_Input_Task.html" rel="noopener noreferrer" target="_blank"&gt;More Details here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109494?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 17:13:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03a084b9-2fd5-46b6-85c3-ff5b6f072184</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;How about using chatGPT for it? Generated this code from it. Not sure how much of it is correct &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f61b.svg" title="Stuck out tongue"&gt;&amp;#x1f61b;&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;import com.appiancorp.plugins.sdk.PluginContext;
import com.appiancorp.plugins.sdk.ui.EmbeddedBrowser;
import com.appiancorp.plugins.sdk.ui.TextValueComponent;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

public class GeoLocationPlugin {

  public static void extractGeoLocation(PluginContext context, String filePath) {
    try {
      File imageFile = new File(filePath);
      BufferedImage image = ImageIO.read(imageFile);
      double latitude = extractLatitude(image);
      double longitude = extractLongitude(image);
      String location = String.format(&amp;quot;%f,%f&amp;quot;, latitude, longitude);
      TextValueComponent locationComponent = context.createTextValueComponent(location);
      EmbeddedBrowser browser = context.createEmbeddedBrowser(locationComponent);
      browser.setWidth(400);
      browser.setHeight(300);
      browser.setUrl(String.format(&amp;quot;https://www.google.com/maps?q=%s&amp;quot;, location));
      context.publishValue(locationComponent);
    } catch (IOException e) {
      context.logError(&amp;quot;Failed to extract geo location from image&amp;quot;, e);
    }
  }

  private static double extractLatitude(BufferedImage image) {
    // TODO: Implement the logic to extract the latitude from the image.
    // This may involve reading the EXIF metadata of the image, if available.
    return 0.0;
  }

  private static double extractLongitude(BufferedImage image) {
    // TODO: Implement the logic to extract the longitude from the image.
    // This may involve reading the EXIF metadata of the image, if available.
    return 0.0;
  }
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109493?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 17:09:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0e38746-80c7-4b05-be60-e5bd6369c183</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;It&amp;#39;d probably be... not *too* difficult, maybe, for someone to write a custom plug-in to do this analysis on relevant files - but that would be its own whole new thing, someone would need to be used to coding plugins (and have a setup that allows for it), etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109492?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 17:08:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59b44d76-8e33-415b-b52d-d018b91cbe50</guid><dc:creator>juergeng0002</dc:creator><description>&lt;p&gt;As Harshit mentioned, there is no possibility to get the metadata direct from the photo.&lt;br /&gt;&lt;br /&gt;But what you can get is the geolocation of the task with which the photo was uploaded.&amp;nbsp;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/23.1/Configuring_the_User_Input_Task.html#capturing-task-submission-location"&gt;https://docs.appian.com/suite/help/23.1/Configuring_the_User_Input_Task.html#capturing-task-submission-location&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So this can be utilized as a work around: Assigning a task where the user has to upload a photo taken with his camera on the spot.&lt;br /&gt;The geolocation&amp;nbsp;will be available as an attribute in the task.&lt;/p&gt;
&lt;p&gt;Maybe that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Metadata of a document</title><link>https://community.appian.com/thread/109490?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 16:56:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18f65b60-706f-4598-af25-6917e085c184</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;AFAIK, there isn&amp;#39;t a way to do that unless you send the image outside Appian via an integration to get these details.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>