- URL:
- https://<root>/System/OrthomappingTools/GPServer/QueryExifnfo
- Methods:
GET
- Version Introduced:
- 10.8
Description
The Query
operation is a service tool that reads the Exif header metadata from single or multiple images in shared data store. The Exif metadata is usually stored in drone image files. Some common Exif metadata information are GPS locations, camera model, focal length, and more.
You must license your ArcGIS Server as an ArcGIS Image Server to use this resource.
Request parameters
Parameter | Details |
---|---|
(Required) | The input images could be a single image path, list of image paths, or a folder path, or a list of folder paths. The image server setup account should be granted “read” permission to the image file’s location. The image file paths can also be server data store path, see the example below. Example:
Note: /fileShares/drones…... or /cloudStores/S3DataStore…… are the data store items registered with ArcGIS Server. You can see the list of registered data store items on ArcGIS Server manager -> Site -> Data Stores page. |
|
The response format. The default response format is html. Values: |
Note
You can mix image file path and folder path together in an input list.
Response
When you submit a request, the service assigns a unique job ID for the transaction.
Syntax:
{
"jobId": "<unique job identifier>",
"jobStatus": "<job status>"
}
After the initial request is submitted, you can use job
to periodically review the status of the job and messages as described in Checking job status. Once the job has successfully completed, use job
to retrieve the results. To track the status, you can make a request of the following form:
https://<orthomapping tools url>/QueryExifInfo/jobs/<jobId>
When the status of the job request is esri
, you can access the results of the analysis by making a request of the following form:
https://<orthomapping tools url>/QueryExifInfo/jobs/<jobId>/results/outExifInfo?token=<your token>&f=json
The output JSON of all Exif metadata found in each input images. If no Exif metadata found in any of the input image, the output will be an error message “No Exif Info found”.
Parameter | Description |
---|---|
| The output JSON syntax for each image: Example:
|
Example usage
Below is a sample URL for Query
.
http://<orthomapping service tool url>/QueryExifInfo/submitJob?
imageCollection=/fileShares/droneimagefolder/IMG0001.jpg