PROJECT | Examples |
<PROJECT > No Attributes <ENVELOPE... /> [And/Or] <MULTIPOINT... /> [And/Or] <POLYGON... /> [And/Or] <POLYLINE... /> [And/Or] </PROJECT > |
Example 1: When requesting polygon geometry and GET_PROJECT compact="false". | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <PROJECT> <POLYGON> <RING> <POINT x="7299671.07168535" y="4066542.83493692"/> <POINT x="9826164.6993886" y="6938499.14224935"/> <POINT x="14565383.8243325" y="-1109922.51657444"/> <POINT x="10471572.9951138" y="-502812.563541357"/> <POINT x="7299671.07168535" y="4066542.83493692"/> </RING> </POLYGON> </PROJECT> </RESPONSE> </ARCXML> |
Example 2: When using lines and requesting geometry and GET_PROJECT compact="false". | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <PROJECT> <POLYLINE> <PATH> <POINT x="-195389.808816286" y="2136497.86156695"/> <POINT x="2705600.04204426" y="1697057.92713328"/> <POINT x="4963222.61453536" y="3833573.81778036"/> </PATH> </POLYLINE> </PROJECT> </RESPONSE> </ARCXML> |
Example 3: When using points and requesting geometry and GET_PROJECT compact="true". | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <PROJECT> <MULTIPOINT> <COORDS>-9931991.45433122 4057829.50417443~-9450533.57191588 4681880.81696034~-8124372.03910131 4787185.43507557</COORDS> </MULTIPOINT> </PROJECT> </RESPONSE> </ARCXML> |
Example 4: When requesting an envelope for the geometry and GET_PROJECT envelope="false". | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <PROJECT> <POLYGON> <RING> <POINT x="-16556304.1884991" y="1923025.81844151"/> <POINT x="-11924339.4092425" y="7355814.99533679"/> <POINT x="-4421384.27533712" y="7355814.99533679"/> <POINT x="-6138854.36202775" y="1923025.81844151"/> <POINT x="-16556304.1884991" y="1923025.81844151"/> </RING> </POLYGON> </PROJECT> </RESPONSE> </ARCXML> |
Example 5: When requesting an envelope for the geometry and GET_PROJECT envelope="true". | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <PROJECT> <ENVELOPE minx="-16556304.1884991" miny="1923025.81844151" maxx="-4421384.27533712" maxy="7355814.99533679"/> </PROJECT> </RESPONSE> </ARCXML> |
Example 6: Different types of geometry can be returned in the response to match the geometry that was requested. In this example, three ENVELOPEs were processed. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <PROJECT> <ENVELOPE minx="-16556304.1884991" miny="1923025.81844151" maxx="-4421384.27533712" maxy="7355814.99533679"/> <ENVELOPE minx="-16986803.0823691" miny="-8615707.07187057" maxx="16986803.0823691" maxy="8615707.07187057"/> <ENVELOPE minx="-10510169.5802431" miny="4117966.34947575" maxx="-10415413.2786346" maxy="4296505.55545628"/> </PROJECT> </RESPONSE> </ARCXML> |