COORDS | Examples |
<COORDS > No Attributes No child elements </COORDS > |
Example 1: Used to define a spatial filter in CONFIG or REQUEST. | 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> <PROPERTIES> <ENVELOPE minx="-180.0" miny="-152.9" maxx="180.0" maxy="153.0" /> <LEGEND title="Legend" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/> </WORKSPACES> <LAYER type="Featureclass" name="Cities" visible="true" id="0"> <DATASET name="cities" type="point" workspace="shp_ws-0" /> <SPATIALQUERY> <SPATIALFILTER relation="area_intersection"> <POLYGON> <RING> <COORDS>-133.15 78.07;-131.09 74.70;-128.10 76.38;-128.10 76.38;-133.15 78.07</COORDS> </RING> </POLYGON> </SPATIALFILTER> </SPATIALQUERY> <SIMPLERENDERER> <TRUETYPEMARKERSYMBOL transparency="0.5" glowing="0,255,255" shadow="0,0,0" font="ESRI Cartography" character="252" fontcolor="255,255,0" fontsize="16" angle="90" /> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When in a FEATURES response. | Back to Top |
<?xml version="1.0"
encoding="UTF8"?> <ARCXML version="1.1"> <RESPONSE> <FEATURES> <FEATURE> <ENVELOPE minx="-89.04" miny="15.91" maxx="-87.90" maxy="18.51"/> <FIELDS AREA="8543.292" NAME="Belize" ABBREVNAME="Belize" FIPS_CODE="BH" SHAPE ="[Geometry]" ID ="105" /> <POLYGON> <RING> <COORDS>-88.11 18.51;-88.19 18.32;-87.92 18.40;-87.90 ...-88.11 18.51</COORDS> </RING> </POLYGON> </FEATURE> <FEATURECOUNT count="1" hasmore="false" /> </FEATURES> </RESPONSE> </ARCXML> |