OUTPUT  Examples

Used in:  CONFIG   REQUEST   RESPONSE  
Servers:  Image   Extract   ArcMap  
Parent elements:  EXTRACT   IMAGE   LAYOUT   METADATA_CONFIG   PROPERTIES  

<OUTPUT Attribute Description Table


     When parent element is EXTRACT:
     url ="string"
     file ="string"

     When parent element is IMAGE:
     url ="string"
     file ="string"
     height ="integer"
     type ="gif | jpg | png | png8"
     width ="integer"

     When parent element is LAYOUT:
     url ="string"
     file ="string"
     height ="integer"
     width ="integer"

     When parent element is METADATA_CONFIG and using the Metadata Server:
     baseurl ="string"
     path ="string"

     When parent element is PROPERTIES in a map configuration file using in an Image Service:
     method ="stream"

     When parent element is PROPERTIES in GET_EXTRACT:
     baseurl ="string"
     name ="string"
     path ="string"
     url ="string"

     When parent element is PROPERTIES in GET_IMAGE - ArcMap Image Services:
     baseurl ="string"
     legendbaseurl ="string"
     legendname ="string"
     legendpath ="string"
     legendurl ="string"
     name ="string"
     path ="string"
     type ="bmp | gif | jpg | png | png8 | tif"  [jpg]
     url ="string"

     When parent element is PROPERTIES in GET_IMAGE - Image Services:
     baseurl ="string"
     legendbaseurl ="string"
     legendname ="string"
     legendpath ="string"
     legendurl ="string"
     name ="string"
     path ="string"
     type ="gif | jpg | png | png8"  [jpg]
     url ="string"

     When parent element is PROPERTIES in GET_LAYOUT:
     baseurl ="string"
     name ="string"
     path ="string"
     type ="ai | bmp | emf | eps | gif | jpg | pdf | png8 | png24 | svg | tif"  [jpg]
     url ="string"
>

     No Child Elements
</OUTPUT >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for OUTPUT:


When parent element is EXTRACT:
Attribute Usage Back to Top
file Full pathname and filename for location of ZIP file generated by the ArcIMS Spatial Server. UNC pathnames are valid (\\myComputer\arcims\output).
url URL used by client to retrieve ZIP file.

When parent element is IMAGE:
Attribute Usage Back to Top
file Full pathname and filename for location of map image generated by the ArcIMS Spatial Server. UNC pathnames are valid (\\myComputer\arcims\output).
height Height in pixels. If autoresize is used in a GET_IMAGE request, and the requested map is larger than the image memory limit, then the generated map is resized to fit within the image memory limit. In this case, the height of the output image is included in the IMAGE response.
type Returned when OUTPUT method="stream" in a map configuration file for Image Services. Valid only when the Java Connector or .NET Link is used.
url URL used by client to retrieve map image.
width Width in pixels. If autoresize is used in a GET_IMAGE request, and the requested map is larger than the image memory limit, then the generated map is resized to fit within the image memory limit. In this case, the width of the image is included in the IMAGE response.

When parent element is LAYOUT:
Attribute Usage Back to Top
file Full pathname and filename for location of layout generated by the ArcIMS Spatial Server. UNC pathnames are valid (\\myComputer\arcims\output).
height Height in pixels. If autoresize is used in a GET_IMAGE request, and the requested map is larger than the image memory limit, then the generated map is resized to fit within the image memory limit. In this case, the height of the output image is included in the IMAGE response.
url URL used by client to retrieve layout.
width Width in pixels. If autoresize is used in a GET_IMAGE request, and the requested map is larger than the image memory limit, then the generated map is resized to fit within the image memory limit. In this case, the width of the image is included in the IMAGE response.

When parent element is METADATA_CONFIG and using the Metadata Server:
Attribute Usage Back to Top
baseurl Paired with path. URL of output directory if default filename is generated by ArcIMS. Do not include a filename.
path Paired with baseurl. Directory to output file generated by the Metadata Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).

When parent element is PROPERTIES in a map configuration file using in an Image Service:
Attribute Usage Back to Top
method Specifies that image output for an Image Service should be streamed in Base64 encoded format. Valid only with Image Services used with the Java Connector.

When parent element is PROPERTIES in GET_EXTRACT:
Attribute Usage Back to Top
baseurl Paired with path. URL of output directory if default filename is generated by ArcIMS. Do not include a filename.
name Paired with url. User assigns an output ZIP filename. Use full pathname along with the filename. The filename must match the filename used in url. UNC pathnames are valid (\\myComputer\arcims\output\myfile.zip).
path Paired with baseurl. Directory to output ZIP file generated by Extract Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).
url Paired with name. URL of output ZIP file. Include filename as part of URL. The filename must match the filename used in name.

When parent element is PROPERTIES in GET_IMAGE - ArcMap Image Services:
Attribute Usage Back to Top
baseurl Paired with path. URL of output directory if default filename is generated by ArcIMS. Do not include a filename.
legendbaseurl Paired with legendpath. URL of output directory if default legend filename is generated by ArcIMS. Do not include a filename.
legendname Paired with legendurl. User assigns an output legend filename. Use full pathname along with the filename. The filename must match the filename used in legendurl. UNC pathnames are valid (\\myComputer\arcims\output\mylegend.jpg).
legendpath Paired with legendbaseurl. Directory to output legend file generated by Image Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).
legendurl Paired with legendname. URL of output legend file. Include filename as part of URL. The filename must match the filename used in legendname.
name Paired with url. User assigns an output filename. Use full pathname along with the filename. The filename must match the filename used in url. UNC pathnames are valid (\\myComputer\arcims\output\myfile.jpg).
path Paired with baseurl. Directory to output file generated by the Image Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).
type Output image file type. Can be bmp, gif, jpg, png8 (8 bit), png24 (24 bit), and tif.
url Paired with name. URL of output file. Include filename as part of URL. The filename must match the filename used in name.

When parent element is PROPERTIES in GET_IMAGE - Image Services:
Attribute Usage Back to Top
baseurl Paired with path. URL of output directory if default filename is generated by ArcIMS. Do not include a filename.
legendbaseurl Paired with legendpath. URL of output directory if default legend filename is generated by ArcIMS. Do not include a filename.
legendname Paired with legendurl. User assigns an output legend filename. Use full pathname along with the filename. The filename must match the filename used in legendurl. UNC pathnames are valid (\\myComputer\arcims\output\mylegend.jpg).
legendpath Paired with legendbaseurl. Directory to output legend file generated by Image Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).
legendurl Paired with legendname. URL of output legend file. Include filename as part of URL. The filename must match the filename used in legendname.
name Paired with url. User assigns an output filename. Use full pathname along with the filename. Only filenames with a *.jpg, *.png, or *.gif extension are valid. The filename must match the filename used in url. UNC pathnames are valid (\\myComputer\arcims\output\myfile.jpg).
path Paired with baseurl. Directory to output file generated by the Image Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).
type Output image file type. Can be gif, jpg, png8 (8 bit), png24 (24 bit).
url Paired with name. URL of output file. Include filename as part of URL. The filename must match the filename used in name.

When parent element is PROPERTIES in GET_LAYOUT:
Attribute Usage Back to Top
baseurl Paired with path. URL of output directory if default filename is generated by ArcIMS. Do not include a filename.
name Paired with url. User assigns an output filename. Use full pathname along with the filename. The filename must match the filename used in url. UNC pathnames are valid (\\myComputer\arcims\output\myfile.jpg).
path Paired with baseurl. Directory to output file generated by the ArcMap Server. Do not include the filename. UNC pathnames are valid (\\myComputer\arcims\output).
type Output file type. Can be ai, bmp, emf, eps, gif, jpg, pdf, png8 (8 bit), png24 (24 bit), svg, or tif.
url Paired with name. URL of output file. Include filename as part of URL. The filename must match the filename used in name.
 

Examples for OUTPUT:

Example 1: When in a RESPONSE with OUTPUT restricted. Back to Top
<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <IMAGE>
      <ENVELOPE minx="-80.00000000" miny="-56.00000000" maxx="80.00000000" maxy="56.00000000" />
      <OUTPUT url="http://mymachine.domain.com/maps/WorldMap_MYMACHINE16114829.jpg" />
    </IMAGE>
  </RESPONSE>
</ARCXML>

Example 2: When in a RESPONSE with no restrictions on OUTPUT. Back to Top
<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <IMAGE>
      <ENVELOPE minx="-80.00000000" miny="-56.00000000" maxx="80.00000000" maxy="56.00000000" />
      <OUTPUT file="F:\WorldMap_MYMACHINE16114829.jpg" url="http://mymachine.domain.com/maps/WorldMap_MYMACHINE16114829.jpg" />
    </IMAGE>
  </RESPONSE>
</ARCXML>

Example 3: In a RESPONSE when autoresize is used in GET_IMAGE, and the image has been resized. Back to Top
<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <IMAGE>
      <ENVELOPE minx="-180" miny="-135" maxx="180" maxy="135" />
      <OUTPUT file="c:\arcims\output\world_MYMACHINE8236420.png" url="http://mymachine.domain.com/output/world_MYMACHINE8236420.png" width="591" height="443"/>
    </IMAGE>
  </RESPONSE>
</ARCXML>

Example 4: When in a REQUEST. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
      <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" />
      <IMAGESIZE width="643" height="502" />
      <OUTPUT name="c:\arcims\myfile.jpg" url="http://mymachine.domain.com/myfile.jpg" />
      </PROPERTIES>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Example 5: Request that includes OUTPUT information for both the image and legend. Name/url attribute pairs are used. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
        <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" />
        <IMAGESIZE width="643" height="502" />
        <OUTPUT legendname="c:\arcims\website\legend.jpg" legendurl="http://mymachine.domain.com/website/legend.jpg" name="c:\arcims\website\map.jpg" url="http://mymachine.domain.com/website/map.jpg"  />
        <LEGEND title="Legend" font="Arial" columns="1" width="170" height="300" backgroundcolor="255,255,0" />
      </PROPERTIES>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Example 6: When used in an IMAGE response and image is streamed using Base64 encoding. Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <RESPONSE>
    <IMAGE>
      <ENVELOPE minx="-180" miny="-135" maxx="180" maxy="135" />
      <OUTPUT type="jpg">/9j/4AAQSk ... ZJRgABZ</OUTPUT>
      <LEGEND type="jpg" >/9j/4AAQSkZJRgABAQA ... UDBAQEAZ</LEGEND>
    </IMAGE>
  </RESPONSE>
</ARCXML>