OUTPUTFIELD | Examples |
<OUTPUTFIELD | Attribute
Description Table |
alias ="string" name ="string" > No Child Elements </OUTPUTFIELD > | |
Bold: Attribute or child element is
required. |
Attribute | Usage | Back to Top |
---|---|---|
alias | 1 Alias name for field in the
database. Shapefiles use DBF files to store attribute data, and fields in a DBF are limited to 10 characters. Since other databases often allow more than 10 characters, it is possible to end up with two fields in the DBF file with the same name. ArcIMS will not allow shapefiles with duplicate field names to be used. In this scenario, an alias name should be used. | |
name | 2 Name of field in the database. |
Example 1: | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP dynamic="true"> <PROPERTIES> <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-2" directory="<path to USA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="STATES" visible="true" id="States"> <DATASET name="STATES" type="polygon" workspace="shp_ws-2" /> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="255,0,0" /> </SIMPLERENDERER> </LAYER> <LAYER type="featureclass" name="CITIES" visible="true" id="35"> <DATASET name="CITIES" type="point" workspace="shp_ws-2" /> <SIMPLERENDERER> <SIMPLEMARKERSYMBOL color="102,0,102" width="8.0" /> </SIMPLERENDERER> <SPATIALQUERY where="POP1990 > 100000" subfields="CITY_NAME STATE_NAME POP1990 MALES FEMALES" /> <EXTENSION type="extract" > <EXTRACTPARAMS clip="true" > <OUTPUTFILE file="us_cities" > <OUTPUTFIELD name="CITY_NAME" alias="City" /> <OUTPUTFIELD name="STATE_NAME" alias="State" /> <OUTPUTFIELD name="POP1990" alias="Population" /> <OUTPUTFIELD name="MALES" alias="Male_pop" /> <OUTPUTFIELD name="FEMALES" alias="Female_pop" /> </OUTPUTFILE> </EXTRACTPARAMS> </EXTENSION> </LAYER> </MAP> </CONFIG> </ARCXML> |