SPATIALFILTER  Examples

Used in:  CONFIG   REQUEST  
Parent elements:  SPATIALQUERY  

<SPATIALFILTER Attribute Description Table

     relation ="area_intersection | envelope_intersection"
>

     <ENVELOPE... />  [Or]
     <MULTIPOINT... />  [Or]
     <POLYGON... />  [Or]
     <POLYLINE... />  [Or]
     <BUFFER... />

</SPATIALFILTER >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for SPATIALFILTER:

Attribute Usage Back to Top
relation Describes spatial relation. See Notes section for more details.
 

Examples for SPATIALFILTER:

Example 1: Note in this example that the DATASET fromlayer is "Countries". This refers to the LAYER id in the map configuration file, not the LAYER name. 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" />
    </PROPERTIES>
    <LAYER type="featureclass" name="select layer" visible="true" id="300">
      <DATASET fromlayer="Countries" />
      <SPATIALQUERY>
        <SPATIALFILTER relation="area_intersection">
          <ENVELOPE maxy="30" maxx="30" miny="0" minx="0" />
        </SPATIALFILTER>
      </SPATIALQUERY>
      <SIMPLERENDERER>
        <SIMPLEPOLYGONSYMBOL fillcolor="255,255,255" filltype="cross" />
      </SIMPLERENDERER>
    </LAYER>
  </GET_IMAGE>
</REQUEST>
</ARCXML>