<LAYERINFO | Attribute Description Table |
When using ArcMap Server: arcmaptype="string" [group | annotation | multipatch] parentlayerid="string" When using Image and ArcMap Server: (r)id="string" maxscale="string" minscale="string" name="string" type="featureclass | image | acetate" visible="true | false" > When parent element is LAYERINFO and type is acetate: (m)<OBJECT... /> [Image Services only] When parent element is LAYERINFO and type is featureclass for ArcMap Image Services: <FCLASS... /> When parent element is LAYERINFO and type is featureclass for Image or Feature Services: (r)<FCLASS... /> <EXTENSION... /> <GROUPRENDERER... /> <SCALEDEPENDENTRENDERER... /> <SIMPLELABELRENDERER... /> <SIMPLERENDERER... /> <VALUEMAPLABELRENDERER... /> <VALUEMAPRENDERER... /> When parent element is LAYERINFO and type is image: <ENVELOPE... /> <RASTER_RENDERER... /> [Image Services only] When using ArcMap Server: <TOC... /> </LAYERINFO > | |
(r): Attribute or child element is required. (m): Child element can be used multiple times. |
<LAYERINFO type="image" parentlayerid="4" name="wsiearth.tif" id="7" visible="true"></LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="4" name="country" id="6" visible="true"> <FCLASS type="polygon"></FCLASS> </LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="4" name="lakes" id="5" visible="true"> <FCLASS type="polygon"></FCLASS> </LAYERINFO> <LAYERINFO type="image" arcmaptype="group" parentlayerid="1" name="Country Map" id="4" visible="true"></LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="1" name="latlong" id="3" visible="false"> <FCLASS type="line"></FCLASS> </LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="1" name="rivers" id="2" visible="true"> <FCLASS type="line"></FCLASS> </LAYERINFO> <LAYERINFO type="image" arcmaptype="group" name="WorldData" id="1" visible="true"></LAYERINFO> <LAYERINFO type="featureclass" name="cities" id="0" visible="true"> <FCLASS type="point"></FCLASS> </LAYERINFO> |
<LAYERINFO type="featureclass" name="cities" id="0" visible="true"> <FCLASS type="point"></FCLASS> </LAYERINFO> <LAYERINFO type="image" arcmaptype="group" name="WorldData" id="1" visible="true"></LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="1" name="latlong" id="3" visible="false"> <FCLASS type="line"></FCLASS> </LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="1" name="rivers" id="2" visible="true"> <FCLASS type="line"></FCLASS> </LAYERINFO> <LAYERINFO type="image" arcmaptype="group" parentlayerid="1" name="Country Map" id="4" visible="true"></LAYERINFO> <LAYERINFO type="image" parentlayerid="4" name="wsiearth.tif" id="7" visible="true"></LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="4" name="country" id="6" visible="true"> <FCLASS type="polygon"></FCLASS> </LAYERINFO> <LAYERINFO type="featureclass" parentlayerid="4" name="lakes" id="5" visible="true"> <FCLASS type="polygon"></FCLASS> </LAYERINFO> |
<LAYERINFO type="image" parentlayerid="7" name="Default" id="8" visible="true"></LAYERINFO> <LAYERINFO type="image" arcmaptype="annotation" name="BlockgroupsAnno" id="7" visible="true"></LAYERINFO> |
Attribute | Usage |
---|---|
arcmaptype | Returned for ArcMap Image Services when a layer is a group layer, annotation layer, or multipatch layer. |
parentlayerid | Returned for ArcMap Image Services for each layer that belongs to a group in LAYERINFO. This includes annotation layer. Group layers can be nested. |
id | Reference to unique layer ID as defined in map configuration file or ArcMap document. |
maxscale | Maximum scale to display map. Does not apply unless maxscale is set in the service. When scale values are returned as a relative scale, values are not rounded when the map is in decimal degrees. |
minscale | Minimum scale to display map. Does not apply unless minscale is set in the service. When scale values are returned as a relative scale, values are not rounded when the map is in decimal degrees. |
name | Layer name as defined in map configuration file or ArcMap document. |
type | Shows type of layer as defined in map configuration file or ArcMap document. |
visible | Specifies whether or not layer is visible. |
<?xml version="1.0" encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <SERVICEINFO> <ENVIRONMENT> <LOCALE language="en" country="US" /> <UIFONT name="Arial" color="0,0,0" size="12" style="regular" /> <SEPARATORS cs=" " ts=";"/> <CAPABILITIES forbidden="" disabledtypes=""/> <SCREEN dpi="96"/> <IMAGELIMIT pixelcount="1048576" /> </ENVIRONMENT> <PROPERTIES> <FEATURECOORDSYS id="4326"/> <FILTERCOORDSYS id="4326"/> <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <LAYERINFO type="featureclass" visible="true" name="Countries" id="1"> <FCLASS type="polygon"> <FIELD name="AREA" type="8" size="12" precision="3" /> <FIELD name="NAME" type="12" size="40" precision="0" /> <FIELD name="ABBREVNAME" type="12" size="12" precision="0" /> <FIELD name="FIPS_CODE" type="12" size="2" precision="0" /> <FIELD name="WB_CNTRY" type="12" size="3" precision="0" /> <FIELD name="HYPERLINK" type="12" size="60" precision="0" /> <FIELD name="#SHAPE#" type="-98" size="0" precision="0" /> <FIELD name="#ID#" type="-99" size="16" precision="0" /> </FCLASS> </LAYERINFO> <LAYERINFO name="NorthArrow" visible="true" id="NorthArrow"< <OBJECT units="pixel"> <NORTHARROW type="4" coords="20 30" shadow="32,32,32" size="15" angle="0" antialiasing="true" overlap="false" /> </OBJECT> </LAYERINFO> </SERVICEINFO> </RESPONSE> </ARCXML> |