POINT

Used in

CONFIG  REQUEST  RESPONSE  MARKUP  

Servers

Image  Query  Feature  Extract  Geocode  ArcMap  

Parent elements

FIELDVALUE  HOLE  MULTIPOINT  OBJECT  PATH  RING 

Syntax

<POINTAttribute Description Table

     When parent element is FIELDVALUE, MULTIPOINT, PATH, RING, HOLE:
     (r)x="double"
     (r)y="double"

     When parent element is OBJECT:
     (r)coords="double"
>


     When parent element is FIELDVALUE, MULTIPOINT, PATH, RING, HOLE:
          No Child Elements

     When parent element is OBJECT:
     (r)<RASTERMARKERSYMBOL... /> [Or]
     (r)<SIMPLEMARKERSYMBOL... /> [Or]
     (r)<TRUETYPEMARKERSYMBOL... /> [Or]

</POINT >
(r): Attribute or child element is required.

Description

Defines a point based on an x,y coordinate.

Restrictions


Notes


Attribute Descriptions for POINT


When parent element is FIELDVALUE, MULTIPOINT, PATH, RING, HOLE:
AttributeUsage
xx-coordinate for point.
yy-coordinate for point.

When parent element is OBJECT:
AttributeUsage
coordsPoint placement location. Coordinate pair is separated by white space by default. The separator can be changed by using SEPARATORS. If using pixel coordinates, "0 0" is in the lower left corner of the map viewer area.
Back to top 

Examples for POINT

Example 1: When in an acetate layer in CONFIG.
<?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="-141.003006" miny="41.913319" maxx="-52.620281" maxy="83.108322" name="Initial_Extent" />
      <MAPUNITS units="decimal_degrees" />
      <FILTERCOORDSYS id="4326" />
      <FEATURECOORDSYS id="4326"/>
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-16" directory="<path to CANADA ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="province" visible="true" id="0">
      <DATASET name="province" type="polygon" workspace="shp_ws-16" />
      <SIMPLERENDERER>
        <SIMPLEPOLYGONSYMBOL fillcolor="227,127,227" filltype="solid" />
      </SIMPLERENDERER>
      </LAYER>
      <LAYER type="acetate" name="Selectedmark" id="acetate" >
      <OBJECT units="pixel">
          <POINT coords="250 300">
            <SIMPLEMARKERSYMBOL color="0,0,0" />
          </POINT>
      </OBJECT>  
      </LAYER>  
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When in an acetate layer in a GET_IMAGE request.
<?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="acetate" name="acetate" id="acetate">
      <OBJECT units="pixel">
         <POINT coords="100 100" >
            <SIMPLEMARKERSYMBOL color="0,0,0" />
         </POINT>
      </OBJECT>
    </LAYER>
  </GET_IMAGE>
</REQUEST>
</ARCXML>

Example 3: When using POINT and PATH in an acetate layer.
<?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="Selectedmark" id="acetate">
        <OBJECT units="database">
          <SIMPLELINESYMBOL color="0,0,0" width="6" />
          <POLYLINE>
            <PATH>
              <POINT x="-2.1079549837513" y="19.99815142335011" />
              <POINT x="28.99468788980437" y="15.88488432940315" />
              <POINT x="55.99468788980437" y="35.88488432940315" />
            </PATH>
          </POLYLINE>
        </OBJECT>  
      </LAYER>  
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Example 4: When using POINT for one acetate layer and MULTIPOINT for a second acetate layer.
<?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="pixel">
          <POINT coords="100 100" >
            <SIMPLEMARKERSYMBOL color="0,0,0" width="20" />
          </POINT>
        </OBJECT>
      </LAYER>
      <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 5: When in SPATIALFILTER in CONFIG or REQUEST.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<CONFIG>
  <MAP>
    <PROPERTIES>
      <ENVELOPE minx="-180.0" miny="-152.0" maxx="180.0" maxy="153.0" />
      <MAPUNITS units="decimal_degrees" />
      <FILTERCOORDSYS id="4326" />
      <FEATURECOORDSYS id="4326"/>
    </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">
         <MULTIPOINT>
             <POINT x="-128.1079549837513" y="81.99815142335011" />
             <POINT x="-123.99468788980437" y="77.88488432940315" />
             <POINT x="-123.99468788980437" y="77.88488432940315" />
         </MULTIPOINT>
      </SPATIALFILTER>
      </SPATIALQUERY>
      <SIMPLERENDERER>
        <TRUETYPEMARKERSYMBOL font="ESRI Cartography" character="252" />
      </SIMPLERENDERER>
   </LAYER>
</MAP>
</CONFIG>
</ARCXML>

Example 6: When in a FEATURES response.
<?xml version="1.0" encoding="UTF8"?>
<ARCXML version="1.1">
<RESPONSE>
  <FEATURES>
    <FEATURE>
      <FIELDS CUST_ID="4" NAME="Customer  4"  #SHAPE#="[Geometry]" #ID#="3" />
      <POLYLINE>
        <PATH>
          <POINT x="-128.1079549837513" y="81.99815142335011" />
          <POINT x="-123.99468788980437" y="77.88488432940315" />
          <POINT x="-123.99468788980437" y="77.88488432940315" />
      </PATH>
      </POLYLINE>
    </FEATURE>
    <FEATURECOUNT count="1" hasmore="false" />
  </FEATURES>
</RESPONSE>
</ARCXML>

Example 7: When in MARKUP.
<?xml version="1.0"?>
<MARKUP>
  <WORKSPACES>
    <FEATURESERVERWORKSPACE name="ifs_ws-20" url="http://mymachine.domain.com/servlet/com.esri.esrimap.Esrimap" service="world" />
  </WORKSPACES>
  <MARKUPLAYER layername="CNTRY94" workspace="ifs_ws-20">
    <MODIFIEDFEATURES>
      <FEATURE featureid="1000001">
      <ENVELOPE minx="79.7" miny="-59.0" maxx="113.9" maxy="-42.4" />
      <FIELD name="AREA" precision="3" size="12" type="8">
        <FIELDVALUE valuestring="10202" />
      </FIELD>
      <FIELD name="NAME" precision="0" size="40" type="12">
        <FIELDVALUE valuestring="Atlantis" />
      </FIELD>
      <FIELD name="#SHAPE#" precision="0" size="0" type="-98">
        <FIELDVALUE>
          <POLYGON>
            <RING>
            <POINT x="85.61944739721136" y="-42.43367913036056" />
            <POINT x="113.93068023991125" y="-46.33867676383642" />
            <POINT x="80.25007565118213" y="-55.12492143915705" />
            <POINT x="85.61944739721136" y="-42.43367913036056" />
            </RING>
          </POLYGON>
        </FIELDVALUE>
      </FIELD>
      </FEATURE>
    </MODIFIEDFEATURES>
  </MARKUPLAYER>
</MARKUP>

Back to top