ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

12
ArcXML Overview Presented by Ashraf Memon

Transcript of ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

Page 1: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

ArcXML OverviewArcXML Overview

Presented by

Ashraf Memon

Presented by

Ashraf Memon

Page 3: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

3

ArcXML and ArcIMS

Page 4: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

4

ArcXML

• use to define map configuration

• use to define metadata configuration

• use to define ArcIMS request

• use to define ArcIMS response

• http://downloads.esri.com/support/documentation/ims_/ArcXML_Guide/Support_files/elements/introduction.htm

Page 5: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

5

ArcXML Requests

• GET_IMAGE • GET_FEATURES • GET_GEOCODE • GET_EXTRACT • GET_SERVICE_INFO • GET_RASTER_INFO • GET_LAYOUT • GET_METADATA • PUBLISH_METADATA

Page 6: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

6

Sample Request

• <?xml version="1.0" encoding="UTF-8" ?><ARCXML version="1.1">  <REQUEST>    <GET_IMAGE>      <PROPERTIES>        <ENVELOPE minx="-125" miny="25" maxx="-67" maxy="50" />      </PROPERTIES>    </GET_IMAGE>  </REQUEST></ARCXML>

Page 7: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

7

Sample Response

• <?xml version="1.0" encoding="UTF-8" ?><ARCXML version="1.1">  <RESPONSE>     <IMAGE>       <ENVELOPE minx="-87.5" miny="30.0" maxx="-59.5" maxy="50.0" />       <OUTPUT file="C:\ArcIMS\output\usa_image_MYCOMPUTER2953026.jpg" url="http://mycomputer.domain.com/output/usa_image_MYCOMPUTER2953026.jpg" />     </IMAGE>   </RESPONSE> </ARCXML>

Page 8: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

8

Lets play with it

• Sandbox information– http://geon07.sdsc.edu/axl/– Service name: US– Layers: states (polygon), interstate (line), cities

(point)

Page 9: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

9

GET_IMAGE<ARCXML version="1.1"><REQUEST><GET_IMAGE><PROPERTIES><ENVELOPE minx="-122.524464" miny="37.690002" maxx="-122.349621" maxy="37.834193" /><IMAGESIZE width="500" height="350" /></PROPERTIES></GET_IMAGE></REQUEST></ARCXML>

Page 10: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

10

GET_FEATURES

<ARCXML version="1.1"><REQUEST> <GET_FEATURES outputmode="newxml" geometry="false" envelope="true" compact="true"> <LAYER id="states" /> <SPATIALQUERY subfields="#ALL#" > </SPATIALQUERY> </GET_FEATURES></REQUEST></ARCXML>

Page 12: ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.

12

Questions?