Long name | ArcGIS Server |
Short name | AGS |
File extension(s) | .ags |
GDB supports ESRI ArcGIS Server connections for read-only access.
An ArcGIS Server provides different types of services. GDB supports map services and image services. A map service is used to obtain backdrop images, which are not appropriate for processing. An image service is used to obtain raster data that can be processed.
ArcGIS Server map services and image services are represented in GDB as a GDB file. When a request is made to the server to get a portion of an image, a temporary file is created on disk and the GDB framework is used to open that file. Maps services produce PNG files and image services produce TIFF files. GDB uses overviews and tiling to enhance raster access performance.
ArcGIS Server services can be accessed using the Remote Data Wzard in CATALYST Professional (see Selecting data from an ArcGIS Server service). From EASI and any other programming environment, ArcGIS Server services can be accessed by constructing a connection string (URI) indicating information such as the server name, service path, service name, connection parameters, and so on. Currently, the format supports specifying one query parameter: a spatial bounding box.
URI style connection strings
ags:///<encoded service string>
ags:///<encoded service string>?<list of query components>
<encoded service string> is the ArcGIS Server service string encoded using x-www-form-urlencoded as specified by http://www.w3.org/TR/html4/interact/forms.html#.
<list of query components> is a list of key value pairs encoded using http://www.w3.org/TR/html4/interact/forms.html#.
Query components
There is currently one acceptable query component.
Query component | Description |
---|---|
bbox | <Bounding box> is used to select a subset of the service. The value is specified as “xmin,ymax,xmax,ymin” where xmin,ymax are the upper-left coordinate numbers of the rectangle and xmax,ymin are the lower-right coordinate numbers of the rectangle. The bbox value is optional; when it is not specified, the entire image service is returned from the server. |
ArcGIS Server URI examples
The following are some examples of ArcGIS Server URIs:
Example | Description |
---|---|
ags:///http://services.arcgisonline.com/ArcGIS/rest/ |
Used to access the “Demographics/USA_1990-2000_Population_Change” map service on the server “services.arcgisonline.com”. |
ags:///http://gisservice.mt.gov/ArcGIS/rest/services/ADLC/ |
Used to access the “ADLC/ADLC_data” map service on the server “gisservice.mt.gov”. |
ags:///http://imagery.arcgisonline.com/ArcGIS/rest/services/ |
Used to access the “LandsatGLS/Agriculture” image service on the server “imagery.arcgisonline.com”. |
ags:///http://rasterevents.arcgisonline.com/ArcGIS/rest/ |
Used to access the “GeoEye_Imagery_Japan_After” image service on the server “rasterevents.arcgisonline.com”. |
ags:///http://imagery.arcgisonline.com/ArcGIS/rest/services/ |
Used to access the “LandsatGLS/Agriculture” image service on the server “imagery.arcgisonline.com” and to request only the rectangle with upper-left coordinate (9.5,10) and lower-right coordinate (10, 9.5). |
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.