MULTIPOINT | Examples |
<MULTIPOINT > No Attributes <COORDS... /> [Or] (m) <POINT... /> [Or] </MULTIPOINT > | |
Bold: Attribute or child element is
required. (m): Child element can be used multiple times. |
Example 1: When in CONFIG and parent element is SPATIALFILTER. | 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="-178.21502685546875" miny="18.924781799316406" maxx="-66.9698486328125" maxy="71.40664672851562" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-4" directory="<path to USA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="STATES" visible="true" id="0"> <DATASET name="STATES" type="polygon" workspace="shp_ws-4" /> <SPATIALQUERY> <SPATIALFILTER relation="area_intersection"> <MULTIPOINT> <COORDS> -113.10 37.99;-110.99 43.88;-95.99 44.88 </COORDS> </MULTIPOINT> </SPATIALFILTER> </SPATIALQUERY> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL fillcolor="127,227,27"/> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When in a GET_IMAGE request. | 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"> <MULTIPOINT> <POINT x="100.33758678275998" y="62.81971775984563" /> </MULTIPOINT> </SPATIALFILTER> </SPATIALQUERY> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL fillcolor="0,255,0" filltype="cross" fillinterval="3" /> </SIMPLERENDERER> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
Example 3: When using MULTIPOINT in an acetate layer. | Back to Top |
<?xml version="1.0"
encoding="UTF-8" ?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" /> <IMAGESIZE width="800" height="600" /> </PROPERTIES> <LAYER type="acetate" name="acetate" id="acetate"> <OBJECT units="database"> <SIMPLEMARKERSYMBOL color="0,0,0" width="20" /> <MULTIPOINT> <POINT x="-120.1079549837513" y="40.99815142335011" /> <POINT x="-110.99468788980437" y="30.88488432940315" /> <POINT x="10.13210788980437" y="30.82488950980315" /> </MULTIPOINT> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
Example 4: When in a FEATURES response if the GET_FEATURES request includes outputmode="xml" and geometry="true". | Back to Top |
<?xml version="1.0"
encoding="UTF8"?> <ARCXML version="1.1"> <RESPONSE> <FEATURES> <FEATURE> <FIELDS NAME="Los Angeles" COUNTRY="US" POPULATION="9763600" CAPITAL="N" #SHAPE#="[Geometry]" #ID#="534" /> <MULTIPOINT> <POINT x="-118.25" y="34" /> </MULTIPOINT> </FEATURE> <FEATURECOUNT count="1" hasmore="false" /> </FEATURES> </RESPONSE> </ARCXML> |
Example 5: When in MARKUP. | Back to Top |
<?xml
version="1.0"?> <MARKUP> <WORKSPACES> <FEATURESERVERWORKSPACE name="ifs_ws-1" url="http://mymachine.domain.com/servlet/com.esri.esrimap.Esrimap" service="usa" /> </WORKSPACES> <MARKUPLAYER layername="Cities" workspace="ifs_ws-1"> <ADDEDFEATURES> <FEATURE featureid="1000000"> <ENVELOPE minx="-118.7325331443268" miny="40.698835264575465" maxx="-118.7325331443268" maxy="40.698835264575465" /> <FIELD name="NAME" precision="0" size="40" type="12" /> <FIELD name="COUNTRY" precision="0" size="12" type="12" /> <FIELD name="POPULATION" precision="0" size="11" type="4" /> <FIELD name="CAPITAL" precision="0" size="1" type="12" /> <FIELD name="#SHAPE#" precision="0" size="0" type="-98"> <FIELDVALUE> <MULTIPOINT> <POINT x="-118.7325331443268" y="40.698835264575465" /> </MULTIPOINT> </FIELDVALUE> </FIELD> </FEATURE> </ADDEDFEATURES> </MARKUPLAYER> </MARKUP> |