FILTERCOORDSYS

Used in

CONFIG  REQUEST  

Servers

Image  Query  Feature  Extract  ArcMap  

Parent elements

DATAFRAME  PROPERTIES  SPATIALQUERY 

Syntax

<FILTERCOORDSYSAttribute Description Table

     When using ArcMap Server:
     (r)id="integer"
     (r)string="string"

     When using Image, Extract, Query, or Feature Server:
     (r)id="integer"
     (r)string="string"
     datumtransformid="integer"
     datumtransformstring="string"
>

     No Child Elements
</FILTERCOORDSYS >
(r): Attribute or child element is required.

Description

The current coordinate system of filters in the requesting client.

Restrictions


Notes


Attribute Descriptions for FILTERCOORDSYS

AttributeUsage
datumtransformidDatum transformation ID. Use either datumtransformid or datumstransformstring, but not both.
datumtransformstringDatum transformation definition string. Use either datumtransformid or datumstransformstring, but not both.
idProjected or geographic coordinate system ID. Use either id or string, but not both.
stringProjected or geographic coordinate system definition string. Use either id or string, but not both.
Back to top 

Examples for FILTERCOORDSYS

Example 1: Using a coordinate system ID in a map configuration file.
<?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" />
    </ENVIRONMENT>
    <MAP>
      <PROPERTIES>
        <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" />
        <MAPUNITS units="meters" />
        <FEATURECOORDSYS id="4326" />
        <FILTERCOORDSYS id="4326" />
      </PROPERTIES>
      <WORKSPACES>
      <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="Cntry94" visible="true" id="0">
        <DATASET name="Cntry94" type="polygon" workspace="shp_ws-0" />
        <COORDSYS id="4326" />  
        <SIMPLERENDERER>
           <SIMPLEPOLYGONSYMBOL filltransparency="1.0" fillcolor="27,127,127" />
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: Using a coordinate system definition string.
<?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>
      <PROPERTIES>
        <ENVELOPE minx="-15066114" miny="-9182334" maxx="15311928" maxy="8551044" />
        <MAPUNITS units="meters" />
        <FEATURECOORDSYS id="54008"/>
        <FILTERCOORDSYS string="PROJCS[&quot;World_Mollweide&quot;,GEOGCS[&quot;GCS_WGS_1984&quot;,DATUM[&quot;D_WGS_1984&quot;,SPHEROID[&quot;WGS_1984&quot;,6378137,298.257223563]],PRIMEM[&quot;Greenwich&quot;,0],UNIT[&quot;Degree&quot;,0.017453292519943295]],PROJECTION[&quot;Mollweide&quot;],PARAMETER[&quot;False_Easting&quot;,0],PARAMETER[&quot;False_Northing&quot;,0],PARAMETER[&quot;Central_Meridian&quot;,0],UNIT[&quot;Meter&quot;,1]]" />
      </PROPERTIES>
      <WORKSPACES>
      <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="Cntry94" visible="true" id="0">
        <DATASET name="Cntry94" type="polygon" workspace="shp_ws-0" />
        <COORDSYS id="4326" />  
        <SIMPLERENDERER>
           <SIMPLEPOLYGONSYMBOL filltransparency="1.0" fillcolor="27,127,127" />
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 3: When in a GET_IMAGE request.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
        <ENVELOPE minx="-145.0" miny="-30.0" maxx="-125.0" maxy="45.0" />
        <IMAGESIZE width="800" height="600" />
        <FEATURECOORDSYS id="54030"  />
        <FILTERCOORDSYS id="4326" />
      </PROPERTIES>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Back to top