ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.
-
Upload
joella-mills -
Category
Documents
-
view
220 -
download
0
Transcript of ArcXML Overview Presented by Ashraf Memon Presented by Ashraf Memon.
ArcXML OverviewArcXML Overview
Presented by
Ashraf Memon
Presented by
Ashraf Memon
2
ArcXML References
• ArcXML online reference– http://downloads.esri.com/support/documentati
on/ims_/ArcXML_Guide/Support_files/arcxmlguide.htm
3
ArcXML and ArcIMS
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
5
ArcXML Requests
• GET_IMAGE • GET_FEATURES • GET_GEOCODE • GET_EXTRACT • GET_SERVICE_INFO • GET_RASTER_INFO • GET_LAYOUT • GET_METADATA • PUBLISH_METADATA
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>
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>
8
Lets play with it
• Sandbox information– http://geon07.sdsc.edu/axl/– Service name: US– Layers: states (polygon), interstate (line), cities
(point)
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>
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>
11
Further Reading
• Please refer to the URL and try out different examples– http://downloads.esri.com/support/documentati
on/ims_/ArcXML_Guide/Support_files/arcxmlguide.htm
12
Questions?